Commit 402dc2b3 by 王军业

125465122545125

1 parent e88461dc
......@@ -31,7 +31,7 @@ public class CustomerServiceImpl implements CustomerService {
try {
if(customerMapper.queryCustomer()!=null) {
for(Customer cus:customerMapper.queryCustomer()) {
if(cus.getCustomer_unid()==customer.getCustomer_unid()) {
if(cus.getCustomer_name()==customer.getCustomer_name()) {
failCode.setEcode("600");
failCode.setEnote("重复数据");
return failCode;
......
......@@ -31,7 +31,7 @@ public class ProjectServiceImpl implements ProjectService {
try {
if(projectMapper.queryProject()!=null) {
for(Project pro:projectMapper.queryProject()) {
if(pro.getProject_unid()==project.getProject_unid()) {
if(pro.getProject_name()==project.getProject_name()) {
failCode.setEcode("600");
failCode.setEnote("重复数据");
return failCode;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!