orders表parent_no改为parent_id

This commit is contained in:
gaoqr
2026-04-08 12:02:46 +08:00
parent 019fb9a146
commit 72740312c9
2 changed files with 9 additions and 2 deletions
@@ -174,4 +174,11 @@ public class PlateController {
public CommonResult<OrderWechatMiniProgramCadInfoRespVO> getOrderInfoByPlateNo(@PathVariable String plateNo) {
return success(plateService.getOrderInfoByPlateNo(plateNo));
}
@PostMapping("/wechat/miniprogram/cadview/order/info/{plateNo:[A-Fa-f0-9]{6}[A-Za-z0-9]{11}}")
@Operation(summary = "微信小程序根据板编号获取单板所属订单信息")
@Parameter(name = "plateNo", description = "板编号", required = true)
public CommonResult<OrderWechatMiniProgramCadInfoRespVO> getOrderDetailsByPlateNo(@PathVariable String plateNo) {
return success(plateService.getOrderInfoByPlateNo(plateNo));
}
}
@@ -105,7 +105,7 @@
o.id,
o.api_order_id,
o.customer,
o.parent_no,
o.parent_id,
o.organ_id,
o.status,
o.order_date,
@@ -133,7 +133,7 @@
o.id,
o.api_order_id,
o.customer,
o.parent_no,
o.parent_id,
o.organ_id,
o.status,
o.order_date,