mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 21:52:07 +08:00
order_item表添加字段
This commit is contained in:
+8
@@ -52,6 +52,14 @@ public class OrderItemDO {
|
|||||||
* 包裹 ID
|
* 包裹 ID
|
||||||
*/
|
*/
|
||||||
private Long packageId;
|
private Long packageId;
|
||||||
|
/**
|
||||||
|
* 生产单板件id
|
||||||
|
*/
|
||||||
|
private Long plateId;
|
||||||
|
/**
|
||||||
|
* 五金配件id
|
||||||
|
*/
|
||||||
|
private Long partsId;
|
||||||
/**
|
/**
|
||||||
* 部件数量
|
* 部件数量
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-1
@@ -282,7 +282,7 @@ public class PlanServiceImpl implements PlanService {
|
|||||||
orderItemDOS.add(OrderItemDO.builder()
|
orderItemDOS.add(OrderItemDO.builder()
|
||||||
.planId(req.getPlanId())
|
.planId(req.getPlanId())
|
||||||
.orderId(obj.getOrderId())
|
.orderId(obj.getOrderId())
|
||||||
.dataId(obj.getPlateId())
|
.plateId(obj.getPlateId())
|
||||||
.type(1)
|
.type(1)
|
||||||
.build());
|
.build());
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@
|
|||||||
resultType="com.cf.imes.module.executor.controller.admin.plan.vo.PlateResList">
|
resultType="com.cf.imes.module.executor.controller.admin.plan.vo.PlateResList">
|
||||||
select a.order_id, a.plate_no , a.name, e.material, e.color, e.width, e.height, e.thickness, b.room_id, b.body_id
|
select a.order_id, a.plate_no , a.name, e.material, e.color, e.width, e.height, e.thickness, b.room_id, b.body_id
|
||||||
from order_plate a
|
from order_plate a
|
||||||
left join order_item b on a.id = b.data_id and b.type =1
|
left join order_item b on a.id = b.plate_id
|
||||||
left join order_plan_item c on a.id = c.item_id
|
left join order_plan_item c on a.id = c.item_id
|
||||||
left join order_goods e on e.goods_id = a.goods_id and e.order_id = a.order_id
|
left join order_goods e on e.goods_id = a.goods_id and e.order_id = a.order_id
|
||||||
left join `order` f on f.id = a.order_id
|
left join `order` f on f.id = a.order_id
|
||||||
|
|||||||
Reference in New Issue
Block a user