|
|
|
@ -172,19 +172,29 @@ public class OrderInfoController { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* |
|
|
|
|
* @param bzdh |
|
|
|
|
* @param orderInfoId |
|
|
|
|
* @param fpqqlsh |
|
|
|
|
* @param xhfNsrsbh |
|
|
|
|
* @param force 是否强制补录,0 不强制,1是强制补录 |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@PostMapping("/updateBillNumber") |
|
|
|
|
@ApiOperation(value = "发票列表", notes = "发票列表修改报账单号") |
|
|
|
|
@SysLog(operation = "发票列表", operationDesc = "补录报账单号", key = "订单发票管理") |
|
|
|
|
public R updateBillNumber(@RequestParam("bzdh") String bzdh, |
|
|
|
|
@RequestParam("orderInfoId") String orderInfoId, |
|
|
|
|
@RequestParam("fpqqlsh")String fpqqlsh, |
|
|
|
|
@RequestParam("xhfNsrsbh")String xhfNsrsbh |
|
|
|
|
@RequestParam("xhfNsrsbh")String xhfNsrsbh, |
|
|
|
|
@RequestParam("force") String force |
|
|
|
|
) { |
|
|
|
|
if(StringUtils.isBlank(bzdh)||StringUtils.isBlank(orderInfoId)){ |
|
|
|
|
return R.error("请求参数有误"); |
|
|
|
|
} |
|
|
|
|
try { |
|
|
|
|
orderInfoService.updateBillNumber(bzdh, orderInfoId,fpqqlsh,xhfNsrsbh); |
|
|
|
|
orderInfoService.updateBillNumber(bzdh, orderInfoId,fpqqlsh,xhfNsrsbh,force); |
|
|
|
|
|
|
|
|
|
return R.ok(); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|