|
|
@@ -28,6 +28,8 @@ import com.fs.crm.mapper.CrmCustomerMapper;
|
|
|
import com.fs.his.domain.FsUser;
|
|
|
import com.fs.his.mapper.FsUserMapper;
|
|
|
import com.fs.his.utils.PhoneUtil;
|
|
|
+import com.fs.hisStore.domain.FsUserInformationCollection;
|
|
|
+import com.fs.hisStore.mapper.FsUserInformationCollectionMapper;
|
|
|
import com.fs.qw.domain.*;
|
|
|
import com.fs.qw.mapper.*;
|
|
|
import com.fs.qw.param.*;
|
|
|
@@ -202,6 +204,9 @@ public class QwExternalContactServiceImpl extends ServiceImpl<QwExternalContactM
|
|
|
@Autowired
|
|
|
private ISysDictTypeService dictTypeService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private FsUserInformationCollectionMapper fsUserInformationCollectionMapper;
|
|
|
+
|
|
|
|
|
|
Logger logger = LoggerFactory.getLogger(getClass());
|
|
|
|
|
|
@@ -4745,6 +4750,16 @@ public class QwExternalContactServiceImpl extends ServiceImpl<QwExternalContactM
|
|
|
c.setId(qwExternalContact.getId());
|
|
|
c.setFsUserId(qwExternalContact.getFsUserId());
|
|
|
// adHtmlClickLogService.upload(c.getState(), AdUploadType.REGISTERED, e -> c.setUploadRegisterStatus(1));
|
|
|
+ if (qwExternalContact.getFsUserId() != null) {
|
|
|
+ FsUserInformationCollection collection = fsUserInformationCollectionMapper.selectFsUserInformationCollectionByUserId(qwExternalContact.getFsUserId());
|
|
|
+ if (collection != null) {
|
|
|
+ FsUserInformationCollection map = new FsUserInformationCollection();
|
|
|
+ map.setId(collection.getId());
|
|
|
+ map.setUserId(qwExternalContact.getFsUserId());
|
|
|
+ fsUserInformationCollectionMapper.updateFsUserInformationCollection(map);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
qwExternalContactMapper.updateQwExternalContact(c);
|
|
|
|
|
|
//换绑营期中的
|