feat: 仓库搜索条件添加工厂编号
This commit is contained in:
parent
dda2f7e8ff
commit
0db65a862e
|
|
@ -19,4 +19,9 @@ public class WarehouseSearchQO extends PageQO{
|
|||
* 启用状态
|
||||
*/
|
||||
private Boolean enable;
|
||||
|
||||
/**
|
||||
* 工厂编号
|
||||
*/
|
||||
private String factoryNo;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue