Commit 981a2949 by 王军业

125456415212

1 parent 552aa75b
...@@ -33,7 +33,7 @@ public class CustomerServiceImpl implements CustomerService { ...@@ -33,7 +33,7 @@ public class CustomerServiceImpl implements CustomerService {
if(customerMapper.queryCustomer().contains(customer)) { if(customerMapper.queryCustomer().contains(customer)) {
failCode.setEcode("600"); failCode.setEcode("600");
failCode.setEnote("重复数据"); failCode.setEnote("重复数据");
return failCode; return failCode;
} }
} }
customerMapper.addCustomer(customer); customerMapper.addCustomer(customer);
......
...@@ -30,7 +30,7 @@ public class ProjectServiceImpl implements ProjectService { ...@@ -30,7 +30,7 @@ public class ProjectServiceImpl implements ProjectService {
logger.info("=======================增加项目信息========================"); logger.info("=======================增加项目信息========================");
try { try {
if(projectMapper.queryProject()!=null && projectMapper.queryProject().contains(project)) { if(projectMapper.queryProject()!=null && projectMapper.queryProject().contains(project)) {
failCode.setEcode("600"); failCode.setEcode("600");
failCode.setEnote("重复数据"); failCode.setEnote("重复数据");
return failCode; return failCode;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!