提交时间

This commit is contained in:
苏竹红
2024-05-08 11:34:26 +08:00
parent 731c5cc189
commit 2d88827ecb
5 changed files with 42 additions and 10 deletions

View File

@@ -316,10 +316,20 @@
<select id="getLinePayByLineIds" resultMap="BaseResultMap">
select * from xfsg_line_pay where deleted = 0
<if test="lineIds !=null and lineIds.size>0">
<foreach collection="lineIds" item="lineId" open="and line_id in (" close=")" separator=",">
#{lineId}
</foreach>
</if>
<where>
<if test="businessType!=null">
and pay_business_type = #{businessType}
</if>
<if test="lineIds !=null and lineIds.size>0">
<foreach collection="lineIds" item="lineId" open="and line_id in (" close=")" separator=",">
#{lineId}
</foreach>
</if>
<if test="shopIds !=null and shopIds.size>0">
<foreach collection="shopIds" item="shopId" open="and shop_id in (" close=")" separator=",">
#{shopId}
</foreach>
</if>
</where>
</select>
</mapper>