mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 11:19:52 +08:00
bugfix 绑定鉴权卡相关接口
This commit is contained in:
@@ -247,9 +247,6 @@ public class PileAuthCardServiceImpl implements PileAuthCardService {
|
|||||||
@Override
|
@Override
|
||||||
public List<AuthCardVO> getAuthCardListByMemberId(String memberId) {
|
public List<AuthCardVO> getAuthCardListByMemberId(String memberId) {
|
||||||
List<AuthCardVO> list = pileAuthCardMapper.getAuthCardListByMemberId(memberId);
|
List<AuthCardVO> list = pileAuthCardMapper.getAuthCardListByMemberId(memberId);
|
||||||
for (AuthCardVO authCardVO : list) {
|
|
||||||
authCardVO.setAccountBalance(authCardVO.getPrincipalBalance().add(authCardVO.getGiftBalance()).setScale(2, BigDecimal.ROUND_HALF_UP));
|
|
||||||
}
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -611,14 +611,9 @@
|
|||||||
t1.mobile_number AS phoneNumber,
|
t1.mobile_number AS phoneNumber,
|
||||||
t2.logic_card AS logicCard,
|
t2.logic_card AS logicCard,
|
||||||
t2.status as status,
|
t2.status as status,
|
||||||
t3.wallet_code AS walletCode,
|
|
||||||
t3.merchant_id as merchantId,
|
|
||||||
t3.principal_balance AS principalBalance,
|
|
||||||
t3.gift_balance AS giftBalance,
|
|
||||||
t2.create_time AS createTime
|
t2.create_time AS createTime
|
||||||
FROM member_basic_info t1
|
FROM member_basic_info t1
|
||||||
JOIN pile_auth_card t2 ON t1.member_id = t2.member_id and t2.del_flag = '0'
|
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 AND t3.merchant_id = t2.merchant_id
|
|
||||||
WHERE t1.del_flag = '0'
|
WHERE t1.del_flag = '0'
|
||||||
AND t1.member_id = #{memberId,jdbcType=VARCHAR};
|
AND t1.member_id = #{memberId,jdbcType=VARCHAR};
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user