|
@@ -11,6 +11,7 @@ import com.qmth.sop.business.bean.dto.RoleDto;
|
|
|
import com.qmth.sop.business.bean.dto.SopCrmInfo;
|
|
|
import com.qmth.sop.business.bean.dto.UserArchivesDto;
|
|
|
import com.qmth.sop.business.bean.params.ServiceScopeParam;
|
|
|
+import com.qmth.sop.business.bean.params.TBCrmDetailParam;
|
|
|
import com.qmth.sop.business.bean.params.TBCrmParam;
|
|
|
import com.qmth.sop.business.bean.result.*;
|
|
|
import com.qmth.sop.business.entity.*;
|
|
@@ -192,7 +193,6 @@ public class TBCrmServiceImpl extends ServiceImpl<TBCrmMapper, TBCrm> implements
|
|
|
areaUpdateWrapper.lambda().in(TBCrm::getId, similarCrmIdList);
|
|
|
}
|
|
|
this.update(areaUpdateWrapper);
|
|
|
-
|
|
|
break;
|
|
|
case BY_PERSON:
|
|
|
// 直接指定大区经理
|
|
@@ -222,6 +222,13 @@ public class TBCrmServiceImpl extends ServiceImpl<TBCrmMapper, TBCrm> implements
|
|
|
tbCrm.setLeadId(defaultLeadId);
|
|
|
this.updateById(tbCrm);
|
|
|
}
|
|
|
+
|
|
|
+ //研究生创建一条sop
|
|
|
+ if (tbService.getType().equals(ProductTypeEnum.CLOUD_MARK)) {
|
|
|
+ TBCrmDetailParam param = new TBCrmDetailParam();
|
|
|
+ param.setCrmNo(tbCrm.getCrmNo());
|
|
|
+ tbCrmDetailService.sopAutoCloudMarkCreate(param);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@Transactional
|