| | |
| | | |
| | | import com.dg.core.ResultData; |
| | | import com.dg.core.db.gen.entity.*; |
| | | import com.dg.core.db.manual.pojo.AppletUserCount; |
| | | import com.dg.core.service.*; |
| | | import com.dg.core.util.TableDataInfo; |
| | | import io.swagger.annotations.Api; |
| | |
| | | |
| | | @Autowired |
| | | IAreaCodeService iAreaCodeService; |
| | | |
| | | @Autowired |
| | | private ISysUserRecordService iSysUserRecordService; |
| | | |
| | | |
| | | @ApiOperation("首页统计不同状态工单数") |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 小程序用户访问量统计1.累计访问量2.本年访问量 3.本月访问量 4.今日访问量 5.昨日访问 |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "导办工单按区域统计",response = AppletUserCount.class) |
| | | @GetMapping("/selectUserRecordCount") |
| | | public ResultData selectUserRecordCount(){ |
| | | return iSysUserRecordService.selectUserRecordCount(); |
| | | } |
| | | |
| | | /** |
| | | * 小程序用户访问量统计1.近15天 2.近30天 3.近一年 |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "小程序用户访问量统计1.近15天 2.近30天 3.近一年",response = AppletUserCount.class) |
| | | @GetMapping("/selectByDateType") |
| | | public ResultData selectByDateType(@RequestParam("dateType") Integer dateType){ |
| | | return iSysUserRecordService.selectByDateType(dateType); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |