Commit e7b6d854 by 宋祥

1.生产计划提交后,不允许在操作

parent 46b6a0c5
...@@ -176,6 +176,8 @@ public class ServiceHGSC005A extends ServiceBase { ...@@ -176,6 +176,8 @@ public class ServiceHGSC005A extends ServiceBase {
* @param dbSc005 * @param dbSc005
*/ */
private void checkScheduleData(HGSC005 dbSc005) { private void checkScheduleData(HGSC005 dbSc005) {
AssertUtils.isNotEquals(dbSc005.getCommitStatus(), CommonConstant.YesNo.NO_0,
String.format("生产计划已提交,不允许操作"));
// AssertUtils.isEquals(hgsc005.getIsSchedule(), CommonConstant.YesNo.YES_1, "当前计划已排产,请手动调整计划!"); // AssertUtils.isEquals(hgsc005.getIsSchedule(), CommonConstant.YesNo.YES_1, "当前计划已排产,请手动调整计划!");
} }
......
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