init
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user