|
|
@@ -76,6 +76,10 @@ public class AdminOrderApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "订单金额 和 首付金额"));
|
|
|
return res;
|
|
|
}
|
|
|
+ /*if(StringUtils.isBlank(contractPictureUrl)){
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "合同图片"));
|
|
|
+ return res;
|
|
|
+ }*/
|
|
|
orderServiceImpl.updateServiceOrder(orderNo,signFirstPayment,signTotalAmount,contractNo,
|
|
|
orderRemarks,contractPictureUrl);
|
|
|
return res;
|
|
|
@@ -92,7 +96,7 @@ public class AdminOrderApiController extends CertifyApiController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/signServiceOrder", method = RequestMethod.POST)
|
|
|
public Result signServiceOrder(String orderNo,String contractNo,String signFirstPayment,String signTotalAmount,
|
|
|
- String approval,String orderRemarks,String signTime){
|
|
|
+ String approval,String orderRemarks,String signTime,String contractPictureUrl){
|
|
|
Result res = new Result();
|
|
|
if(StringUtils.isBlank(orderNo)){
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "订单编号"));
|
|
|
@@ -106,6 +110,10 @@ public class AdminOrderApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "特批状态"));
|
|
|
return res;
|
|
|
}
|
|
|
+ if(StringUtils.isBlank(contractPictureUrl)){
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "合同图片"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
orderServiceImpl.updateSignServiceOrder(orderNo,contractNo,signFirstPayment,signTotalAmount,approval,orderRemarks,signTime);
|
|
|
return res;
|
|
|
}
|