| | |
| | | <if test="record.isInside!=null and record.isInside!=''">
|
| | | and s.is_inside= #{record.isInside}
|
| | | </if>
|
| | | <if test="record.status!=null and record.status!='' and record.status!='0'">
|
| | | <if test="record.status!=null and record.status!=''">
|
| | | and s.status= #{record.status}
|
| | | </if>
|
| | | </if>
|
| | | </where>
|
| | | order by s.create_time desc
|
| | | </select>
|
| | | |
| | | <select id="selectTBByMemberId" resultType="java.lang.String">
|
| | | select IFNULL(sum(amount),'0') from member_coin_withdraw where member_id = #{memberId} and status = 2 and is_inside = 'N'
|
| | | </select>
|
| | |
|
| | | </mapper> |