mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 19:29:52 +08:00
update 查询电卡列表
This commit is contained in:
@@ -36,6 +36,7 @@ public class AuthCardController extends BaseController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询鉴权卡列表
|
* 查询鉴权卡列表
|
||||||
|
* 页面:电卡列表
|
||||||
* http://localhost:8080/uniapp/authCard/getAuthCardList
|
* http://localhost:8080/uniapp/authCard/getAuthCardList
|
||||||
* @param request
|
* @param request
|
||||||
* @return
|
* @return
|
||||||
|
|||||||
@@ -606,21 +606,20 @@
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getAuthCardListByMemberId" resultType="com.jsowell.pile.vo.uniapp.AuthCardVO">
|
<select id="getAuthCardListByMemberId" resultType="com.jsowell.pile.vo.uniapp.AuthCardVO">
|
||||||
SELECT
|
SELECT t1.member_id AS memberId,
|
||||||
t1.logic_card AS logicCard,
|
t1.mobile_number AS phoneNumber,
|
||||||
t1.status,
|
t2.logic_card AS logicCard,
|
||||||
t1.member_id AS memberId,
|
t2.status as status,
|
||||||
t3.principal_balance AS principalBalance,
|
t3.wallet_code AS walletCode,
|
||||||
t3.gift_balance AS giftBalance,
|
t3.merchant_id as merchantId,
|
||||||
t1.create_time AS createTime,
|
t3.principal_balance AS principalBalance,
|
||||||
t2.mobile_number AS phoneNumber
|
t3.gift_balance AS giftBalance,
|
||||||
FROM
|
t2.create_time AS createTime
|
||||||
pile_auth_card t1
|
FROM member_basic_info t1
|
||||||
JOIN member_basic_info t2 ON t1.member_id = t2.member_id
|
JOIN pile_auth_card t2 ON t1.member_id = t2.member_id and t2.del_flag = '0'
|
||||||
JOIN member_wallet_info t3 ON t2.member_id = t3.member_id
|
JOIN member_wallet_info t3 ON t2.member_id = t3.member_id AND t3.merchant_id = t2.merchant_id
|
||||||
WHERE
|
WHERE t1.del_flag = '0'
|
||||||
t1.del_flag = '0'
|
AND t1.member_id = #{memberId,jdbcType=VARCHAR};
|
||||||
AND t1.member_id = #{memberId,jdbcType=VARCHAR}
|
</select>
|
||||||
</select>
|
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user