fix
This commit is contained in:
@@ -87,6 +87,7 @@ public enum ErrorCodeEnum {
|
|||||||
LINE_PAY_IS_NOT_EXIST(500019, "意向金信息不存在!", null),
|
LINE_PAY_IS_NOT_EXIST(500019, "意向金信息不存在!", null),
|
||||||
INTENT_PASS(500020, "审核已通过,请刷新页面!", null),
|
INTENT_PASS(500020, "审核已通过,请刷新页面!", null),
|
||||||
APPOINTMENT_TIME_FAIL(500020, "预约失败,请刷新后再试", null),
|
APPOINTMENT_TIME_FAIL(500020, "预约失败,请刷新后再试", null),
|
||||||
|
LINE_REGION_NOT_EXIST(500021, "线索的所属大区/分公司未填写", null),
|
||||||
|
|
||||||
POINT_NOT_COMPLETE(600000, "铺位信息未填写完全,请完善后生成评估报告", null),
|
POINT_NOT_COMPLETE(600000, "铺位信息未填写完全,请完善后生成评估报告", null),
|
||||||
POINT_NOT_EXIST(600001, "铺位信息不存在", null),
|
POINT_NOT_EXIST(600001, "铺位信息不存在", null),
|
||||||
|
|||||||
@@ -243,7 +243,9 @@ public class IntentAgreementServiceImpl extends LineFlowService implements Inten
|
|||||||
if (!WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_70.getCode().equals(lineInfo.getWorkflowSubStageStatus())) {
|
if (!WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_70.getCode().equals(lineInfo.getWorkflowSubStageStatus())) {
|
||||||
throw new ServiceException(ErrorCodeEnum.LINE_STATUS_NOT_ALLOW_OPERATE);
|
throw new ServiceException(ErrorCodeEnum.LINE_STATUS_NOT_ALLOW_OPERATE);
|
||||||
}
|
}
|
||||||
|
if (Objects.isNull(lineInfo.getRegionId())){
|
||||||
|
throw new ServiceException(ErrorCodeEnum.LINE_REGION_NOT_EXIST);
|
||||||
|
}
|
||||||
lineInfo.setWorkflowStage(WorkflowStageEnum.STORE.getCode());
|
lineInfo.setWorkflowStage(WorkflowStageEnum.STORE.getCode());
|
||||||
lineInfo.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_125.getCode());
|
lineInfo.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_125.getCode());
|
||||||
lineInfo.setDevelopmentManager(lineInfo.getInvestmentManager());
|
lineInfo.setDevelopmentManager(lineInfo.getInvestmentManager());
|
||||||
|
|||||||
Reference in New Issue
Block a user