Commit 2f085937 by 王军业

1564321541215

1 parent 111d7fdb
......@@ -60,7 +60,9 @@ public class ContractServiceImpl implements ContractService {
// 根据附件unid集合更新附件表信息
Appendix appendix = new Appendix();
if (contractMapper.queryOne(contractVo.getContract_unid()) != null) {
contractMapper.updateOne(contractVo);
failCode.setEcode("600");
failCode.setEnote("已存在");
return failCode;
} else {
contractVo.setIs_delete(false);
contractMapper.addOne(contractVo);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!