|
|
|
@@ -312,6 +312,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { |
|
|
|
scoreHistory.setCUserId(cUser.getId()); |
|
|
|
scoreHistory.setScoreType(EnumScoreType.LOGIN.getCode()); |
|
|
|
scoreHistory.setTenantId(tenantinfo.getFinalTenantId()); |
|
|
|
scoreHistory.setFinalTenantId(tenantinfo.getFinalTenantId()); |
|
|
|
return wxScoreHistoryMapper.countTodayList(scoreHistory); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -446,6 +447,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { |
|
|
|
scoreHistory.setCUserId(user.getId()); |
|
|
|
scoreHistory.setScoreType(EnumScoreType.COMPLETE_INFO.getCode()); |
|
|
|
scoreHistory.setTenantId(tenantinfo.getFinalTenantId()); |
|
|
|
scoreHistory.setFinalTenantId(tenantinfo.getFinalTenantId()); |
|
|
|
return wxScoreHistoryMapper.countList(scoreHistory); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -502,6 +504,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { |
|
|
|
WxScoreHistory history = new WxScoreHistory(); |
|
|
|
history.setId(idWorker.nextId()); |
|
|
|
history.setTenantId(tenantEntity.getFinalTenantId()); |
|
|
|
history.setFinalTenantId(tenantEntity.getFinalTenantId()); |
|
|
|
history.setCUserId(userInfo.getId()); |
|
|
|
history.setCreateDate(new Date()); |
|
|
|
history.setScoreType(wechatPhone.getCode()); |
|
|
|
@@ -514,6 +517,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { |
|
|
|
WxScoreHistory history = new WxScoreHistory(); |
|
|
|
history.setId(idWorker.nextId()); |
|
|
|
history.setTenantId(tenantEntity.getFinalTenantId()); |
|
|
|
history.setFinalTenantId(tenantEntity.getFinalTenantId()); |
|
|
|
history.setCUserId(id); |
|
|
|
history.setCreateDate(new Date()); |
|
|
|
history.setScoreType(wechatPhone.getCode()); |
|
|
|
@@ -526,6 +530,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { |
|
|
|
WxScoreHistory history = new WxScoreHistory(); |
|
|
|
history.setId(idWorker.nextId()); |
|
|
|
history.setTenantId(order.getFinalTenantId()); |
|
|
|
history.setFinalTenantId(order.getFinalTenantId()); |
|
|
|
history.setCUserId(order.getCUserId()); |
|
|
|
history.setCreateDate(new Date()); |
|
|
|
history.setScoreType(EnumScoreType.CONSUMPTION.getCode()); |
|
|
|
@@ -543,6 +548,7 @@ public class WxScoreRulesServiceImpl implements WxScoreRulesService { |
|
|
|
WxScoreHistory history = new WxScoreHistory(); |
|
|
|
history.setId(idWorker.nextId()); |
|
|
|
history.setTenantId(tenantEntity.getFinalTenantId()); |
|
|
|
history.setFinalTenantId(tenantEntity.getFinalTenantId()); |
|
|
|
history.setCUserId(id); |
|
|
|
history.setCreateDate(new Date()); |
|
|
|
history.setScoreType(wechatPhone.getCode()); |
|
|
|
|