fix:加盟阶段bug处理

This commit is contained in:
suzhuhong
2026-01-20 10:32:57 +08:00
parent c28515123a
commit 399e46033f

View File

@@ -80,18 +80,18 @@ public class BankServiceImpl extends LineFlowService implements BankService {
@Override
protected Boolean auditPass(Long auditId, LineInfoDO lineInfo,String userId) {
// WorkflowSubStageEnum workflowSubStageEnum = WorkflowSubStageEnum.getWorkflowSubStageEnum(lineInfo.getWorkflowSubStage());
// WorkflowSubStageEnum nextStage = workflowSubStageEnum.getNextStage();
// //更新线索阶段
// lineInfoDAO.updateWorkflowStage(lineInfo.getId(), nextStage, nextStage.getInitStatus(), userId);
// String key = MessageFormat.format(CommonConstants.AMOUNT_KEY, eid, lineInfo.getId());
// redisUtilPool.delKey(key);
// HashMap<String, String> map = new HashMap<>();
// map.put("partnerUsername",lineInfo.getUsername());
// map.put("partnerMobile",lineInfo.getMobile());
// commonService.sendQWMessage(Collections.singletonList(lineInfo.getInvestmentManager()),
// MessageEnum.MESSAGE_6,
// map);
WorkflowSubStageEnum workflowSubStageEnum = WorkflowSubStageEnum.getWorkflowSubStageEnum(lineInfo.getWorkflowSubStage());
WorkflowSubStageEnum nextStage = workflowSubStageEnum.getNextStage();
//更新线索阶段
lineInfoDAO.updateWorkflowStage(lineInfo.getId(), nextStage, nextStage.getInitStatus(), userId,Boolean.FALSE);
String key = MessageFormat.format(CommonConstants.AMOUNT_KEY, eid, lineInfo.getId());
redisUtilPool.delKey(key);
HashMap<String, String> map = new HashMap<>();
map.put("partnerUsername",lineInfo.getUsername());
map.put("partnerMobile",lineInfo.getMobile());
commonService.sendQWMessage(Collections.singletonList(lineInfo.getInvestmentManager()),
MessageEnum.MESSAGE_6,
map);
return Boolean.TRUE;
}