增加失败码功能

This commit is contained in:
wuweihua
2026-09-28 11:07:09 +08:00
parent 0408b6c35e
commit cc802d1292
13 changed files with 247 additions and 31 deletions
@@ -98,8 +98,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
inner join prc_price_set s on s.price_set_id = c.price_set_id
where c.customer_id = #{customerId}
and ifnull(s.status, 'D') <> 'S'
and (c.pr_begindate is null or c.pr_begindate <= #{bizDate})
and ifnull(c.pr_enddate, '9999-12-31') >= #{bizDate}
order by c.bind_priority asc, c.pr_begindate desc, c.customer_priceset_id asc
</select>
@@ -111,8 +109,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
inner join prc_price_set s on s.price_set_id = c.price_set_id
where c.customer_code = #{customerCode}
and ifnull(s.status, 'D') &lt;&gt; 'S'
and (c.pr_begindate is null or c.pr_begindate &lt;= #{bizDate})
and ifnull(c.pr_enddate, '9999-12-31') &gt;= #{bizDate}
order by c.bind_priority asc, c.pr_begindate desc, c.customer_priceset_id asc
</select>