Browse Source

2024.9.18 一、物料成本信息维护(第二版)

二、加工中心功能改造
三、标准工序(第二版)
四、商品组 - 标准工序(第二版)
五、商品组 - Process Time Matrix(第一版)
java8
yuejiayang 1 year ago
parent
commit
9b2c3a9a8f
  1. 8
      src/main/java/com/xujie/sys/modules/pms/service/Impl/ProofingInformationServiceImpl.java

8
src/main/java/com/xujie/sys/modules/pms/service/Impl/ProofingInformationServiceImpl.java

@ -187,21 +187,21 @@ public class ProofingInformationServiceImpl implements ProofingInformationServic
if (data.getProofingId() == null) { if (data.getProofingId() == null) {
data.setProofingId(data.getProofingId()); data.setProofingId(data.getProofingId());
} }
try {
if (data.getDocumentId() == null) { if (data.getDocumentId() == null) {
try {
if (data.getDocumentDefinitionListId().equalsIgnoreCase("-1")) { if (data.getDocumentDefinitionListId().equalsIgnoreCase("-1")) {
proofingInformationMapper.deleteProofingDocument1(data); proofingInformationMapper.deleteProofingDocument1(data);
}else { }else {
proofingInformationMapper.deleteDocumentType(data); proofingInformationMapper.deleteDocumentType(data);
proofingInformationMapper.deleteProofingDocument1(data); proofingInformationMapper.deleteProofingDocument1(data);
} }
} catch (Exception e) {
throw new RuntimeException("删除失败:" + e.getMessage(), e);
}
return R.ok(); return R.ok();
}else { }else {
throw new RuntimeException("该文档类型存在上传的文件!"); throw new RuntimeException("该文档类型存在上传的文件!");
} }
} catch (Exception e) {
throw new RuntimeException("删除失败:" + e.getMessage(), e);
}
} }
/** /**

Loading…
Cancel
Save