Browse Source

新增转移等操作修改转移时间

anderx 1 year ago
parent
commit
7bcfc8aa4f

+ 2 - 3
src/main/java/com/goafanti/customer/service/impl/UserClueServiceImpl.java

@@ -233,7 +233,6 @@ public class UserClueServiceImpl extends BaseMybatisDao<UserMapper> implements U
         if (in.getType()==0){
             user.setAid(in.getTransferId());
             user.setClueProcess(1);
-            user.setClueTransferTime(date);
             type=23;
         }else if (in.getType()==1){
             user.setClueProcess(2);
@@ -242,13 +241,12 @@ public class UserClueServiceImpl extends BaseMybatisDao<UserMapper> implements U
             aid=user.getClueAid();
         }else if (in.getType()==2){
             user.setClueProcess(3);
-            user.setTransferTime(date);
             userMapper.update(user);
             type=25;
         }else if (in.getType()==3){
             user.setClueProcess(4);
             user.setShareType(0);
-            user.setTransferTime(date);
+
             type=26;
             if (userLockReleaseMapper.selectByUidGetCount(aid,user.getId())==0){
                 UserLockRelease ulr=new UserLockRelease();
@@ -262,6 +260,7 @@ public class UserClueServiceImpl extends BaseMybatisDao<UserMapper> implements U
             }
             organizationContactBookMapper.updateAdmin(user.getId(),TokenManager.getAdminId());
         }
+        user.setTransferTime(date);
         userMapper.update(user);
         addUserTransferLog(user,type,aid);
     }