Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop into feature/pg
This commit is contained in:
		
						commit
						2536e3b9f6
					
				@ -70,7 +70,7 @@ public class PlatformViewServiceImpl extends ServiceImpl<PlatformViewMapper, Pla
 | 
			
		||||
        Object object = cache.get(CachePrefix.ONLINE_NUM.getPrefix());
 | 
			
		||||
 | 
			
		||||
        if (null != object) {
 | 
			
		||||
            return (Long) cache.get(CachePrefix.ONLINE_NUM.getPrefix());
 | 
			
		||||
            return (Long) object;
 | 
			
		||||
        }
 | 
			
		||||
        //这里统计的是有效的accessToken ,如果需要数据精确,需要调整accessToken的有效时间,开发人员建议2小时误差较为合适
 | 
			
		||||
        Long num = Long.valueOf(cache.keys(CachePrefix.ACCESS_TOKEN.getPrefix(UserEnums.MEMBER) + "*").size());
 | 
			
		||||
@ -83,7 +83,7 @@ public class PlatformViewServiceImpl extends ServiceImpl<PlatformViewMapper, Pla
 | 
			
		||||
        Object object = cache.get(CachePrefix.MEMBER_DISTRIBUTION.getPrefix());
 | 
			
		||||
 | 
			
		||||
        if (null != object) {
 | 
			
		||||
            return (List<MemberDistributionVO>) cache.get(CachePrefix.MEMBER_DISTRIBUTION.getPrefix());
 | 
			
		||||
            return (List<MemberDistributionVO>) object;
 | 
			
		||||
        }
 | 
			
		||||
        List<MemberDistributionVO> memberDistributionVOS = memberStatisticsService.distribution();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -192,6 +192,7 @@ public class BillServiceImpl extends ServiceImpl<BillMapper, Bill> implements Bi
 | 
			
		||||
        }
 | 
			
		||||
        LambdaUpdateWrapper<Bill> lambdaUpdateWrapper = Wrappers.lambdaUpdate();
 | 
			
		||||
        lambdaUpdateWrapper.eq(Bill::getId, id);
 | 
			
		||||
        lambdaUpdateWrapper.set(Bill::getPayTime, new Date());
 | 
			
		||||
        lambdaUpdateWrapper.set(Bill::getBillStatus, BillStatusEnum.COMPLETE.name());
 | 
			
		||||
        return this.update(lambdaUpdateWrapper);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@ public class ImSetting implements Serializable {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    @ApiModelProperty(value = "平台ID")
 | 
			
		||||
    private Integer tenantId;
 | 
			
		||||
    private String tenantId;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user