达梦适配修改

This commit is contained in:
王奎兴
2025-12-05 10:47:46 +08:00
parent 5005f4291f
commit 32f12bb138
49 changed files with 254 additions and 209 deletions
@@ -12,9 +12,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql>
<!--<update id="updateCreditLimit">
UPDATE `account_cash_wallet` SET `credit_limit` =
UPDATE account_cash_wallet SET credit_limit =
CASE
WHEN `credit_limit` - #{creditLimit} >= 0 THEN `credit_limit` - #{creditLimit}
WHEN credit_limit - #{creditLimit} >= 0 THEN credit_limit - #{creditLimit}
ELSE credit_limit
END
WHERE user_id = #{userId}