feat:待缴费才能操作
This commit is contained in:
@@ -403,6 +403,9 @@ public class LinePayServiceImpl implements LinePayService {
|
|||||||
// map);
|
// map);
|
||||||
// }
|
// }
|
||||||
if (PayBusinessTypeEnum.INTENT_MONEY.getCode().equals(request.getPayBusinessType())) {
|
if (PayBusinessTypeEnum.INTENT_MONEY.getCode().equals(request.getPayBusinessType())) {
|
||||||
|
if (!WorkflowSubStageStatusEnum.PAY_DEPOSIT_45.getCode().equals(lineInfo.getWorkflowSubStageStatus())){
|
||||||
|
throw new ServiceException(ErrorCodeEnum.SHOP_STAGE_NOT_OPERATE);
|
||||||
|
}
|
||||||
lineInfo.setWorkflowSubStage(WorkflowSubStageEnum.PAY_DEPOSIT.getCode());
|
lineInfo.setWorkflowSubStage(WorkflowSubStageEnum.PAY_DEPOSIT.getCode());
|
||||||
lineInfo.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.PAY_DEPOSIT_50.getCode());
|
lineInfo.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.PAY_DEPOSIT_50.getCode());
|
||||||
lineInfoDAO.insertOrUpdate(lineInfo);
|
lineInfoDAO.insertOrUpdate(lineInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user