bug
This commit is contained in:
parent
5a65086d4d
commit
001bbd7faa
@ -542,7 +542,7 @@
|
||||
SELECT mt_user.*
|
||||
FROM mt_user_balance
|
||||
LEFT JOIN mt_user ON mt_user_balance.mt_user_id = mt_user.id
|
||||
WHERE mt_user_balance.user_status = 0 AND mt_user_balance.store_id IN
|
||||
WHERE mt_user_balance.store_id IN
|
||||
<foreach collection="order.storeIds" item="item" index="index" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
@ -559,7 +559,7 @@
|
||||
SELECT mt_user.*
|
||||
FROM mt_user_balance
|
||||
LEFT JOIN mt_user ON mt_user_balance.mt_user_id = mt_user.id
|
||||
WHERE mt_user_balance.user_status = 0 AND mt_user_balance.store_id IN
|
||||
WHERE mt_user_balance.store_id IN
|
||||
<foreach collection="order.storeIds" item="item" index="index" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
|
@ -47,7 +47,6 @@
|
||||
from mt_user_balance mub
|
||||
left join mt_user mu on mub.mt_user_id = mu.id
|
||||
<where>
|
||||
mub.user_status = 0 and
|
||||
mub.store_id in
|
||||
<foreach collection="user.storeIds" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
@ -63,7 +62,6 @@
|
||||
from mt_user_balance mub
|
||||
left join mt_user mu on mub.mt_user_id = mu.id
|
||||
where
|
||||
mub.user_status = 0 and
|
||||
mub.store_id in
|
||||
<foreach collection="storeIds" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
|
@ -547,9 +547,10 @@ public class LJUserServiceImpl extends ServiceImpl<LJUserMapper, LJUser> impleme
|
||||
balance.setFixingLevel(user.getFixingLevel());
|
||||
balance.setUserLabelId(user.getUserLabelId());
|
||||
balance.setUserStatus(user.getUserStatus());
|
||||
if (ObjectUtil.isNotEmpty(balance.getCardBalance()) && balance.getCardBalance() > 0){
|
||||
balance.setRechargeNum(1);
|
||||
}
|
||||
// if (ObjectUtil.isNotEmpty(balance.getCardBalance()) && balance.getCardBalance() > 0){
|
||||
// balance.setRechargeNum(0);
|
||||
// } 无论初始化 有无 金额 充值次数都算0
|
||||
balance.setRechargeNum(0);
|
||||
balanceService.insertUserBalance(balance);
|
||||
Integer chainStoreId = null;
|
||||
// 添加邀请注册信息
|
||||
|
Loading…
Reference in New Issue
Block a user