质检人员管理分页查询新增质检类型作为查询条件
This commit is contained in:
parent
0510c711a9
commit
93924b741a
|
|
@ -22,4 +22,9 @@ public class QmsQualityInspectorSearchQO extends PageQO {
|
||||||
* 物料编号(模糊匹配)
|
* 物料编号(模糊匹配)
|
||||||
*/
|
*/
|
||||||
private String materialNo;
|
private String materialNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 质检类型
|
||||||
|
*/
|
||||||
|
private Integer inspectionType;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,9 @@
|
||||||
AND m.material_no ilike concat('%', #{request.materialNo}, '%')
|
AND m.material_no ilike concat('%', #{request.materialNo}, '%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
<if test="request.inspectionType != null">
|
||||||
|
AND qi.inspection_type = #{request.inspectionType}
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
ORDER BY qi.id DESC
|
ORDER BY qi.id DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue