| | |
| | | package com.stylefeng.guns.modular.system.dao; |
| | | |
| | | import com.stylefeng.guns.modular.system.controller.resp.DataStatisticsOrderYearResp; |
| | | import com.stylefeng.guns.modular.system.controller.resp.PerformanceTableResp; |
| | | import com.stylefeng.guns.modular.system.controller.resp.TOrderResp; |
| | | import com.stylefeng.guns.modular.system.controller.resp.TOrderServerResp; |
| | | import com.stylefeng.guns.modular.system.model.TOrder; |
| | | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @Param("source") Integer source,@Param("userName")String userName, @Param("userPhone")String userPhone, |
| | | @Param("state")Integer state,@Param("driverName")String driverName,@Param("isException") Integer isException, |
| | | @Param("roleType")Integer roleType,@Param("objectId")Integer objectId); |
| | | |
| | | /** |
| | | * 通过年份查询订单数量 |
| | | * @param agentId |
| | | * @return |
| | | */ |
| | | List<DataStatisticsOrderYearResp> getDataStatisticsByYear(@Param("agentId") Integer agentId,@Param("yearDate")String yearDate); |
| | | |
| | | /** |
| | | * 单量 |
| | | * @param agentId |
| | | * @param monthDate |
| | | * @return |
| | | */ |
| | | List<PerformanceTableResp> getDataStatisticsOrderCount(@Param("agentId")Integer agentId, @Param("monthDate")String monthDate); |
| | | |
| | | Integer getDataStatisticsCount(@Param("agentId")Integer agentId, @Param("type")Integer type, @Param("localDate")LocalDate localDate); |
| | | |
| | | Integer getDataStatisticsServerCount(@Param("agentId")Integer agentId, @Param("localDate") LocalDate localDate); |
| | | |
| | | List<TOrderServerResp> getDataStatisticsServerList(@Param("agentId")Integer agentId,@Param("localDate") LocalDate localDate); |
| | | |
| | | List<TOrder> getDataStatisticsAllList(@Param("agentId")Integer agentId,@Param("localDate") LocalDate localDate); |
| | | } |