领料单添加仓库id查询条件

This commit is contained in:
liux 2025-07-11 18:04:04 +08:00
parent 0bf30f59fa
commit 7ad5355f20
2 changed files with 6 additions and 1 deletions

View File

@ -20,8 +20,10 @@ public class FetchMaterialPageDTO {
private List<Long> canteenIdList;
@ApiModelProperty("档口id")
private List<Long> stallIdList;
@ApiModelProperty("领料仓库id")
@ApiModelProperty("领料仓库id集合")
private List<Long> warehouseIdList;
@ApiModelProperty("领料仓库id")
private Long warehouseId;
@ApiModelProperty("提交状态(1待提交2已提交)")
private Integer commitStatus;
@ApiModelProperty("领料状态(1已领2未领)")

View File

@ -223,6 +223,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="content.stallId != null and content.stallId != ''">
AND a.stall_id = #{content.stallId}
</if>
<if test="content.warehouseId != null and content.warehouseId != ''">
AND a.warehouse_id = #{content.warehouseId}
</if>
</where>
order by a.create_time desc
</select>