Browse Source

补充客户并领取开发

anderx 10 months ago
parent
commit
d8b246d7ea

+ 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());