lineSource
This commit is contained in:
@@ -332,20 +332,18 @@
|
||||
|
||||
<select id="getLinePayByLineIds" resultMap="BaseResultMap">
|
||||
select * from xfsg_line_pay where deleted = 0
|
||||
<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>
|
||||
<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>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user