Browse Source

2025-11-11

优化
master
fengyuan_yang 2 months ago
parent
commit
27c74c6692
  1. 2
      src/main/java/com/gaotao/modules/pms/data/QcPartAttributeData.java
  2. 4
      src/main/resources/mapper/pms/QcBaseInfoMapper.xml

2
src/main/java/com/gaotao/modules/pms/data/QcPartAttributeData.java

@ -104,4 +104,6 @@ public class QcPartAttributeData extends QueryPage {
private String customerID; private String customerID;
// 客户名称 // 客户名称
private String customerName; private String customerName;
private String partType;
} }

4
src/main/resources/mapper/pms/QcBaseInfoMapper.xml

@ -1209,8 +1209,8 @@
<if test = "query.spec != null and query.spec != ''"> <if test = "query.spec != null and query.spec != ''">
AND spec LIKE '%' + #{query.spec} + '%' AND spec LIKE '%' + #{query.spec} + '%'
</if> </if>
<if test = "query.familyName != null and query.familyName != ''">
AND invtype LIKE '%' + #{query.familyName} + '%'
<if test = "query.partType != null and query.partType != ''">
AND partType LIKE '%' + #{query.partType} + '%'
</if> </if>
</where> </where>
</select> </select>

Loading…
Cancel
Save