| @@ -275,7 +275,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { | |||||
| // 3. 修改 c_user表积分 score | // 3. 修改 c_user表积分 score | ||||
| if (user.getPhone() != null) { | if (user.getPhone() != null) { | ||||
| WxCUser wxCUser = new WxCUser(); | WxCUser wxCUser = new WxCUser(); | ||||
| wxCUser.setTenantId(user.getTenantId()); | |||||
| wxCUser.updateTenantInfo(user); | |||||
| wxCUser.setPhone(user.getPhone()); | wxCUser.setPhone(user.getPhone()); | ||||
| List<WxCUser> list = wxCUserMapper.findList(wxCUser); | List<WxCUser> list = wxCUserMapper.findList(wxCUser); | ||||
| if (!list.isEmpty()) { | if (!list.isEmpty()) { | ||||
| @@ -307,7 +307,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { | |||||
| private int checkTodayLoginScoreCount(WxCUser cUser) { | private int checkTodayLoginScoreCount(WxCUser cUser) { | ||||
| WxScoreHistory scoreHistory = new WxScoreHistory(); | WxScoreHistory scoreHistory = new WxScoreHistory(); | ||||
| scoreHistory.setTenantId(cUser.getTenantId()); | |||||
| scoreHistory.updateTenantInfo(cUser); | |||||
| scoreHistory.setCUserId(cUser.getId()); | scoreHistory.setCUserId(cUser.getId()); | ||||
| scoreHistory.setScoreType(EnumScoreType.LOGIN.getCode()); | scoreHistory.setScoreType(EnumScoreType.LOGIN.getCode()); | ||||
| return wxScoreHistoryMapper.countTodayList(scoreHistory); | return wxScoreHistoryMapper.countTodayList(scoreHistory); | ||||
| @@ -669,7 +669,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { | |||||
| public void updateMerchantCreditLocked(WxScoreRules wxScoreRules) { | public void updateMerchantCreditLocked(WxScoreRules wxScoreRules) { | ||||
| WxMerchant wxMerchant = new WxMerchant(); | WxMerchant wxMerchant = new WxMerchant(); | ||||
| wxMerchant.setTenantId(wxScoreRules.getTenantId()); | |||||
| wxMerchant.updateTenantInfo(wxScoreRules); | |||||
| wxMerchant.setStatus(wxScoreRules.getCreditLocked()); | wxMerchant.setStatus(wxScoreRules.getCreditLocked()); | ||||
| wxMerchant.setUpdateDate(new Date()); | wxMerchant.setUpdateDate(new Date()); | ||||
| wxMerchantMapper.updateCreditLocked(wxMerchant); | wxMerchantMapper.updateCreditLocked(wxMerchant); | ||||