设备维修确认单生成成本时工序必填校验

This commit is contained in:
zhangzhiguo 2025-11-25 15:54:58 +08:00
parent 3e11257a9e
commit ca3aac65ee
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public class MaintenanceackbillCBSCkOp extends AbstractOperationServicePlugIn {
DynamicObject dataEntity = extendedDataEntity.getDataEntity();
DynamicObjectCollection entryentity = dataEntity.getDynamicObjectCollection("entryentity");//设备维修信息
String zcgjMaintype = dataEntity.getString("zcgj_maintype");
if("20".equals(zcgjMaintype)) {
//if("20".equals(zcgjMaintype)) {
if(entryentity == null || entryentity.isEmpty()){
this.addFatalErrorMessage(extendedDataEntity, "设备维修信息分录不能为空!");
}else{
@ -57,7 +57,7 @@ public class MaintenanceackbillCBSCkOp extends AbstractOperationServicePlugIn {
}
}
}
//}
}
}
}