Commit 402dc2b3 by 王军业

125465122545125

1 parent e88461dc
...@@ -31,7 +31,7 @@ public class CustomerServiceImpl implements CustomerService { ...@@ -31,7 +31,7 @@ public class CustomerServiceImpl implements CustomerService {
try { try {
if(customerMapper.queryCustomer()!=null) { if(customerMapper.queryCustomer()!=null) {
for(Customer cus:customerMapper.queryCustomer()) { for(Customer cus:customerMapper.queryCustomer()) {
if(cus.getCustomer_unid()==customer.getCustomer_unid()) { if(cus.getCustomer_name()==customer.getCustomer_name()) {
failCode.setEcode("600"); failCode.setEcode("600");
failCode.setEnote("重复数据"); failCode.setEnote("重复数据");
return failCode; return failCode;
......
...@@ -31,7 +31,7 @@ public class ProjectServiceImpl implements ProjectService { ...@@ -31,7 +31,7 @@ public class ProjectServiceImpl implements ProjectService {
try { try {
if(projectMapper.queryProject()!=null) { if(projectMapper.queryProject()!=null) {
for(Project pro:projectMapper.queryProject()) { for(Project pro:projectMapper.queryProject()) {
if(pro.getProject_unid()==project.getProject_unid()) { if(pro.getProject_name()==project.getProject_name()) {
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!