mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
排单管理-新增排单Bug修改
This commit is contained in:
+3
@@ -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;
|
||||
|
||||
|
||||
+1
-1
@@ -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 = "商品名称")
|
||||
|
||||
+2
-1
@@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
+6
-5
@@ -20,20 +20,21 @@ public interface RemainPlateMapper extends BaseMapperX<RemainPlateDO> {
|
||||
|
||||
default PageResult<RemainPlateDO> selectPage(RemainPlatePageReqVO reqVO) {
|
||||
return selectPage(reqVO, new LambdaQueryWrapperX<RemainPlateDO>()
|
||||
.eqIfPresent(RemainPlateDO::getPlanId, reqVO.getPlanId())
|
||||
.likeIfPresent(RemainPlateDO::getId,reqVO.getId() != null ? reqVO.getId().toString() : null)
|
||||
.eqIfPresent(RemainPlateDO::getPlanId, reqVO.getPlanId() != null ? reqVO.getPlanId().toString() : null)
|
||||
.eqIfPresent(RemainPlateDO::getInitPlanId, reqVO.getInitPlanId())
|
||||
.eqIfPresent(RemainPlateDO::getStatus, reqVO.getStatus())
|
||||
.eqIfPresent(RemainPlateDO::getGoodsId, reqVO.getGoodsId())
|
||||
.eqIfPresent(RemainPlateDO::getIsCutting, reqVO.getIsCutting())
|
||||
.likeIfPresent(RemainPlateDO::getName, reqVO.getName())
|
||||
.eqIfPresent(RemainPlateDO::getMaterial, reqVO.getMaterial())
|
||||
.eqIfPresent(RemainPlateDO::getColor, reqVO.getColor())
|
||||
.likeIfPresent(RemainPlateDO::getMaterial, reqVO.getMaterial())
|
||||
.likeIfPresent(RemainPlateDO::getColor, reqVO.getColor())
|
||||
.eqIfPresent(RemainPlateDO::getThickness, reqVO.getThickness())
|
||||
.eqIfPresent(RemainPlateDO::getBrand, reqVO.getBrand())
|
||||
.eqIfPresent(RemainPlateDO::getPlaceStyle, reqVO.getPlaceStyle())
|
||||
.eqIfPresent(RemainPlateDO::getStore, reqVO.getStore())
|
||||
.likeIfPresent(RemainPlateDO::getStore, reqVO.getStore())
|
||||
.eqIfPresent(RemainPlateDO::getCount, reqVO.getCount())
|
||||
.eqIfPresent(RemainPlateDO::getRemark, reqVO.getRemark())
|
||||
.likeIfPresent(RemainPlateDO::getRemark, reqVO.getRemark())
|
||||
.eqIfPresent(RemainPlateDO::getUseType, reqVO.getUseType())
|
||||
.eqIfPresent(RemainPlateDO::getOrganId, reqVO.getOrganId())
|
||||
.eqIfPresent(RemainPlateDO::getOutLineJson, reqVO.getOutLineJson())
|
||||
|
||||
Reference in New Issue
Block a user