|
@@ -124,7 +124,7 @@
|
|
|
</if>
|
|
|
where 1=1
|
|
|
<if test="zoneId != null">
|
|
|
- and v.id in(select resource_id from imcs_z_zone_productionresource e where e.zone_id = #{zoneId})
|
|
|
+ and a.zoneId = #{zoneId}
|
|
|
</if>
|
|
|
<if test="code != null and code != ''">
|
|
|
and v.code = #{code}
|
|
@@ -147,6 +147,9 @@
|
|
|
<if test="id != null and id != ''">
|
|
|
and v.id = #{id}
|
|
|
</if>
|
|
|
+ <if test="displayStatus != null and displayStatus != ''">
|
|
|
+ and v.display_status = #{displayStatus}
|
|
|
+ </if>
|
|
|
<if test="isAutoCode != null and isAutoCode != ''">
|
|
|
and v.is_auto_code = #{isAutoCode}
|
|
|
</if>
|