1.审批通过选战区

2.查数据时回显大区regionId
This commit is contained in:
guohb
2024-06-04 09:41:38 +08:00
parent c9ed6dc779
commit afa5cd4146
4 changed files with 8 additions and 0 deletions

View File

@@ -26,4 +26,7 @@ public class AuditPassRequest {
@ApiModelProperty("通过原因")
private String passReason;
@ApiModelProperty("战区regionId,只在意向加盟申请阶段使用")
private Long fightRegion;
}

View File

@@ -68,6 +68,8 @@ public class PartnerBaseInfoVO {
@ApiModelProperty("公开拒绝原因")
private String rejectPublicReason;
@ApiModelProperty("大区regionId")
private Long bigRegionId;

View File

@@ -142,6 +142,7 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
}
response.setRejectPublicReason(lineAuditInfoDO.getRejectPublicReason());
}
response.setBigRegionId(byLineId.getRegionId());
return response;
}
}

View File

@@ -47,6 +47,8 @@ public abstract class LineFlowService {
if(!lineInfo.getWorkflowSubStage().equals(request.getWorkflowSubStage())){
throw new ServiceException(ErrorCodeEnum.WORK_FLOW_STAGE_PASS_ERROR);
}
lineInfo.setRegionId(request.getFightRegion());
Integer updateFlag = lineInfoDAO.updateLineInfo(lineInfo);
String partnerId = lineInfo.getPartnerId();
LineAuditInfoDO auditInfo = new LineAuditInfoDO();
auditInfo.setLineId(request.getLineId());