mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
order_item表添加字段
This commit is contained in:
+8
@@ -52,6 +52,14 @@ public class OrderItemDO {
|
||||
* 包裹 ID
|
||||
*/
|
||||
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()
|
||||
.planId(req.getPlanId())
|
||||
.orderId(obj.getOrderId())
|
||||
.dataId(obj.getPlateId())
|
||||
.plateId(obj.getPlateId())
|
||||
.type(1)
|
||||
.build());
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
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
|
||||
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_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
|
||||
|
||||
Reference in New Issue
Block a user