This commit is contained in:
张良(004796)
2024-03-13 15:45:03 +08:00
parent e79d7d8c5c
commit 01c813137b
12 changed files with 118 additions and 43 deletions

View File

@@ -9,6 +9,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
set income_coin = income_coin - #{price}
where income_coin - #{price} > 0 and user_id = #{userId}
</update>
<update id="incrIncome">
update xq_user_extend
set income_coin = income_coin + #{price}
where income_coin + #{price} > 0 and user_id = #{userId}
</update>
<select id="pageAdmin" resultType="com.ruoyi.xq.dto.admin.user.UserExtendAdminVo">
select t1.*, t2.nickname,t2.mobile,t2.avatar
from xq_user_extend t1