Browse Source

修改包名

master
刘忱 2 years ago
parent
commit
a78d9d0913
  1. 6
      win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/util/JobUtils.java

6
win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/until/job/JobUtils.java → win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/util/JobUtils.java

@ -1,4 +1,4 @@
package com.win.module.wms.until.job; package com.win.module.wms.util;
import cn.hutool.core.exceptions.UtilException; import cn.hutool.core.exceptions.UtilException;
import cn.hutool.json.JSONObject; import cn.hutool.json.JSONObject;
@ -278,7 +278,7 @@ public class JobUtils {
} }
} }
} }
if (ifInType == true) { if (ifInType) {
return true; return true;
} else { } else {
throw new UtilException("物料类型" + pitemCode + "的类型" + itembasicDO.getType() + " 与业务类型" + businesstypeDO.getName() throw new UtilException("物料类型" + pitemCode + "的类型" + itembasicDO.getType() + " 与业务类型" + businesstypeDO.getName()
@ -296,7 +296,7 @@ public class JobUtils {
ifInType = true; ifInType = true;
} }
} }
if (ifInType == true) { if (ifInType) {
return true; return true;
} else { } else {
throw new UtilException("物料类型" + pitemType + " 与业务类型" + businesstypeDO.getName() + "的物料类型" + businesstypeDO.getItemTypes() +"不一致"); throw new UtilException("物料类型" + pitemType + " 与业务类型" + businesstypeDO.getName() + "的物料类型" + businesstypeDO.getItemTypes() +"不一致");
Loading…
Cancel
Save