diff --git a/src/main/java/com/glxp/api/req/thrsys/FilterThrProductsRequest.java b/src/main/java/com/glxp/api/req/thrsys/FilterThrProductsRequest.java index 42507df5..0eab9263 100644 --- a/src/main/java/com/glxp/api/req/thrsys/FilterThrProductsRequest.java +++ b/src/main/java/com/glxp/api/req/thrsys/FilterThrProductsRequest.java @@ -58,5 +58,6 @@ public class FilterThrProductsRequest extends ListPageRequest { private Integer productType ; private String keyWords; + private String bzgg; } diff --git a/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDiDao.xml b/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDiDao.xml index d8d32110..b77d02e3 100644 --- a/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDiDao.xml +++ b/src/main/resources/mybatis/mapper/thrsys/ThrProductsAddDiDao.xml @@ -209,6 +209,9 @@ AND tdi.name like concat('%', #{name}, '%') + + AND tdi.bzgg like concat('%', #{bzgg}, '%') + AND tdi.internalMaterialCode like concat('%', #{internalMaterialCode}, '%') @@ -232,6 +235,7 @@ or tdi.name like concat('%', #{keyWords}, '%') or tdi.registerNo like concat('%', #{keyWords}, '%') or tdi.spec like concat('%', #{keyWords}, '%')) + or tdi.bzgg like concat('%', #{keyWords}, '%') order by tdi.createTime DESC