mirror of
https://github.com/abcv7/sfbx-cloud.git
synced 2026-08-16 11:47:00 +00:00
功能:在保险、规则、交易、积分和短信模块中实现初始功能和基础组件。
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>sfbx-points</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<!--数据埋点接口模块-->
|
||||
<artifactId>points-interface</artifactId>
|
||||
<name>points-interface</name>
|
||||
<!-- FIXME change it to the project's website -->
|
||||
<url>http://www.example.com</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-feign</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.config;
|
||||
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* @ClassName DictFenginConfig.java
|
||||
* @Description feign的最优化配置
|
||||
*/
|
||||
@EnableFeignClients(basePackages = "com.itheima.sfbx.points.feign")
|
||||
@Configuration
|
||||
public class LogBusinessFeignConfig {
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package com.itheima.sfbx.points.feign;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.log.LogBusinessVO;
|
||||
import com.itheima.sfbx.points.hystrix.BusinessLogHystrix;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
/**
|
||||
* @ClassName BusinessLogFeign.java
|
||||
* @Description 业务统计
|
||||
*/
|
||||
@FeignClient(value = "points-web",fallback = BusinessLogHystrix.class)
|
||||
public interface BusinessLogFeign {
|
||||
|
||||
|
||||
/**
|
||||
* 持久化日志信息
|
||||
* @param logBusinessVO 日志对象
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("business-log-feign/create-business-log")
|
||||
public Boolean createBusinessLog(@RequestBody LogBusinessVO logBusinessVO);
|
||||
|
||||
}
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
package com.itheima.sfbx.points.feign;
|
||||
|
||||
import com.itheima.sfbx.points.hystrix.BusinessLogHystrix;
|
||||
import com.itheima.sfbx.points.hystrix.BusinessReportHystrix;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
|
||||
/**
|
||||
* @ClassName BusinessReportFeign.java
|
||||
* @Description 业务统计
|
||||
*/
|
||||
@FeignClient(value = "points-web",fallback = BusinessReportHystrix.class)
|
||||
public interface BusinessReportFeign {
|
||||
|
||||
/**
|
||||
* 日投保访页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("business-report-feign/do-insure-dpv-job/{reportTime}")
|
||||
Boolean doInsureDpvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("business-report-feign/do-insure-duv-job/{reportTime}")
|
||||
Boolean doInsureDuvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 日保险分类访问页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("business-report-feign/category-dpv-job/{reportTime}")
|
||||
Boolean categoryDpvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 性别日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("business-report-feign/do-insure-gender-duv-job/{reportTime}")
|
||||
Boolean doInsureGenderDuvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 城市日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("business-report-feign/do-insure-city-duv-job/{reportTime}")
|
||||
Boolean doInsureCityDuvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 投保转换率
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("business-report-feign/do-insure-conversion-dpv-job/{reportTime}")
|
||||
Boolean doInsureConversionDpvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 日投保访问失败页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("business-report-feign/do-insure-fail-dpv-job/{reportTime}")
|
||||
Boolean doInsureFailDpvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
}
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
package com.itheima.sfbx.points.feign;
|
||||
|
||||
import com.itheima.sfbx.points.hystrix.CustomerReportHystrix;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
|
||||
/**
|
||||
* @ClassName CustomerReportFeign.java
|
||||
* @Description 用户统计
|
||||
*/
|
||||
@FeignClient(value = "points-web",fallback = CustomerReportHystrix.class)
|
||||
public interface CustomerReportFeign {
|
||||
|
||||
|
||||
/**
|
||||
* 日新增用户数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("customer-report-feign/dnu-job/{reportTime}")
|
||||
Boolean dnuJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
|
||||
/**
|
||||
* 日新增注册用户归属城市
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("customer-report-feign/dnu-city-job/{reportTime}")
|
||||
Boolean dnuCityJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 用户日活跃数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("customer-report-feign/dau-job/{reportTime}")
|
||||
Boolean dauJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 用户每时活跃数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("customer-report-feign/dau-time-job/{reportTime}")
|
||||
Boolean dauTimeJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 日访问量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("customer-report-feign/dpv-job/{reportTime}")
|
||||
Boolean dpvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 日用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("customer-report-feign/duv-job/{reportTime}")
|
||||
Boolean duvJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 用户日活跃数范围
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("customer-report-feign/dau-range-job/{reportTime}")
|
||||
Boolean dauRangeJob(@PathVariable("reportTime") String reportTime);
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
package com.itheima.sfbx.points.feign;
|
||||
|
||||
import com.itheima.sfbx.points.hystrix.SaleReportFeignHystrix;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
|
||||
/**
|
||||
* @ClassName SaleReportFeign.java
|
||||
* @Description 销售统计
|
||||
*/
|
||||
@FeignClient(value = "points-web",fallback = SaleReportFeignHystrix.class)
|
||||
public interface SaleReportFeign {
|
||||
|
||||
|
||||
/**
|
||||
* 日投保额度明细
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("sale-report-feign/do-insure-details-day-job/{reportTime}")
|
||||
public Boolean doInsureDetailsDayJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
/**
|
||||
* 日投保分类明细
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("sale-report-feign/doInsure-category-job/{reportTime}")
|
||||
public Boolean doInsureCategoryJob(@PathVariable("reportTime") String reportTime);
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.itheima.sfbx.points.hystrix;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.log.LogBusinessVO;
|
||||
import com.itheima.sfbx.points.feign.BusinessLogFeign;
|
||||
|
||||
/**
|
||||
* @ClassName BusinessLogHystrix.java
|
||||
* @Description TODO
|
||||
*/
|
||||
public class BusinessLogHystrix implements BusinessLogFeign {
|
||||
|
||||
@Override
|
||||
public Boolean createBusinessLog(LogBusinessVO logBusinessVO) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
package com.itheima.sfbx.points.hystrix;
|
||||
|
||||
import com.itheima.sfbx.points.feign.BusinessReportFeign;
|
||||
|
||||
/**
|
||||
* @ClassName BusinessLogHystrix.java
|
||||
* @Description TODO
|
||||
*/
|
||||
public class BusinessReportHystrix implements BusinessReportFeign {
|
||||
|
||||
|
||||
@Override
|
||||
public Boolean doInsureDpvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean doInsureDuvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean categoryDpvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean doInsureGenderDuvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean doInsureCityDuvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean doInsureConversionDpvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean doInsureFailDpvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
package com.itheima.sfbx.points.hystrix;
|
||||
|
||||
import com.itheima.sfbx.points.feign.CustomerReportFeign;
|
||||
|
||||
/**
|
||||
* @ClassName CustomerReportHystrix.java
|
||||
* @Description TODO
|
||||
*/
|
||||
public class CustomerReportHystrix implements CustomerReportFeign {
|
||||
|
||||
@Override
|
||||
public Boolean dnuJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean dnuCityJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean dauJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean dauTimeJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean dpvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean duvJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean dauRangeJob(String reportTime) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.itheima.sfbx.points.hystrix;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.log.LogBusinessVO;
|
||||
import com.itheima.sfbx.points.feign.BusinessLogFeign;
|
||||
|
||||
/**
|
||||
* @ClassName SaleReportFeignHystrix.java
|
||||
* @Description TODO
|
||||
*/
|
||||
public class SaleReportFeignHystrix implements BusinessLogFeign {
|
||||
|
||||
|
||||
@Override
|
||||
public Boolean createBusinessLog(LogBusinessVO logBusinessVO) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>sfbx-points</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>points-web</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
|
||||
<name>points-web</name>
|
||||
<!-- FIXME change it to the project's website -->
|
||||
<url>http://www.example.com</url>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-mybatis-plus</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-task-executor</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-redis</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-seata</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-knife4j-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-influxdb</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>insurance-interface</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.squareup.okhttp3</groupId>
|
||||
<artifactId>okhttp</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<finalName>points-web</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.itheima.sfbx.points;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* 数据采集埋点启动类(当前端登录、查看产品等时需要采集数据的话需要启动)
|
||||
*/
|
||||
@SpringBootApplication(scanBasePackages = {"com.itheima.sfbx","com.itheima.sfbx.points.mapper"})
|
||||
public class PointsWebStart {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
SpringApplication.run(PointsWebStart.class, args);
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日保险分类访问页面量缓存常量
|
||||
*/
|
||||
public class CategoryDpvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "category-dpv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数缓存常量
|
||||
*/
|
||||
public class DauCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "dau:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数范围缓存常量
|
||||
*/
|
||||
public class DauRangeCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "dau-range:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:用户活跃数时段缓存常量
|
||||
*/
|
||||
public class DauTimeCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "dau-time:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日新增用户数缓存常量
|
||||
*/
|
||||
public class DnuCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "dnu:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:新增用户所属城市缓存常量
|
||||
*/
|
||||
public class DnuCityCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "dnu-city:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日投保分类明细缓存常量
|
||||
*/
|
||||
public class DoInsureCategoryCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "do-insure-category:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:城市日投保用户访问数缓存常量
|
||||
*/
|
||||
public class DoInsureCityDuvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "do-insure-city-duv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:投保转换率缓存常量
|
||||
*/
|
||||
public class DoInsureConversionDpvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "do-insure-conversion-dpv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日投保明细缓存常量
|
||||
*/
|
||||
public class DoInsureDetailDayCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "do-insure-detail-day:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日投保访问页面量缓存常量
|
||||
*/
|
||||
public class DoInsureDpvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "do-insure-dpv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日投保用户访问数缓存常量
|
||||
*/
|
||||
public class DoInsureDuvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "do-insure-duv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日投保访问失败页面量缓存常量
|
||||
*/
|
||||
public class DoInsureFailDpvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "do-insure-fail-dpv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:性别日投保用户访问数缓存常量
|
||||
*/
|
||||
public class DoInsureGenderDuvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "do-insure-gender-duv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日访问页面量缓存常量
|
||||
*/
|
||||
public class DpvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "dpv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.points.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:日唯一访问量缓存常量
|
||||
*/
|
||||
public class DuvCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "duv:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName CategoryDpvEnum.java
|
||||
* @Description 日保险分类访问页面量枚举
|
||||
*/
|
||||
|
||||
public enum CategoryDpvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日保险分类访问页面量分页失败"),
|
||||
LIST_FAIL(53002, "查询日保险分类访问页面量列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日保险分类访问页面量对象失败"),
|
||||
SAVE_FAIL(53004, "保存日保险分类访问页面量失败"),
|
||||
UPDATE_FAIL(53005, "修改日保险分类访问页面量失败"),
|
||||
DEL_FAIL(53006, "删除日保险分类访问页面量失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
CategoryDpvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DauEnum.java
|
||||
* @Description 用户日活跃数枚举
|
||||
*/
|
||||
|
||||
public enum DauEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询用户日活跃数分页失败"),
|
||||
LIST_FAIL(53002, "查询用户日活跃数列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询用户日活跃数对象失败"),
|
||||
SAVE_FAIL(53004, "保存用户日活跃数失败"),
|
||||
UPDATE_FAIL(53005, "修改用户日活跃数失败"),
|
||||
DEL_FAIL(53006, "删除用户日活跃数失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DauEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DauRangeEnum.java
|
||||
* @Description 用户日活跃数范围枚举
|
||||
*/
|
||||
|
||||
public enum DauRangeEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询用户日活跃数范围分页失败"),
|
||||
LIST_FAIL(53002, "查询用户日活跃数范围列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询用户日活跃数范围对象失败"),
|
||||
SAVE_FAIL(53004, "保存用户日活跃数范围失败"),
|
||||
UPDATE_FAIL(53005, "修改用户日活跃数范围失败"),
|
||||
DEL_FAIL(53006, "删除用户日活跃数范围失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DauRangeEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DauTimeEnum.java
|
||||
* @Description 用户活跃数时段枚举
|
||||
*/
|
||||
|
||||
public enum DauTimeEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询用户活跃数时段分页失败"),
|
||||
LIST_FAIL(53002, "查询用户活跃数时段列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询用户活跃数时段对象失败"),
|
||||
SAVE_FAIL(53004, "保存用户活跃数时段失败"),
|
||||
UPDATE_FAIL(53005, "修改用户活跃数时段失败"),
|
||||
DEL_FAIL(53006, "删除用户活跃数时段失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DauTimeEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DnuCityEnum.java
|
||||
* @Description 新增用户所属城市枚举
|
||||
*/
|
||||
|
||||
public enum DnuCityEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询新增用户所属城市分页失败"),
|
||||
LIST_FAIL(53002, "查询新增用户所属城市列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询新增用户所属城市对象失败"),
|
||||
SAVE_FAIL(53004, "保存新增用户所属城市失败"),
|
||||
UPDATE_FAIL(53005, "修改新增用户所属城市失败"),
|
||||
DEL_FAIL(53006, "删除新增用户所属城市失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DnuCityEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DnuEnum.java
|
||||
* @Description 日新增用户数枚举
|
||||
*/
|
||||
|
||||
public enum DnuEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日新增用户数分页失败"),
|
||||
LIST_FAIL(53002, "查询日新增用户数列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日新增用户数对象失败"),
|
||||
SAVE_FAIL(53004, "保存日新增用户数失败"),
|
||||
UPDATE_FAIL(53005, "修改日新增用户数失败"),
|
||||
DEL_FAIL(53006, "删除日新增用户数失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DnuEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureCategoryEnum.java
|
||||
* @Description 日投保分类明细枚举
|
||||
*/
|
||||
|
||||
public enum DoInsureCategoryEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日投保分类明细分页失败"),
|
||||
LIST_FAIL(53002, "查询日投保分类明细列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日投保分类明细对象失败"),
|
||||
SAVE_FAIL(53004, "保存日投保分类明细失败"),
|
||||
UPDATE_FAIL(53005, "修改日投保分类明细失败"),
|
||||
DEL_FAIL(53006, "删除日投保分类明细失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DoInsureCategoryEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureCityDuvEnum.java
|
||||
* @Description 城市日投保用户访问数枚举
|
||||
*/
|
||||
|
||||
public enum DoInsureCityDuvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询城市日投保用户访问数分页失败"),
|
||||
LIST_FAIL(53002, "查询城市日投保用户访问数列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询城市日投保用户访问数对象失败"),
|
||||
SAVE_FAIL(53004, "保存城市日投保用户访问数失败"),
|
||||
UPDATE_FAIL(53005, "修改城市日投保用户访问数失败"),
|
||||
DEL_FAIL(53006, "删除城市日投保用户访问数失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DoInsureCityDuvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureConversionDpvEnum.java
|
||||
* @Description 投保转换率枚举
|
||||
*/
|
||||
|
||||
public enum DoInsureConversionDpvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询投保转换率分页失败"),
|
||||
LIST_FAIL(53002, "查询投保转换率列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询投保转换率对象失败"),
|
||||
SAVE_FAIL(53004, "保存投保转换率失败"),
|
||||
UPDATE_FAIL(53005, "修改投保转换率失败"),
|
||||
DEL_FAIL(53006, "删除投保转换率失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DoInsureConversionDpvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureDetailDayEnum.java
|
||||
* @Description 日投保明细枚举
|
||||
*/
|
||||
|
||||
public enum DoInsureDetailDayEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日投保明细分页失败"),
|
||||
LIST_FAIL(53002, "查询日投保明细列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日投保明细对象失败"),
|
||||
SAVE_FAIL(53004, "保存日投保明细失败"),
|
||||
UPDATE_FAIL(53005, "修改日投保明细失败"),
|
||||
DEL_FAIL(53006, "删除日投保明细失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DoInsureDetailDayEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureDpvEnum.java
|
||||
* @Description 日投保访问页面量枚举
|
||||
*/
|
||||
|
||||
public enum DoInsureDpvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日投保访问页面量分页失败"),
|
||||
LIST_FAIL(53002, "查询日投保访问页面量列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日投保访问页面量对象失败"),
|
||||
SAVE_FAIL(53004, "保存日投保访问页面量失败"),
|
||||
UPDATE_FAIL(53005, "修改日投保访问页面量失败"),
|
||||
DEL_FAIL(53006, "删除日投保访问页面量失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DoInsureDpvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureDuvEnum.java
|
||||
* @Description 日投保用户访问数枚举
|
||||
*/
|
||||
|
||||
public enum DoInsureDuvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日投保用户访问数分页失败"),
|
||||
LIST_FAIL(53002, "查询日投保用户访问数列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日投保用户访问数对象失败"),
|
||||
SAVE_FAIL(53004, "保存日投保用户访问数失败"),
|
||||
UPDATE_FAIL(53005, "修改日投保用户访问数失败"),
|
||||
DEL_FAIL(53006, "删除日投保用户访问数失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DoInsureDuvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureFailDpvEnum.java
|
||||
* @Description 日投保访问失败页面量枚举
|
||||
*/
|
||||
|
||||
public enum DoInsureFailDpvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日投保访问失败页面量分页失败"),
|
||||
LIST_FAIL(53002, "查询日投保访问失败页面量列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日投保访问失败页面量对象失败"),
|
||||
SAVE_FAIL(53004, "保存日投保访问失败页面量失败"),
|
||||
UPDATE_FAIL(53005, "修改日投保访问失败页面量失败"),
|
||||
DEL_FAIL(53006, "删除日投保访问失败页面量失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DoInsureFailDpvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureGenderDuvEnum.java
|
||||
* @Description 性别日投保用户访问数枚举
|
||||
*/
|
||||
|
||||
public enum DoInsureGenderDuvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询性别日投保用户访问数分页失败"),
|
||||
LIST_FAIL(53002, "查询性别日投保用户访问数列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询性别日投保用户访问数对象失败"),
|
||||
SAVE_FAIL(53004, "保存性别日投保用户访问数失败"),
|
||||
UPDATE_FAIL(53005, "修改性别日投保用户访问数失败"),
|
||||
DEL_FAIL(53006, "删除性别日投保用户访问数失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DoInsureGenderDuvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DpvEnum.java
|
||||
* @Description 日访问页面量枚举
|
||||
*/
|
||||
|
||||
public enum DpvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日访问页面量分页失败"),
|
||||
LIST_FAIL(53002, "查询日访问页面量列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日访问页面量对象失败"),
|
||||
SAVE_FAIL(53004, "保存日访问页面量失败"),
|
||||
UPDATE_FAIL(53005, "修改日访问页面量失败"),
|
||||
DEL_FAIL(53006, "删除日访问页面量失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DpvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.points.enums;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.enums.basic.IBaseEnum;
|
||||
|
||||
/**
|
||||
* @ClassName DuvEnum.java
|
||||
* @Description 日唯一访问量枚举
|
||||
*/
|
||||
|
||||
public enum DuvEnum implements IBaseEnum {
|
||||
|
||||
PAGE_FAIL(53001, "查询日唯一访问量分页失败"),
|
||||
LIST_FAIL(53002, "查询日唯一访问量列表失败"),
|
||||
FIND_ONE_FAIL(53003, "查询日唯一访问量对象失败"),
|
||||
SAVE_FAIL(53004, "保存日唯一访问量失败"),
|
||||
UPDATE_FAIL(53005, "修改日唯一访问量失败"),
|
||||
DEL_FAIL(53006, "删除日唯一访问量失败")
|
||||
;
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String msg;
|
||||
|
||||
DuvEnum(Integer code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package com.itheima.sfbx.points.feign;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.log.LogBusinessVO;
|
||||
import com.itheima.sfbx.framework.commons.utils.BeanConv;
|
||||
import com.itheima.sfbx.points.pojo.BusinessLog;
|
||||
import com.itheima.sfbx.points.service.IBusinessLogService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @ClassName BusinessReportFeignController.java
|
||||
* @Description 业务统计
|
||||
*/
|
||||
@Slf4j
|
||||
@Api(tags = "持久化:业务收集")
|
||||
@RestController
|
||||
@RequestMapping("business-log-feign")
|
||||
public class BusinessLogFeignController {
|
||||
|
||||
@Autowired
|
||||
IBusinessLogService businessLogService;
|
||||
|
||||
/**
|
||||
* 持久化:日志信息
|
||||
* @param logBusinessVO 日志对象
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("create-business-log")
|
||||
@ApiOperation(value = "日志信息", notes = "日志信息")
|
||||
@ApiImplicitParam(name = "logBusinessVO", value = "日志对象", required = true, dataType = "LogBusinessVO")
|
||||
public Boolean createBusinessLog(@RequestBody LogBusinessVO logBusinessVO) {
|
||||
return businessLogService.createBusinessLog(BeanConv.toBean(logBusinessVO, BusinessLog.class));
|
||||
}
|
||||
}
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
package com.itheima.sfbx.points.feign;
|
||||
|
||||
import com.itheima.sfbx.points.service.IBusinessReportService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @ClassName BusinessReportFeignController.java
|
||||
* @Description 业务统计
|
||||
*/
|
||||
@Slf4j
|
||||
@Api(tags = "计划任务:业务统计")
|
||||
@RestController
|
||||
@RequestMapping("business-report-feign")
|
||||
public class BusinessReportFeignController {
|
||||
|
||||
@Autowired
|
||||
IBusinessReportService businessReportService;
|
||||
|
||||
/**
|
||||
* 日投保访页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("do-insure-dpv-job/{reportTime}")
|
||||
@ApiOperation(value = "日投保访问页面量", notes = "日投保访问页面量")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean doInsureDpvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return businessReportService.doInsureDpvJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("do-insure-duv-job/{reportTime}")
|
||||
@ApiOperation(value = "日投保用户访问数", notes = "日投保用户访问数")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean doInsureDuvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return businessReportService.doInsureDuvJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 日保险分类访问页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("category-dpv-job/{reportTime}")
|
||||
@ApiOperation(value = "日保险分类访问页面量", notes = "日保险分类访问页面量")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean categoryDpvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return businessReportService.categoryDpvJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 性别日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("do-insure-gender-duv-job/{reportTime}")
|
||||
@ApiOperation(value = "性别日投保用户访问数", notes = "性别日投保用户访问数")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean doInsureGenderDuvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return businessReportService.doInsureGenderDuvJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 城市日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("do-insure-city-duv-job/{reportTime}")
|
||||
@ApiOperation(value = "城市日投保用户访问数", notes = "城市日投保用户访问数")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean doInsureCityDuvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return businessReportService.doInsureCityDuvJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 投保转换率
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("do-insure-conversion-dpv-job/{reportTime}")
|
||||
@ApiOperation(value = "投保转换率", notes = "投保转换率")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean doInsureConversionDpvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return businessReportService.doInsureConversionDpvJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 日投保访问失败页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("do-insure-fail-dpv-job/{reportTime}")
|
||||
@ApiOperation(value = "日投保访问失败页面量", notes = "日投保访问失败页面量")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean doInsureFailDpvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return businessReportService.doInsureFailDpvJob(reportTime);
|
||||
}
|
||||
|
||||
}
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
package com.itheima.sfbx.points.feign;
|
||||
|
||||
import com.itheima.sfbx.points.service.ICustomerReportService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @ClassName CustomerReportFeignController.java
|
||||
* @Description 用户统计
|
||||
*/
|
||||
@Slf4j
|
||||
@Api(tags = "计划任务:用户统计")
|
||||
@RestController
|
||||
@RequestMapping("customer-report-feign")
|
||||
public class CustomerReportFeignController {
|
||||
|
||||
@Autowired
|
||||
ICustomerReportService customerReportService;
|
||||
|
||||
/**
|
||||
* 日新增用户数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("dnu-job/{reportTime}")
|
||||
@ApiOperation(value = "日新增用户数", notes = "日新增用户数")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean dnuJob(@PathVariable("reportTime") String reportTime) {
|
||||
return customerReportService.dnuJob(reportTime);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 日新增注册用户归属城市
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("dnu-city-job/{reportTime}")
|
||||
@ApiOperation(value = "日新增注册用户归属城市", notes = "日新增注册用户归属城市")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean dnuCityJob(@PathVariable("reportTime") String reportTime) {
|
||||
return customerReportService.dnuCityJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户日活跃数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("dau-job/{reportTime}")
|
||||
@ApiOperation(value = "用户日活跃数", notes = "用户日活跃数")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean dauJob(@PathVariable("reportTime") String reportTime) {
|
||||
return customerReportService.dauJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户每时活跃数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("dau-time-job/{reportTime}")
|
||||
@ApiOperation(value = "用户每时活跃数", notes = "用户每时活跃数")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean dauTimeJob(@PathVariable("reportTime") String reportTime) {
|
||||
return customerReportService.dauTimeJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 日访问量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("dpv-job/{reportTime}")
|
||||
@ApiOperation(value = "日访问量", notes = "日访问量")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean dpvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return customerReportService.dpvJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 日用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("duv-job/{reportTime}")
|
||||
@ApiOperation(value = "日用户访问数", notes = "日用户访问数")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean duvJob(@PathVariable("reportTime") String reportTime) {
|
||||
return customerReportService.duvJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户日活跃数范围
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("dau-range-job/{reportTime}")
|
||||
@ApiOperation(value = "用户日活跃数范围", notes = "用户日活跃数范围")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean dauRangeJob(@PathVariable("reportTime") String reportTime) {
|
||||
return customerReportService.dauRangeJob(reportTime);
|
||||
}
|
||||
}
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
package com.itheima.sfbx.points.feign;
|
||||
|
||||
import com.itheima.sfbx.points.service.IBusinessReportService;
|
||||
import com.itheima.sfbx.points.service.ISaleReportService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @ClassName SaleReportFeignController.java
|
||||
* @Description 销售统计
|
||||
*/
|
||||
@Slf4j
|
||||
@Api(tags = "计划任务:销售统计")
|
||||
@RestController
|
||||
@RequestMapping("sale-report-feign")
|
||||
public class SaleReportFeignController {
|
||||
|
||||
@Autowired
|
||||
ISaleReportService saleReportService;
|
||||
|
||||
/**
|
||||
* 日投保额度明细
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("do-insure-details-day-job/{reportTime}")
|
||||
@ApiOperation(value = "日投保额度明细", notes = "日投保额度明细")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean doInsureDetailsDayJob(@PathVariable("reportTime") String reportTime) {
|
||||
return saleReportService.doInsureDetailDayJob(reportTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 日投保分类明细
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
@PostMapping("doInsure-category-job/{reportTime}")
|
||||
@ApiOperation(value = "日投保分类明细", notes = "日投保分类明细")
|
||||
@ApiImplicitParam(name = "reportTime", value = "统计时间", required = true, dataType = "String")
|
||||
public Boolean doInsureCategoryJob(@PathVariable("reportTime") String reportTime) {
|
||||
return saleReportService.doInsureCategoryJob(reportTime);
|
||||
}
|
||||
|
||||
}
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.framework.influxdb.InfluxDBBaseMapper;
|
||||
import com.itheima.sfbx.framework.influxdb.anno.Param;
|
||||
import com.itheima.sfbx.framework.influxdb.anno.Select;
|
||||
import com.itheima.sfbx.points.pojo.BusinessLog;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* BusinessLogMapper
|
||||
*
|
||||
* @describe: 数据埋点日志持久层(influxDB)
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Mapper
|
||||
public interface BusinessLogMapper extends InfluxDBBaseMapper {
|
||||
|
||||
/**
|
||||
* 每日新注册用户
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT * FROM log WHERE response_code = '200' and time > #{begin} and time < #{end} and request_uri =~/register-user/",resultType = BusinessLog.class,database = "point_data")
|
||||
List<BusinessLog> dnu(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 每日所有活跃用户userIds
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(DISTINCT(user_id)) as user_id FROM log WHERE time > #{begin} and time < #{end} ",resultType = String.class,database = "point_data")
|
||||
List<String> allDauForUserId(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 每日新注册用户request_body
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT response_body FROM log WHERE response_code = '200' and time > #{begin} and time < #{end} and request_uri =~/register-user/",resultType = String.class,database = "point_data")
|
||||
List<String> newDnuForResponseBody(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 日访问量
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(request_id) FROM log WHERE time > #{begin} and time < #{end} ",resultType = Integer.class,database = "point_data")
|
||||
Integer dpv(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 日用户访问量
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(DISTINCT(user_id)) FROM log WHERE time > #{begin} and time < #{end} ",resultType = Integer.class,database = "point_data")
|
||||
Integer duv(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 每日点击首页业务记录
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT * FROM log WHERE response_code = '200' and time > #{begin} and time < #{end} and request_uri =~/find-index-category-product/",resultType = BusinessLog.class,database = "point_data")
|
||||
List<BusinessLog> dpvForIndex(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 日投保访问失败页面量
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(request_id) FROM log WHERE time > #{begin} and time < #{end} and request_uri =~/do-insure/ and response_code != 200 ",resultType = Integer.class,database = "point_data")
|
||||
Integer doInsureFailDpv(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 日投保访问页面量
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(request_id) FROM log WHERE time > #{begin} and time < #{end} and request_uri =~/do-insure/",resultType = Integer.class,database = "point_data")
|
||||
Integer doInsureDpv(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 日保险浏览页面量
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(request_id) FROM log WHERE time > #{begin} and time < #{end} and request_uri =~/.*find-insurance\\/.*/",resultType = Integer.class,database = "point_data")
|
||||
Integer doBrowseDpv(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 日投保试算次数
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(request_id) FROM log WHERE time > #{begin} and time < #{end} and (request_uri =~/do-premium/ or request_uri =~/do-earnings/ )",resultType = Integer.class,database = "point_data")
|
||||
Integer doTrialDpv(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 日投保用户访问数
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(DISTINCT(user_id)) FROM log WHERE time > #{begin} and time < #{end} and request_uri =~/do-insure/",resultType = Integer.class,database = "point_data")
|
||||
Integer doInsureDuv(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 日保险分类访问记录
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT response_body FROM log WHERE time > #{begin} and time < #{end} and request_uri =~/.*find-insurance\\/.*/",resultType = String.class,database = "point_data")
|
||||
List<String> categoryDpvForResponseBody(@Param("begin")String begin, @Param("end")String end);
|
||||
|
||||
/**
|
||||
* 性别日投保访问页面量
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT COUNT(DISTINCT(user_id)) FROM log WHERE time > #{begin} and time < #{end} and request_uri =~/do-insure/ and sex =#{sex}",resultType = Integer.class,database = "point_data")
|
||||
Integer doInsureGenderDuv(@Param("begin")String begin, @Param("end")String end, @Param("sex")String sex);
|
||||
|
||||
/**
|
||||
* 计划任务:城市日投保用户访问数
|
||||
* @param begin
|
||||
* @param end
|
||||
* @return
|
||||
*/
|
||||
@Select(value = "SELECT * FROM log WHERE time > #{begin} and time < #{end} and request_uri =~/do-insure/ ",resultType = BusinessLog.class,database = "point_data")
|
||||
List<BusinessLog> doInsureCityDuv(@Param("begin")String begin, @Param("end")String end);
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.CategoryDpv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日保险分类访问页面量Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface CategoryDpvMapper extends BaseMapper<CategoryDpv> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.Dau;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DauMapper extends BaseMapper<Dau> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DauRange;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数范围Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DauRangeMapper extends BaseMapper<DauRange> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DauTime;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:用户活跃数时段Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DauTimeMapper extends BaseMapper<DauTime> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DnuCity;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:新增用户所属城市Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DnuCityMapper extends BaseMapper<DnuCity> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.Dnu;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日新增用户数Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DnuMapper extends BaseMapper<Dnu> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DoInsureCategory;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日投保分类明细Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DoInsureCategoryMapper extends BaseMapper<DoInsureCategory> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DoInsureCityDuv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:城市日投保用户访问数Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DoInsureCityDuvMapper extends BaseMapper<DoInsureCityDuv> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DoInsureConversionDpv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:投保转换率Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DoInsureConversionDpvMapper extends BaseMapper<DoInsureConversionDpv> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DoInsureDetailDay;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日投保明细Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DoInsureDetailDayMapper extends BaseMapper<DoInsureDetailDay> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DoInsureDpv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日投保访问页面量Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DoInsureDpvMapper extends BaseMapper<DoInsureDpv> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DoInsureDuv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日投保用户访问数Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DoInsureDuvMapper extends BaseMapper<DoInsureDuv> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DoInsureFailDpv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日投保访问失败页面量Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DoInsureFailDpvMapper extends BaseMapper<DoInsureFailDpv> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.DoInsureGenderDuv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:性别日投保用户访问数Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DoInsureGenderDuvMapper extends BaseMapper<DoInsureGenderDuv> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.Dpv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日访问页面量Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DpvMapper extends BaseMapper<Dpv> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.mapper;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.Duv;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @Description:日唯一访问量Mapper接口
|
||||
*/
|
||||
@Mapper
|
||||
public interface DuvMapper extends BaseMapper<Duv> {
|
||||
|
||||
}
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.influxdb.annotation.Column;
|
||||
import org.influxdb.annotation.Measurement;
|
||||
|
||||
/**
|
||||
* BusinessLog.java
|
||||
* @describe: 数据埋点实体类--入库时间序列数据库
|
||||
*/
|
||||
@Data
|
||||
@Measurement(database = "point_data", name = "log")
|
||||
public class BusinessLog {
|
||||
|
||||
@ApiModelProperty(value = "请求id")
|
||||
@Column(name = "request_id")
|
||||
public String requestId;
|
||||
|
||||
@ApiModelProperty(value = "域名")
|
||||
@Column(name = "host")
|
||||
public String host;
|
||||
|
||||
@ApiModelProperty(value = "ip地址")
|
||||
@Column(name = "host_address")
|
||||
public String hostAddress;
|
||||
|
||||
@ApiModelProperty(value = "请求路径")
|
||||
@Column(name = "request_uri", tag = true)
|
||||
public String requestUri;
|
||||
|
||||
@ApiModelProperty(value = "请求方式")
|
||||
@Column(name = "request_method", tag = true)
|
||||
public String requestMethod;
|
||||
|
||||
@ApiModelProperty(value = "请求body")
|
||||
@Column(name = "request_body")
|
||||
public String requestBody;
|
||||
|
||||
@ApiModelProperty(value = "应答body")
|
||||
@Column(name = "response_body")
|
||||
public String responseBody;
|
||||
|
||||
@ApiModelProperty(value = "应答code")
|
||||
@Column(name = "response_code", tag = true)
|
||||
public String responseCode;
|
||||
|
||||
@ApiModelProperty(value = "应答msg")
|
||||
@Column(name = "response_msg")
|
||||
public String responseMsg;
|
||||
|
||||
@ApiModelProperty(value = "用户")
|
||||
@Column(name = "user_id")
|
||||
public String userId;
|
||||
|
||||
@ApiModelProperty(value = "用户名称")
|
||||
@Column(name = "user_name")
|
||||
public String userName;
|
||||
|
||||
@ApiModelProperty(value = "业务类型")
|
||||
@Column(name = "business_type")
|
||||
public String businessType;
|
||||
|
||||
@ApiModelProperty(value = "设备号")
|
||||
@Column(name = "device_number")
|
||||
public String deviceNumber;
|
||||
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
@Column(name = "company_no")
|
||||
public String companyNO;
|
||||
|
||||
@ApiModelProperty(value = "性别")
|
||||
@Column(name = "sex")
|
||||
public String sex;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
@Column(name = "create_by")
|
||||
public Long createBy;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
@Column(name = "update_by")
|
||||
public Long updateBy;
|
||||
|
||||
@ApiModelProperty(value = "数据标志位")
|
||||
@Column(name = "data_state", tag = true)
|
||||
public String dataState ="0";
|
||||
|
||||
@ApiModelProperty(value = "省")
|
||||
@Column(name = "province")
|
||||
public String province;
|
||||
|
||||
@ApiModelProperty(value = "市")
|
||||
@Column(name = "city")
|
||||
public String city;
|
||||
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日保险分类访问页面量
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_category_dpv")
|
||||
@ApiModel(value="CategoryDpv对象", description="日保险分类访问页面量")
|
||||
public class CategoryDpv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public CategoryDpv(Long id, String dataState, Long categoryDpv, String categoryName, LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.categoryDpv=categoryDpv;
|
||||
this.categoryName=categoryName;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "日保险分类访问页面量")
|
||||
private Long categoryDpv;
|
||||
|
||||
@ApiModelProperty(value = "保险分类名称")
|
||||
private String categoryName;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_dau")
|
||||
@ApiModel(value="Dau对象", description="用户日活跃数")
|
||||
public class Dau extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public Dau(Long id,String dataState,Long allDau,Long newDau,Long oldDau,LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.allDau=allDau;
|
||||
this.newDau=newDau;
|
||||
this.oldDau=oldDau;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "总用户活跃数")
|
||||
private Long allDau;
|
||||
|
||||
@ApiModelProperty(value = "老用户活跃数")
|
||||
private Long newDau;
|
||||
|
||||
@ApiModelProperty(value = "新用户活跃数")
|
||||
private Long oldDau;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数范围
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_dau_range")
|
||||
@ApiModel(value="DauRange对象", description="用户日活跃数范围")
|
||||
public class DauRange extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DauRange(Long id, String dataState, String dauRang, Long userNum, LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.dauRang=dauRang;
|
||||
this.userNum=userNum;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "活跃数区间")
|
||||
private String dauRang;
|
||||
|
||||
@ApiModelProperty(value = "用户数")
|
||||
private Long userNum;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:用户活跃数时段
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_dau_time")
|
||||
@ApiModel(value="DauTime对象", description="用户活跃数时段")
|
||||
public class DauTime extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DauTime(Long id,String dataState,Long dau,LocalDateTime reportTime){
|
||||
super(id, dataState);
|
||||
this.dau=dau;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "活跃用户数")
|
||||
private Long dau;
|
||||
|
||||
@ApiModelProperty(value = "统计时间【精确到时分秒】")
|
||||
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//set
|
||||
private LocalDateTime reportTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日新增用户数
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_dnu")
|
||||
@ApiModel(value="Dnu对象", description="日新增用户数")
|
||||
public class Dnu extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public Dnu(Long id,String dataState,Long dnu,LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.dnu=dnu;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "日新增用户数")
|
||||
private Long dnu;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:新增用户所属城市
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_dnu_city")
|
||||
@ApiModel(value="DnuCity对象", description="新增用户所属城市")
|
||||
public class DnuCity extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DnuCity(Long id,String dataState,Long dnu,String city,LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.dnu=dnu;
|
||||
this.city=city;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "新增用户数")
|
||||
private Long dnu;
|
||||
|
||||
@ApiModelProperty(value = "市")
|
||||
private String city;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日投保分类明细
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_do_insure_category")
|
||||
@ApiModel(value="DoInsureCategory对象", description="日投保分类明细")
|
||||
public class DoInsureCategory extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DoInsureCategory(Long id, String dataState, String categoryName, Long doInsureNums, LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.categoryName=categoryName;
|
||||
this.doInsureNums=doInsureNums;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险分类名称")
|
||||
private String categoryName;
|
||||
|
||||
@ApiModelProperty(value = "投保次数")
|
||||
private Long doInsureNums;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:城市日投保用户访问数
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_do_insure_city_duv")
|
||||
@ApiModel(value="DoInsureCityDuv对象", description="城市日投保用户访问数")
|
||||
public class DoInsureCityDuv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DoInsureCityDuv(Long id,String dataState,String cityName,Long doInsureCityDuv,LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.cityName=cityName;
|
||||
this.doInsureCityDuv=doInsureCityDuv;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "城市")
|
||||
private String cityName;
|
||||
|
||||
@ApiModelProperty(value = "城市日投保唯一访问量")
|
||||
private Long doInsureCityDuv;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:投保转换率
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_do_insure_conversion_dpv")
|
||||
@ApiModel(value="DoInsureConversionDpv对象", description="投保转换率")
|
||||
public class DoInsureConversionDpv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DoInsureConversionDpv(Long id, String dataState, Long doBrowseDpv, Long doTrialDpv, Long doInsureDpv, LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.doBrowseDpv=doBrowseDpv;
|
||||
this.doTrialDpv=doTrialDpv;
|
||||
this.doInsureDpv=doInsureDpv;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "投保浏览次数")
|
||||
private Long doBrowseDpv;
|
||||
|
||||
@ApiModelProperty(value = "投保试算次数")
|
||||
private Long doTrialDpv;
|
||||
|
||||
@ApiModelProperty(value = "投保提交次数")
|
||||
private Long doInsureDpv;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import java.math.BigDecimal;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日投保明细
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_do_insure_detail_day")
|
||||
@ApiModel(value="DoInsureDetailDay对象", description="日投保明细")
|
||||
public class DoInsureDetailDay extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DoInsureDetailDay(Long persons,Long id, String dataState, BigDecimal totalAmountDay, BigDecimal avgPieceAmountDay, BigDecimal avgPersonAmountDay, Long totalWarrantyDay, LocalDate reportTime) {
|
||||
super(id, dataState);
|
||||
this.totalAmountDay = totalAmountDay;
|
||||
this.avgPieceAmountDay = avgPieceAmountDay;
|
||||
this.avgPersonAmountDay = avgPersonAmountDay;
|
||||
this.totalWarrantyDay = totalWarrantyDay;
|
||||
this.persons = persons;
|
||||
this.reportTime = reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "日投保总额度")
|
||||
private BigDecimal totalAmountDay;
|
||||
|
||||
@ApiModelProperty(value = "日投保件均额度")
|
||||
private BigDecimal avgPieceAmountDay;
|
||||
|
||||
@ApiModelProperty(value = "日投保人均额度")
|
||||
private BigDecimal avgPersonAmountDay;
|
||||
|
||||
@ApiModelProperty(value = "日总合同数")
|
||||
private Long totalWarrantyDay;
|
||||
|
||||
@ApiModelProperty(value = "投保人数")
|
||||
private Long persons;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日投保访问页面量
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_do_insure_dpv")
|
||||
@ApiModel(value="DoInsureDpv对象", description="日投保访问页面量")
|
||||
public class DoInsureDpv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DoInsureDpv(Long id,String dataState,Long doInsureDpv,LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.doInsureDpv=doInsureDpv;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "日投保访问页面量")
|
||||
private Long doInsureDpv;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日投保用户访问数
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_do_insure_duv")
|
||||
@ApiModel(value="DoInsureDuv对象", description="日投保用户访问数")
|
||||
public class DoInsureDuv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DoInsureDuv(Long id,String dataState,Long doInsureDuv,LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.doInsureDuv=doInsureDuv;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "日投保唯一访问量")
|
||||
private Long doInsureDuv;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日投保访问失败页面量
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_do_insure_fail_dpv")
|
||||
@ApiModel(value="DoInsureFailDpv对象", description="日投保访问失败页面量")
|
||||
public class DoInsureFailDpv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DoInsureFailDpv(Long id, String dataState, Long doInsureFailDpv, LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.doInsureFailDpv=doInsureFailDpv;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "日投保访页失败面问量")
|
||||
private Long doInsureFailDpv;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:性别日投保用户访问数
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_do_insure_gender_duv")
|
||||
@ApiModel(value="DoInsureGenderDuv对象", description="性别日投保用户访问数")
|
||||
public class DoInsureGenderDuv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public DoInsureGenderDuv(Long id, String dataState, Long manDpv, Long womanDpv, LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.manDpv=manDpv;
|
||||
this.womanDpv=womanDpv;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "男:日投保访页面问量")
|
||||
private Long manDpv;
|
||||
|
||||
@ApiModelProperty(value = "女:日投保访页面问量")
|
||||
private Long womanDpv;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日访问页面量
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_dpv")
|
||||
@ApiModel(value="Dpv对象", description="日访问页面量")
|
||||
public class Dpv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public Dpv(Long id,String dataState,Long dpv,LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.dpv=dpv;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "日访问页面量")
|
||||
private Long dpv;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.itheima.sfbx.points.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
||||
import com.itheima.sfbx.framework.mybatisplus.basic.BasePojo;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description:日唯一访问量
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("tab_duv")
|
||||
@ApiModel(value="Duv对象", description="日唯一访问量")
|
||||
public class Duv extends BasePojo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Builder
|
||||
public Duv(Long id,String dataState,Long duv,LocalDate reportTime){
|
||||
super(id, dataState);
|
||||
this.duv=duv;
|
||||
this.reportTime=reportTime;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "日唯一访问量")
|
||||
private Long duv;
|
||||
|
||||
@ApiModelProperty(value = "统计时间")
|
||||
@JsonDeserialize(using = LocalDateDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate reportTime;
|
||||
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.itheima.sfbx.points.pojo.BusinessLog;
|
||||
|
||||
/**
|
||||
* @ClassName IBusinessLogService.java
|
||||
* @Description 日志服务接口
|
||||
*/
|
||||
public interface IBusinessLogService {
|
||||
|
||||
/**
|
||||
* 持久化日志信息
|
||||
* @param businessLog 日志对象
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean createBusinessLog(BusinessLog businessLog);
|
||||
}
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.itheima.sfbx.points.vo.analysis.DoInsureFailDpvVO;
|
||||
import com.itheima.sfbx.points.vo.table.FunnelPlotChartsVO;
|
||||
import com.itheima.sfbx.points.vo.table.StackingChartsVO;
|
||||
|
||||
/**
|
||||
* @ClassName IBusinessReportService.java
|
||||
* @Description 业务统计接口
|
||||
*/
|
||||
public interface IBusinessReportService {
|
||||
|
||||
/**
|
||||
* 计划任务:日投保访问页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean doInsureDpvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean doInsureDuvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:日保险分类访问页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean categoryDpvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:性别日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean doInsureGenderDuvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:城市日投保用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean doInsureCityDuvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:投保转换率
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean doInsureConversionDpvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:日投保访问失败页面量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean doInsureFailDpvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 数据展示:7日|点击立即投保用户数/次数
|
||||
* @param startTime
|
||||
* @param endTime
|
||||
* @return
|
||||
*/
|
||||
StackingChartsVO doInsureDpvDuv(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:7日|各险种点击率
|
||||
* @param startTime
|
||||
* @param endTime
|
||||
* @return
|
||||
*/
|
||||
StackingChartsVO categoryDpv(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:30日|投保用户性别分布
|
||||
* @param startTime
|
||||
* @param endTime
|
||||
* @return
|
||||
*/
|
||||
StackingChartsVO doInsureGenderDuv(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:30日|投保用户城市分布
|
||||
* @param startTime
|
||||
* @param endTime
|
||||
* @return
|
||||
*/
|
||||
StackingChartsVO doInsureCityDuv(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:投保流程转换漏斗
|
||||
* @param startTime
|
||||
* @param endTime
|
||||
* @return
|
||||
*/
|
||||
FunnelPlotChartsVO doInsureConversionDpv(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:30日|投保提交失败次数
|
||||
* @param startTime 开始时间
|
||||
* @param endTime 结束时间
|
||||
* @return DauVO
|
||||
*/
|
||||
DoInsureFailDpvVO doInsureFailDpv(String startTime, String endTime);
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.CategoryDpv;
|
||||
|
||||
/**
|
||||
* @Description:日保险分类访问页面量服务类
|
||||
*/
|
||||
public interface ICategoryDpvService extends IService<CategoryDpv> {
|
||||
|
||||
|
||||
}
|
||||
+116
@@ -0,0 +1,116 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.itheima.sfbx.points.vo.analysis.DauTimeVO;
|
||||
import com.itheima.sfbx.points.vo.analysis.DauVO;
|
||||
import com.itheima.sfbx.points.vo.analysis.DnuVO;
|
||||
import com.itheima.sfbx.points.vo.table.LineChartsVO;
|
||||
import com.itheima.sfbx.points.vo.table.PiChartsVO;
|
||||
import com.itheima.sfbx.points.vo.table.StackingChartsVO;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName ICustomerReport.java
|
||||
* @Description 用户统计接口
|
||||
*/
|
||||
public interface ICustomerReportService {
|
||||
|
||||
|
||||
/**
|
||||
* 计划任务:日新增用户数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean dnuJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:日新增注册用户归属城市
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean dnuCityJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:用户日活跃数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean dauJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:用户每时活跃数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean dauTimeJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:日访问量
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean dpvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:日用户访问数
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean duvJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 计划任务:用户日活跃数范围
|
||||
* @param reportTime 统计时间
|
||||
* @return 是否执行成功
|
||||
*/
|
||||
Boolean dauRangeJob(String reportTime);
|
||||
|
||||
/**
|
||||
* 数据展示:日新增用户数
|
||||
* @param startTime 开始时间
|
||||
* @param endTime 结束时间
|
||||
* @return DnuVO
|
||||
*/
|
||||
DnuVO dnu(String startTime,String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:日新增用户所属城市
|
||||
* @param startTime 开始时间
|
||||
* @param endTime 结束时间
|
||||
* @return DnuVO
|
||||
*/
|
||||
List<PiChartsVO> dnuCity(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:30日|活跃用户数趋势
|
||||
* @param startTime 开始时间
|
||||
* @param endTime 结束时间
|
||||
* @return DauVO
|
||||
*/
|
||||
DauVO dau(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:30日|新老活跃用户结构
|
||||
* @param startTime 开始时间
|
||||
* @param endTime 结束时间
|
||||
* @return DauVO
|
||||
*/
|
||||
StackingChartsVO newOldDau(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:30日|每天活跃次数分布
|
||||
* @param startTime 开始时间
|
||||
* @param endTime 结束时间
|
||||
* @return DauVO
|
||||
*/
|
||||
LineChartsVO dauRange(String startTime, String endTime);
|
||||
|
||||
/**
|
||||
* 数据展示:7日|活跃时段分布
|
||||
* @param startTime 开始时间
|
||||
* @param endTime 结束时间
|
||||
* @return DauVO
|
||||
*/
|
||||
DauTimeVO dauTime(String startTime, String endTime);
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DauRange;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数范围服务类
|
||||
*/
|
||||
public interface IDauRangeService extends IService<DauRange> {
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.Dau;
|
||||
import com.itheima.sfbx.points.pojo.Dnu;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数
|
||||
*/
|
||||
public interface IDauService extends IService<Dau> {
|
||||
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.Dau;
|
||||
import com.itheima.sfbx.points.pojo.DauTime;
|
||||
|
||||
/**
|
||||
* @Description:用户活跃数时段服务接口
|
||||
*/
|
||||
public interface IDauTimeService extends IService<DauTime> {
|
||||
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.Dnu;
|
||||
import com.itheima.sfbx.points.pojo.DnuCity;
|
||||
|
||||
/**
|
||||
* @Description:新增用户所属城市服务类接口
|
||||
*/
|
||||
public interface IDnuCityService extends IService<DnuCity> {
|
||||
|
||||
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.Dnu;
|
||||
|
||||
/**
|
||||
* @Description:用户日活跃数服务类接口
|
||||
*/
|
||||
public interface IDnuService extends IService<Dnu> {
|
||||
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DoInsureCategory;
|
||||
|
||||
/**
|
||||
* @Description:日投保分类明细服务类
|
||||
*/
|
||||
public interface IDoInsureCategoryService extends IService<DoInsureCategory> {
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DoInsureCityDuv;
|
||||
|
||||
/**
|
||||
* @Description:城市日投保用户访问数服务类
|
||||
*/
|
||||
public interface IDoInsureCityDuvService extends IService<DoInsureCityDuv> {
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DoInsureConversionDpv;
|
||||
|
||||
/**
|
||||
* @Description:投保转换率服务类
|
||||
*/
|
||||
public interface IDoInsureConversionDpvService extends IService<DoInsureConversionDpv> {
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DoInsureDetailDay;
|
||||
|
||||
/**
|
||||
* @Description:日投保明细服务类
|
||||
*/
|
||||
public interface IDoInsureDetailDayService extends IService<DoInsureDetailDay> {
|
||||
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DoInsureDpv;
|
||||
|
||||
/**
|
||||
* @Description:日投保访问页面量服务类
|
||||
*/
|
||||
public interface IDoInsureDpvService extends IService<DoInsureDpv> {
|
||||
|
||||
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DoInsureDuv;
|
||||
|
||||
/**
|
||||
* @Description:日投保用户访问数服务类
|
||||
*/
|
||||
public interface IDoInsureDuvService extends IService<DoInsureDuv> {
|
||||
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DoInsureFailDpv;
|
||||
|
||||
/**
|
||||
* @Description:日投保访问失败页面量服务类
|
||||
*/
|
||||
public interface IDoInsureFailDpvService extends IService<DoInsureFailDpv> {
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.DoInsureGenderDuv;
|
||||
|
||||
/**
|
||||
* @Description:性别日投保用户访问数服务类
|
||||
*/
|
||||
public interface IDoInsureGenderDuvService extends IService<DoInsureGenderDuv> {
|
||||
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package com.itheima.sfbx.points.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.itheima.sfbx.points.pojo.Dpv;
|
||||
|
||||
/**
|
||||
* @Description:日访问量服务类接口
|
||||
*/
|
||||
public interface IDpvService extends IService<Dpv> {
|
||||
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user