| @@ -107,6 +107,12 @@ public class TenantInfoImpl implements TenantInfo { | |||||
| if ("wx_c_user_basic_info".equals(tableName)) { | if ("wx_c_user_basic_info".equals(tableName)) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| if ("wx_credit_history".equals(tableName)) { | |||||
| return true; | |||||
| } | |||||
| if ("wx_score_history".equals(tableName)) { | |||||
| return true; | |||||
| } | |||||
| return false; | return false; | ||||
| } | } | ||||
| @@ -95,6 +95,12 @@ public class TenantInfoImpl implements TenantInfo { | |||||
| if ("wx_c_user_basic_info".equals(tableName)) { | if ("wx_c_user_basic_info".equals(tableName)) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| if ("wx_credit_history".equals(tableName)) { | |||||
| return true; | |||||
| } | |||||
| if ("wx_score_history".equals(tableName)) { | |||||
| return true; | |||||
| } | |||||
| // wx_profit_sharing_receiver | // wx_profit_sharing_receiver | ||||
| // wx_profit_sharing_result | // wx_profit_sharing_result | ||||
| return false; | return false; | ||||
| @@ -95,6 +95,12 @@ public class TenantInfoImpl implements TenantInfo { | |||||
| if ("wx_c_user_basic_info".equals(tableName)) { | if ("wx_c_user_basic_info".equals(tableName)) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| if ("wx_credit_history".equals(tableName)) { | |||||
| return true; | |||||
| } | |||||
| if ("wx_score_history".equals(tableName)) { | |||||
| return true; | |||||
| } | |||||
| // wx_profit_sharing_receiver | // wx_profit_sharing_receiver | ||||
| // wx_profit_sharing_result | // wx_profit_sharing_result | ||||
| return false; | return false; | ||||
| @@ -282,7 +282,7 @@ public class WxCUserServiceImpl implements WxCUserService { | |||||
| WxCUserBasicInfo wxCUserBasicInfo = wxCUserBasicInfoService.getById(user.getUserId()); | WxCUserBasicInfo wxCUserBasicInfo = wxCUserBasicInfoService.getById(user.getUserId()); | ||||
| if (wxCUserBasicInfo != null) { | if (wxCUserBasicInfo != null) { | ||||
| WxCUserBasicInfo basicInfo = new WxCUserBasicInfo(); | WxCUserBasicInfo basicInfo = new WxCUserBasicInfo(); | ||||
| basicInfo.setId(user.getId()); | |||||
| basicInfo.setId(wxCUserBasicInfo.getId()); | |||||
| basicInfo.setActiveTime(new Date()); | basicInfo.setActiveTime(new Date()); | ||||
| basicInfo.setLoginCount(wxCUserBasicInfo.getLoginCount()+1); | basicInfo.setLoginCount(wxCUserBasicInfo.getLoginCount()+1); | ||||
| wxCUserBasicInfoService.update(basicInfo); | wxCUserBasicInfoService.update(basicInfo); | ||||