north-glass-erp/src/main/java/com/example/erp/service/sd/CustomerService.java
@@ -44,9 +44,11 @@ try { Customer customer = JSONObject.parseObject(JSONObject.toJSONString(object.get("customer")), Customer.class); if(customer!=null){ if (customer.getId()!=null){ if (customer.getId()!=null && customer.getId()!=0){ System.out.println(111); customerMapper.updateCustomer(customer); }else{ System.out.println(222); customerMapper.insertCustomer(customer); }