This commit is contained in:
guohb
2024-05-07 14:55:18 +08:00
parent f363c93ca9
commit f3d5a3eb99
4 changed files with 16 additions and 9 deletions

View File

@@ -300,13 +300,13 @@
</select>
<select id="getByLineIdAndPayTypeAndShopId" resultMap="BaseResultMap">
select *
select <include refid="Base_Column_List"/>
from xfsg_line_pay
<where>
line_id = #{lineId}
and deleted = '0'
and pay_business_type = #{payBusinessType}
<if test="shop_id != null and shopId != ''">
<if test="shopId != null and shopId != ''">
and shop_id = #{shopId}
</if>
</where>