This commit is contained in:
yuezhihang
2022-06-27 11:32:12 +08:00
parent 8b2eb6b84a
commit 19db42504f
3 changed files with 16 additions and 10 deletions
@@ -209,7 +209,12 @@
LEFT JOIN sar_stand_attr_info AS attr on attr.STAND_ID=warning.STAND_ID
<where>
POWER = '1'
AND (MARK = 'stand')
<if test="waringEO.mark != null and waringEO.mark != ''">
AND (MARK = #{mark})
</if>
<if test="waringEO.mark == null or waringEO.mark == ''">
AND (MARK = 'stand')
</if>
AND sarInfo.VALID_FLAG='0'
<include refid="stand_where"/>
<if test="waringEO.applyType != null and waringEO.applyType != ''">AND attr.CLLX LIKE CONCAT('%',
@@ -255,7 +260,12 @@
LEFT JOIN sar_stand_items AS items ON items.ID = warning.ITEM_ID
<where>
POWER = '1'
AND (MARK = 'item')
<if test="waringEO.mark != null and waringEO.mark != ''">
AND (MARK = #{mark})
</if>
<if test="waringEO.mark == null or waringEO.mark == ''">
AND (MARK = 'item')
</if>
AND sarInfo.VALID_FLAG='0'
<include refid="stand_where"/>
<if test="waringEO.applyType != null and waringEO.applyType != ''">