From 619734851a0e338bf58ac186e071d3a31590a27a Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Sun, 3 Nov 2019 08:21:56 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=9B=86=E5=9B=A2=E7=89=88][=E4=BF=AE?= =?UTF-8?q?=E6=94=B9]:=E9=9B=86=E5=9B=A2=E7=89=88=E9=A2=84=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxScoreRulesServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java index 99f448a5a..8c906125b 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxScoreRulesServiceImpl.java @@ -275,7 +275,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { // 3. 修改 c_user表积分 score if (user.getPhone() != null) { WxCUser wxCUser = new WxCUser(); - wxCUser.setTenantId(user.getTenantId()); + wxCUser.updateTenantInfo(user); wxCUser.setPhone(user.getPhone()); List list = wxCUserMapper.findList(wxCUser); if (!list.isEmpty()) { @@ -307,7 +307,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { private int checkTodayLoginScoreCount(WxCUser cUser) { WxScoreHistory scoreHistory = new WxScoreHistory(); - scoreHistory.setTenantId(cUser.getTenantId()); + scoreHistory.updateTenantInfo(cUser); scoreHistory.setCUserId(cUser.getId()); scoreHistory.setScoreType(EnumScoreType.LOGIN.getCode()); return wxScoreHistoryMapper.countTodayList(scoreHistory); @@ -669,7 +669,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { public void updateMerchantCreditLocked(WxScoreRules wxScoreRules) { WxMerchant wxMerchant = new WxMerchant(); - wxMerchant.setTenantId(wxScoreRules.getTenantId()); + wxMerchant.updateTenantInfo(wxScoreRules); wxMerchant.setStatus(wxScoreRules.getCreditLocked()); wxMerchant.setUpdateDate(new Date()); wxMerchantMapper.updateCreditLocked(wxMerchant);