ソースを参照

补充客户并领取开发

anderx 11 ヶ月 前
コミット
d8b246d7ea
共有1 個のファイルを変更した8 個の追加0 個の削除を含む
  1. 8 0
      src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

+ 8 - 0
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -3078,6 +3078,14 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		oi.setContacts(in.getContacts());
 		oi.setContactMobile(in.getContactMobile());
 		oi.setLocationProvince(in.getProvince());
+		organizationContactBookMapper.updateSubContact(in.getId());
+		OrganizationContactBook ocb=new OrganizationContactBook();
+		ocb.setId(UUID.randomUUID().toString());
+		ocb.setUid(in.getId());
+		ocb.setName(in.getContacts());
+		ocb.setMobile(in.getContactMobile());
+		ocb.setMajor(1);
+		organizationContactBookMapper.insert(ocb);
 		oi.setLocationCity(in.getCity());
 		oi.setLocationArea(in.getArea());
 		oi.setIntendedProject(in.getIntendedProject());