Commit fa9f8bba by 王军业

255433565584

1 parent b9205d98
...@@ -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_name()==customer.getCustomer_name()) { if(cus.getCustomer_name().equals(customer.getCustomer_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!