|
|
@@ -10,6 +10,7 @@ import com.goafanti.common.utils.StringUtils;
|
|
|
import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
import com.goafanti.core.mybatis.page.Pagination;
|
|
|
import com.goafanti.core.shiro.token.TokenManager;
|
|
|
+import com.goafanti.customer.service.CustomerService;
|
|
|
import com.goafanti.permission.bo.RoleBo;
|
|
|
import com.goafanti.permission.bo.RolePermissionBo;
|
|
|
import com.goafanti.permission.service.NewRoleService;
|
|
|
@@ -41,7 +42,7 @@ public class NewRoleServiceImpl extends BaseMybatisDao<RoleMapper> implements Ne
|
|
|
@Autowired
|
|
|
private TOrderMidMapper tOrderMidMapper;
|
|
|
@Autowired
|
|
|
- private PublicExamineMapper publicExamineMapper;
|
|
|
+ private CustomerService customerService;
|
|
|
@Autowired
|
|
|
private UserTransferLogMapper userTransferLogMapper;
|
|
|
@Autowired
|
|
|
@@ -191,8 +192,8 @@ public class NewRoleServiceImpl extends BaseMybatisDao<RoleMapper> implements Ne
|
|
|
userBusinessMapper.updateDimissionTransfer(aid,transferId);
|
|
|
organizationContactBookMapper.updateDimissionTransfer(aid,transferId);
|
|
|
//所有客户转交给接受者
|
|
|
+ transferUserUpdateExamine(aid,transferId);
|
|
|
userMapper.updateDimissionTransfer(aid,transferId);
|
|
|
- publicExamineMapper.updateAidByAid(aid,transferId);
|
|
|
}else if (s==roleResources.QDYW.getCode()) {
|
|
|
userTransferLogMapper.insertUserLockLog(aid,transferId,date);
|
|
|
patentNewMapper.updateAdmin(aid,transferId);
|
|
|
@@ -215,11 +216,15 @@ public class NewRoleServiceImpl extends BaseMybatisDao<RoleMapper> implements Ne
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @param aid 离职id
|
|
|
+ * @param transferId 转交id
|
|
|
+ */
|
|
|
+ private void transferUserUpdateExamine(String aid, String transferId) {
|
|
|
+ List<String> uids=userMapper.selectBelongByaid(aid);
|
|
|
+ customerService.transferUser(uids,transferId,null);
|
|
|
+ }
|
|
|
|
|
|
|
|
|
@Override
|