Commit 142d64bd by wuwenlong

报工取消报工人所属组织机构限制

parent 8f53492b
...@@ -1074,9 +1074,9 @@ public class HGSCTools { ...@@ -1074,9 +1074,9 @@ public class HGSCTools {
private static void checkAddDate(HGSC008 hgsc008){ private static void checkAddDate(HGSC008 hgsc008){
List<String> orgIdList = UserSessionUtils.getOrgId(); // List<String> orgIdList = UserSessionUtils.getOrgId();
AssertUtils.isEmpty(hgsc008.getGroupCode(),"生产任务班组信息异常,请联系管理员!"); // AssertUtils.isEmpty(hgsc008.getGroupCode(),"生产任务班组信息异常,请联系管理员!");
AssertUtils.isTrue(!orgIdList.contains(hgsc008.getGroupCode()),"非当前任务生产组用户,无法报工此任务!"); // AssertUtils.isTrue(!orgIdList.contains(hgsc008.getGroupCode()),"非当前任务生产组用户,无法报工此任务!");
AssertUtils.isNull(hgsc008.getQuantity(),"报工数量不能为空!"); AssertUtils.isNull(hgsc008.getQuantity(),"报工数量不能为空!");
} }
......
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