diff --git a/fengmi-car-management/src/main/java/cn/insectmk/stat/domain/BaseEntity.java b/fengmi-car-management/src/main/java/cn/insectmk/stat/domain/BaseEntity.java new file mode 100644 index 0000000000000000000000000000000000000000..e565e6f42ebd8dccd4f91a0047d5f97424961d19 --- /dev/null +++ b/fengmi-car-management/src/main/java/cn/insectmk/stat/domain/BaseEntity.java @@ -0,0 +1,19 @@ +package cn.insectmk.stat.domain; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * @Description 报表实体对象 + * @Author makun + * @Date 2023/7/5 13:41 + * @Version 1.0 + */ +@Data +@AllArgsConstructor +@NoArgsConstructor +public class BaseEntity { + private String name; + private Double value; +} diff --git a/fengmi-car-management/src/main/java/cn/insectmk/stat/mapper/StatMapper.java b/fengmi-car-management/src/main/java/cn/insectmk/stat/mapper/StatMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..70daadfa1d26d1483f70b12d432b76c7a27b39a5 --- /dev/null +++ b/fengmi-car-management/src/main/java/cn/insectmk/stat/mapper/StatMapper.java @@ -0,0 +1,33 @@ +package cn.insectmk.stat.mapper; + +import cn.insectmk.stat.domain.BaseEntity; + +import java.util.List; + +/** + * @Description 统计服务持久层访问 + * @Author makun + * @Date 2023/7/5 13:44 + * @Version 1.0 + */ +public interface StatMapper { + /** + * 查询业务员年度业绩 + * @param year + * @return + */ + List queryOpernameYearGradeStat(String year); + + /** + * 查询公司年度业务销售额数据 + * @param year + * @return + */ + List queryCompanyYearGradeStat(String year); + + /** + * 查询客户地区的数据 + * @return + */ + List queryCustomerAreaStat(); +}