标准详情->标准分解单查询 mapper<if>字符
This commit is contained in:
@@ -384,7 +384,6 @@
|
|||||||
sar_stand_items AS a
|
sar_stand_items AS a
|
||||||
LEFT JOIN sar_interpretation_national_standard AS b ON a.STAND_ID = b.STAND_ID
|
LEFT JOIN sar_interpretation_national_standard AS b ON a.STAND_ID = b.STAND_ID
|
||||||
<where>
|
<where>
|
||||||
-- valid_flag=0
|
|
||||||
|
|
||||||
<if test="standId!=null and standId!=''">
|
<if test="standId!=null and standId!=''">
|
||||||
and a.stand_id=#{standId}
|
and a.stand_id=#{standId}
|
||||||
@@ -397,7 +396,7 @@
|
|||||||
<if test="itemsName != null and itemsName!=''">
|
<if test="itemsName != null and itemsName!=''">
|
||||||
and a.ITEMS_NAME=#{itemsName}
|
and a.ITEMS_NAME=#{itemsName}
|
||||||
</if>
|
</if>
|
||||||
<if test="XCSSRQ !=null and XCSSRQ!=''">
|
<if test="XCXSSRQ !=null and XCXSSRQ!=''">
|
||||||
and a.XCXSSRQ=#{XCXSSRQ}
|
and a.XCXSSRQ=#{XCXSSRQ}
|
||||||
</if>
|
</if>
|
||||||
<if test="ZCCSSRQ !=null and ZCCSSRQ != ''">
|
<if test="ZCCSSRQ !=null and ZCCSSRQ != ''">
|
||||||
|
|||||||
Reference in New Issue
Block a user