|
|
|
@ -22,6 +22,9 @@
|
|
|
|
|
<where>
|
|
|
|
|
<if test="query.displayName != null and query.displayName != ''"> and b.display_name like CONCAT('%', #{query.displayName}, '%') </if>
|
|
|
|
|
<if test="query.eventCode != null and query.eventCode != ''"> and a.event_code like CONCAT('%', #{query.eventCode}, '%') </if>
|
|
|
|
|
<if test="query.materialBag != null and query.materialBag != ''"> and a.material_bag = #{query.materialBag,jdbcType=VARCHAR} </if>
|
|
|
|
|
<if test="query.materialType != null and query.materialType != ''"> and c.type = #{query.materialType,jdbcType=VARCHAR} </if>
|
|
|
|
|
<if test="query.orgCode != null and query.orgCode != ''"> and c.site = #{query.orgCode,jdbcType=VARCHAR} </if>
|
|
|
|
|
<if test="query.validStatus != null"> and a.valid_status = #{query.validStatus,jdbcType=INTEGER} </if>
|
|
|
|
|
<if test="query.evaluateStatus != null"> and a.evaluate_status = #{query.evaluateStatus,jdbcType=INTEGER} </if>
|
|
|
|
|
</where>
|
|
|
|
|