排单管理-新增排单Bug修改

This commit is contained in:
liuzhaotian
2024-06-28 10:34:16 +08:00
parent a1639989f1
commit 9d3682a3f9
4 changed files with 12 additions and 7 deletions
@@ -52,6 +52,9 @@ public class PlanSaveReqVO {
@Schema(description = "生产单id与商品id 列表",requiredMode = Schema.RequiredMode.REQUIRED)
private List<Item> itemList;
@Schema(description = "商品数量")
private Long goodsNum;
@Schema(description = "备注")
private String remark;
@@ -15,7 +15,7 @@ public class PlatePage {
@Schema(description = "生产单id")
private Long orderId;
@Schema(description = "商品id")
private String goodsId;
private Long goodsId;
@Schema(description = "板名称")
private String name;
@Schema(description = "商品名称")
@@ -336,6 +336,7 @@
select distinct b.id as orderId,
c.id as goodsId,
c.width,
c.height,
c.thickness,
@@ -359,7 +360,7 @@
#{orderIds}
</foreach>
group by b.id ,c.goods_name,c.width,c.height,c.thickness, c.material, c.color;
group by c.id,b.id ,c.goods_name,c.width,c.height,c.thickness, c.material, c.color;