预警
This commit is contained in:
+12
-2
@@ -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 != ''">
|
||||
|
||||
Reference in New Issue
Block a user