库存调整记录查询条件添加

This commit is contained in:
zhou-hongcheng
2026-03-16 10:07:26 +08:00
parent a7674084e4
commit 67e56ba722
2 changed files with 11 additions and 0 deletions
@@ -157,6 +157,11 @@ public class InventoryAdjustmentRecordDTO extends BaseVOEntity {
@Excel(name = "调整后冻结数量")
private BigDecimal freezeAfterQuantity;
@ApiModelProperty("调整动作")
private String adjustAction;
@ApiModelProperty("关联单号")
private String relateNo;
@ApiModelProperty(name = "组织ID集合")
private List<Long> organizationIdList;
@@ -101,6 +101,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="materialCode != null and materialCode != ''">
and a.material_code = #{materialCode}
</if>
<if test="adjustAction != null and adjustAction != ''">
and a.adjust_action = #{adjustAction}
</if>
<if test="relateNo != null and relateNo != ''">
and a.relate_no = #{relateNo}
</if>
<if test="materialName != null and materialName != ''">
and a.material_name like concat('%', #{materialName}, '%')
</if>