支持跳过
This commit is contained in:
@@ -13,6 +13,13 @@ public interface LinePayService {
|
||||
|
||||
LinePayVO getLinePayInfo(Long lineId,Integer businessType,Long shopId);
|
||||
|
||||
/**
|
||||
* 跳过缴纳意向金
|
||||
* @param lineId
|
||||
* @return
|
||||
*/
|
||||
Boolean skipPay(Long lineId);
|
||||
|
||||
Long submitPayInfo(LinePaySubmitRequest followLog, PartnerUserInfoVO partnerUser);
|
||||
|
||||
|
||||
|
||||
@@ -75,6 +75,18 @@ public class LinePayServiceImpl implements LinePayService {
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean skipPay(Long lineId) {
|
||||
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(lineId);
|
||||
if (lineInfo == null) {
|
||||
throw new ServiceException(ErrorCodeEnum.LINE_ID_IS_NOT_EXIST);
|
||||
}
|
||||
lineInfo.setWorkflowSubStage(WorkflowSubStageEnum.SIGN_INTENT_AGREEMENT.getCode());
|
||||
lineInfo.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_70.getCode());
|
||||
lineInfoDAO.insertOrUpdate(lineInfo);
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Long submitPayInfo(LinePaySubmitRequest request, PartnerUserInfoVO partnerUser) {
|
||||
|
||||
Reference in New Issue
Block a user