Commit 380c1de1 by lcx

bug修改-自动获取sheet类型

parent dd3fa5b6
...@@ -64,16 +64,6 @@ ...@@ -64,16 +64,6 @@
相对 相对
</summary> </summary>
</member> </member>
<member name="P:Performance.DtoModels.AppSettings.WebapiUrl.ImportFirst">
<summary>
上传首次模板文件
</summary>
</member>
<member name="P:Performance.DtoModels.AppSettings.WebapiUrl.ExtractData">
<summary>
抽取数据地址
</summary>
</member>
<member name="P:Performance.DtoModels.AppSettings.WebapiUrl.ImportFile"> <member name="P:Performance.DtoModels.AppSettings.WebapiUrl.ImportFile">
<summary> <summary>
上传文件地址 上传文件地址
......
...@@ -318,7 +318,7 @@ public bool QueryHosConfigs(int moduleId, out int sheetType) ...@@ -318,7 +318,7 @@ public bool QueryHosConfigs(int moduleId, out int sheetType)
if (module == null) if (module == null)
throw new PerformanceException("绩效模板不存在,请重新选择!"); throw new PerformanceException("绩效模板不存在,请重新选择!");
sheetType = (int)SheetType.Income; sheetType = (int)module.SheetType;
//if (module.SheetType != (int)SheetType.Income) //if (module.SheetType != (int)SheetType.Income)
// throw new PerformanceException("当前模板不能进行考核项目自动添加"); // throw new PerformanceException("当前模板不能进行考核项目自动添加");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment