Browse Source

查询用户会员记录

feature-1.1
wuxicheng 3 years ago
parent
commit
c1a7cc27d1
  1. 7
      bnyer-services/bnyer-img/src/main/resources/com/bnyer/img/mapper/UserVipRecordMapper.xml

7
bnyer-services/bnyer-img/src/main/resources/com/bnyer/img/mapper/UserVipRecordMapper.xml

@ -40,14 +40,15 @@
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
FROM img_user_vip_record a FROM img_user_vip_record a
WHERE WHERE
a.status = 1
<if test="id != null"> <if test="id != null">
a.id = #{id} and a.id = #{id}
</if> </if>
<if test="userId != null"> <if test="userId != null">
a.user_id = #{userId} and a.user_id = #{userId}
</if> </if>
<if test="userClientType != null"> <if test="userClientType != null">
a.user_client_type = #{userClientType} and a.user_client_type = #{userClientType}
</if> </if>
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save