|
|
@ -77,7 +77,7 @@ public class DgGuaranteeLetterAssignUserController { |
|
|
|
@ApiParam(name = "guaranteeLetterUpdateStatusRequest", value = "更新确认状态请求", required = true) |
|
|
|
@ApiParam(name = "guaranteeLetterUpdateStatusRequest", value = "更新确认状态请求", required = true) |
|
|
|
@RequestBody GuaranteeLetterUpdateStatusRequest guaranteeLetterUpdateStatusRequest) { |
|
|
|
@RequestBody GuaranteeLetterUpdateStatusRequest guaranteeLetterUpdateStatusRequest) { |
|
|
|
//如果为驳回操作且无审核意见,抛出异常
|
|
|
|
//如果为驳回操作且无审核意见,抛出异常
|
|
|
|
if (StatusCode.SP_REJECT.equals(guaranteeLetterUpdateStatusRequest.getStatus()) && guaranteeLetterUpdateStatusRequest.getAuditOpinion()==null || guaranteeLetterUpdateStatusRequest.getAuditOpinion().length()==0){ |
|
|
|
if (StatusCode.SP_REJECT.equals(guaranteeLetterUpdateStatusRequest.getStatus()) && guaranteeLetterUpdateStatusRequest.getAuditOpinion()==null && guaranteeLetterUpdateStatusRequest.getAuditOpinion().length()==0){ |
|
|
|
return ResponseResult.FAIL(44444,"请填写审核意见!"); |
|
|
|
return ResponseResult.FAIL(44444,"请填写审核意见!"); |
|
|
|
} |
|
|
|
} |
|
|
|
boolean result = guaranteeLetterAssignUserService.updateGuaranteeLetterStatus(guaranteeLetterUpdateStatusRequest); |
|
|
|
boolean result = guaranteeLetterAssignUserService.updateGuaranteeLetterStatus(guaranteeLetterUpdateStatusRequest); |
|
|
|