lineSource
This commit is contained in:
@@ -332,20 +332,18 @@
|
|||||||
|
|
||||||
<select id="getLinePayByLineIds" resultMap="BaseResultMap">
|
<select id="getLinePayByLineIds" resultMap="BaseResultMap">
|
||||||
select * from xfsg_line_pay where deleted = 0
|
select * from xfsg_line_pay where deleted = 0
|
||||||
<where>
|
<if test="businessType!=null">
|
||||||
<if test="businessType!=null">
|
and pay_business_type = #{businessType}
|
||||||
and pay_business_type = #{businessType}
|
</if>
|
||||||
</if>
|
<if test="lineIds !=null and lineIds.size>0">
|
||||||
<if test="lineIds !=null and lineIds.size>0">
|
<foreach collection="lineIds" item="lineId" open="and line_id in (" close=")" separator=",">
|
||||||
<foreach collection="lineIds" item="lineId" open="and line_id in (" close=")" separator=",">
|
#{lineId}
|
||||||
#{lineId}
|
</foreach>
|
||||||
</foreach>
|
</if>
|
||||||
</if>
|
<if test="shopIds !=null and shopIds.size>0">
|
||||||
<if test="shopIds !=null and shopIds.size>0">
|
<foreach collection="shopIds" item="shopId" open="and shop_id in (" close=")" separator=",">
|
||||||
<foreach collection="shopIds" item="shopId" open="and shop_id in (" close=")" separator=",">
|
#{shopId}
|
||||||
#{shopId}
|
</foreach>
|
||||||
</foreach>
|
</if>
|
||||||
</if>
|
|
||||||
</where>
|
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user