This commit is contained in:
苏竹红
2023-06-16 15:38:22 +08:00
parent a4c10caab6
commit bab4fa6e5a
18 changed files with 115 additions and 23 deletions

View File

@@ -120,10 +120,12 @@
where id = #{record.id}
</update>
<select id="getHyIntendDevZoneInfoList" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"></include>
*
from hy_intend_dev_zone_info
where type = #{type}
and deleted = 0
</select>
</mapper>

View File

@@ -91,8 +91,8 @@
<if test="type!=null and type!=''">
and type = #{type}
</if>
<if test="deleteByMappingIds!=null and deleteByMappingIds.size>0">
<foreach collection="deleteByMappingIds" open="and mapping_id in (" close=")" separator="," item="mappingId">
<if test="mappingIds!=null and mappingIds.size>0">
<foreach collection="mappingIds" open="and mapping_id in (" close=")" separator="," item="mappingId">
#{mappingId}
</foreach>
</if>
@@ -124,7 +124,7 @@
from hy_intend_developement_mapping a inner join hy_intend_dev_zone_info b on a.mapping_id = b.id
<where>
<if test="mappingIdList!=null and mappingIdList.size>0">
<foreach collection="mappingIdList" open="and a.open_area_mapping_id in (" close=")" separator="," item="mappingId">
<foreach collection="mappingIdList" open="and a.mapping_id in (" close=")" separator="," item="mappingId">
#{mappingId}
</foreach>
</if>

View File

@@ -450,4 +450,16 @@
</select>
<select id="getHyPartnerLineInfoListByIds" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List"></include>
FROM hy_partner_line_info
<where>
<if test="lineIds!=null and lineIds.size>0">
<foreach collection="lineIds" item="lineId" open="and id in (" close=")" separator=",">
#{partnerId}
</foreach>
</if>
</where>
</select>
</mapper>