feat: 仓库搜索条件添加工厂编号

This commit is contained in:
曹鹏飞 2025-10-09 14:07:15 +08:00
parent dda2f7e8ff
commit 0db65a862e
2 changed files with 8 additions and 0 deletions

View File

@ -19,4 +19,9 @@ public class WarehouseSearchQO extends PageQO{
* 启用状态
*/
private Boolean enable;
/**
* 工厂编号
*/
private String factoryNo;
}

View File

@ -16,6 +16,9 @@
<if test="request.name != null and request.name != ''">
and w.name ilike concat('%',#{request.name},'%')
</if>
<if test="request.factoryNo != null and request.factoryNo != ''">
and di.code ilike concat('%',#{request.factoryNo},'%')
</if>
</where>
order by w.id desc
</select>