| | |
| | | <select id="queryScoreDetailsList" resultType="com.xzx.gc.shop.vo.QueryScoreDetailsListVo"> |
| | | SELECT |
| | | a.*, |
| | | b.nick_name name, |
| | | a.CREATED_TIME createTime |
| | | FROM |
| | | xzx_score_details a |
| | |
| | | </if> |
| | | |
| | | <if test="record.createTimeEnd != null"> |
| | | and a.CREATED_TIME >= #{record.createTimeEnd} |
| | | and a.CREATED_TIME <= #{record.createTimeEnd} |
| | | </if> |
| | | order by a.CREATED_TIME desc |
| | | </select> |
| | | |
| | | <select id="selectXcxScoreDetailsList" resultType="com.xzx.gc.shop.vo.XcxScoreDetailsVo"> |
| | | select |
| | | * |
| | | ,change_score score |
| | | from xzx_score_details |
| | | where user_id=#{record.userId} |
| | | order by id desc |
| | | </select> |
| | | </mapper> |