add:库存查看功能

This commit is contained in:
zhangzq
2024-12-07 09:46:29 +08:00
parent 5eed6ea383
commit 520d5ff283
3 changed files with 45 additions and 18 deletions

View File

@@ -133,6 +133,13 @@
and (struct.struct_code LIKE '%${query.search}%'
or struct.struct_name LIKE '%${query.search}%')
</if>
<if test="query.material != null and query.material != ''">
and (material.material_code LIKE '%${query.material}%'
or material.material_name LIKE '%${query.material}%')
</if>
<if test="query.pcsn != null and query.pcsn != ''">
and vm.pcsn = #{query.pcsn}
</if>
<if test="query.vehicle_code != null and query.vehicle_code != ''">
and struct.vehicle_code LIKE '%${query.vehicle_code}%'
</if>

View File

@@ -22,7 +22,7 @@ public class StructattrQuery extends BaseQuery<StIvtStructattr> {
private Boolean has_vehicle = Boolean.FALSE;
private String material;
private Boolean has;
private Boolean assign;
private String pcsn;
@Override
public void paramMapping() {
super.doP.put("search", QParam.builder().k(new String[]{"struct_code"}).type(QueryTEnum.LK).build());