Commit 8c9620ae by wancheng

质量巡检单附件删除修复

parent d1102f35
...@@ -119,7 +119,7 @@ public class ServiceHPZL001A extends ServiceEPBase { ...@@ -119,7 +119,7 @@ public class ServiceHPZL001A extends ServiceEPBase {
// 校验质检单是否已处理 // 校验质检单是否已处理
HPZL001 dbZl001 = HPZLTools.getById(fZl001A.getCheckId()); HPZL001 dbZl001 = HPZLTools.getById(fZl001A.getCheckId());
AssertUtils.isTrue(CommonConstant.YesNo.YES_1.equals(dbZl001.getStatus()), AssertUtils.isTrue(CommonConstant.YesNo.YES_1.equals(dbZl001.getStatus()),
String.format("质检单[%s]状态为\"已处理\",不能删除附件")); String.format("质检单[%s]状态为\"已处理\",不能删除附件",dbZl001.getCheckNo()));
DaoUtils.update(HPZL001A.DELETE, fZl001A); DaoUtils.update(HPZL001A.DELETE, fZl001A);
} }
inInfo = this.query(inInfo); inInfo = this.query(inInfo);
......
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