Преглед на файлове

新增客户新增判定是否有效

anderx преди 4 месеца
родител
ревизия
f6d53fd235
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

+ 2 - 1
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -394,7 +394,8 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		user.setUpdateTime(now);
 		user.setUpdateTime(now);
 		user.setSignBills(0);
 		user.setSignBills(0);
 		user.setNewChannel(0);
 		user.setNewChannel(0);
-
+		//新增有效标识
+		user.setPrivateValid(1);
 		if(StringUtils.isNotBlank(in.getIntroduction()))user.setIntroduction(in.getIntroduction());
 		if(StringUtils.isNotBlank(in.getIntroduction()))user.setIntroduction(in.getIntroduction());
 		user.setMobile(in.getContactMobile());
 		user.setMobile(in.getContactMobile());
 		user.setPassword(AFTConstants.INITIALPASSWORD);
 		user.setPassword(AFTConstants.INITIALPASSWORD);