【工艺路线】列表查询
This commit is contained in:
parent
c8eb77a4b1
commit
abbdd26a1f
|
|
@ -24,7 +24,7 @@
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="query.materialNo != null and query.materialNo != ''">
|
<if test="query.materialNo != null and query.materialNo != ''">
|
||||||
AND material_no = #{query.material_no}
|
AND material_no = #{query.materialNo}
|
||||||
</if>
|
</if>
|
||||||
<if test="query.factory != null and query.factory != ''">
|
<if test="query.factory != null and query.factory != ''">
|
||||||
AND factory = #{query.factory}
|
AND factory = #{query.factory}
|
||||||
|
|
@ -38,6 +38,9 @@
|
||||||
<if test="query.createdBy != null and query.createdBy != ''">
|
<if test="query.createdBy != null and query.createdBy != ''">
|
||||||
AND created_by LIKE concat('%', #{query.createdBy}, '%')
|
AND created_by LIKE concat('%', #{query.createdBy}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
<if test="query.createdByName != null and query.createdByName != ''">
|
||||||
|
AND created_by_name LIKE concat('%', #{query.createdByName}, '%')
|
||||||
|
</if>
|
||||||
<if test="query.updatedTimeFrom != null and query.updatedTimeFrom != ''">
|
<if test="query.updatedTimeFrom != null and query.updatedTimeFrom != ''">
|
||||||
AND updated_time <![CDATA[ >= ]]> #{query.updatedTimeFrom}
|
AND updated_time <![CDATA[ >= ]]> #{query.updatedTimeFrom}
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -47,6 +50,9 @@
|
||||||
<if test="query.updatedBy != null and query.updatedBy != ''">
|
<if test="query.updatedBy != null and query.updatedBy != ''">
|
||||||
AND updated_by LIKE concat('%', #{query.updatedBy}, '%')
|
AND updated_by LIKE concat('%', #{query.updatedBy}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
<if test="query.updatedByName != null and query.updatedByName != ''">
|
||||||
|
AND updated_by_name LIKE concat('%', #{query.updatedByName}, '%')
|
||||||
|
</if>
|
||||||
<if test="query.delFlag != null">
|
<if test="query.delFlag != null">
|
||||||
AND del_flag = #{query.delFlag}
|
AND del_flag = #{query.delFlag}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue