Merge #26 into master from cc_20260105_partner
feat:测试 * cc_20260105_partner: (8 commits squashed) - feat:加盟商意向书字段调整 - feat:意向审核 - feat:加盟商意向申请 - feat:新增其他备注 - feat:返回信息缺失 - feat:资质阶段审核完成才回成为加盟商 - feat:大区查询阶段状态是6 - feat:测试 Signed-off-by: 正新 <accounts_6964c7bcd2a2c377c5bbd01b@mail.teambition.com> Merged-by: 正新 <accounts_6964c7bcd2a2c377c5bbd01b@mail.teambition.com> CR-link: https://codeup.aliyun.com/692ea314dec569489f6f167c/hangzhou/java/custom_zxjp/change/26
This commit is contained in:
@@ -27,6 +27,7 @@ import org.springframework.stereotype.Repository;
|
||||
import tk.mybatis.mapper.entity.Example;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
@@ -72,7 +73,7 @@ public class LineInfoDAO {
|
||||
return lineInfoMapper.updateByPrimaryKeySelective(param);
|
||||
}
|
||||
|
||||
public Integer updateWorkflowStage(Long lineId, WorkflowSubStageEnum workflowSubStage, WorkflowSubStageStatusEnum workflowSubStageStatus,String userId) {
|
||||
public Integer updateWorkflowStage(Long lineId, WorkflowSubStageEnum workflowSubStage, WorkflowSubStageStatusEnum workflowSubStageStatus,String userId,Boolean flag) {
|
||||
if(Objects.isNull(workflowSubStageStatus)){
|
||||
log.info("更新线索阶段,子阶段 和 子阶段状态不能同时为空");
|
||||
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED);
|
||||
@@ -85,8 +86,10 @@ public class LineInfoDAO {
|
||||
if(StringUtils.isNotEmpty(userId)){
|
||||
lineInfo.setUpdateUserId(userId);
|
||||
}
|
||||
//准加盟商
|
||||
lineInfo.setJoinStatus(CommonConstants.ONE);
|
||||
//资质审核阶段完成 才会到成为加盟商
|
||||
if (flag){
|
||||
lineInfo.setJoinStatus(CommonConstants.ONE);
|
||||
}
|
||||
lineInfo.setPartnerNum(RandomEightCharCodeUtils.getCode());
|
||||
lineInfo.setWorkflowSubStageStatus(workflowSubStageStatus.getCode());
|
||||
return lineInfoMapper.updateByPrimaryKeySelective(lineInfo);
|
||||
@@ -119,11 +122,11 @@ public class LineInfoDAO {
|
||||
return null;
|
||||
}
|
||||
|
||||
public List<LineInfoDO> listByInvestmentManager(String investmentManagerUserId,List<Integer> subStageStatus,String keyword) {
|
||||
if (StringUtils.isBlank(investmentManagerUserId)){
|
||||
return null;
|
||||
public List<LineInfoDO> listByInvestmentManager(String investmentManagerUserId,List<Integer> subStageStatus,String keyword,List<String> authRegionIds) {
|
||||
if (StringUtils.isBlank(investmentManagerUserId)&&CollectionUtils.isEmpty(authRegionIds)){
|
||||
return new ArrayList<>();
|
||||
}
|
||||
List<LineInfoDO> lineInfo = lineInfoMapper.listByInvestmentManager(investmentManagerUserId,subStageStatus,keyword);
|
||||
List<LineInfoDO> lineInfo = lineInfoMapper.listByInvestmentManager(investmentManagerUserId,subStageStatus,keyword, authRegionIds);
|
||||
return lineInfo;
|
||||
}
|
||||
public List<LineInfoDO> listByInterview(String interviewId, Integer interviewType,List<Integer> pendingInterviewStatusList,
|
||||
|
||||
@@ -29,7 +29,10 @@ public interface LineInfoMapper extends Mapper<LineInfoDO> {
|
||||
* @param investmentManagerUserId
|
||||
* @return
|
||||
*/
|
||||
List<LineInfoDO> listByInvestmentManager(@Param("investmentManagerUserId") String investmentManagerUserId, @Param("codes") List<Integer> codes,@Param("keyword")String keyword);
|
||||
List<LineInfoDO> listByInvestmentManager(@Param("investmentManagerUserId") String investmentManagerUserId,
|
||||
@Param("codes") List<Integer> codes,
|
||||
@Param("keyword")String keyword,
|
||||
@Param("authRegionIds") List<String> authRegionIds);
|
||||
|
||||
/**
|
||||
* 面试官待处理
|
||||
|
||||
Reference in New Issue
Block a user