查询分享收益接口修改
This commit is contained in:
@@ -5,4 +5,14 @@
|
||||
<select id="monthIncome" resultType="Double">
|
||||
select sum(money) from user_money_details where user_id=#{userId} and classify=4 and type=2 and state=2 and date_format(create_time,'%Y-%m')=date_format(#{date},'%Y-%m')
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
<select id="queryUserInviteMoney" resultType="Double">
|
||||
select sum(money) from user_money_details where user_id=#{userId} and classify in (1,6,7) and type=1 and state=2 and money_type=1
|
||||
</select>
|
||||
|
||||
<select id="queryUserInviteGoldMoney" resultType="Double">
|
||||
select sum(money) from user_money_details where user_id=#{userId} and classify in (1,6,7) and type=1 and state=2 and money_type=2
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user