| | |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.sangeshenbian.model.entity.ComAct; |
| | | import com.panzhihua.sangeshenbian.model.query.AnalyticStatisticsQuery; |
| | | import com.panzhihua.sangeshenbian.model.query.AppStaticsQuery; |
| | | import com.panzhihua.sangeshenbian.model.vo.AnalyticStatisticsOneVo; |
| | | import com.panzhihua.sangeshenbian.model.vo.RegionVO; |
| | | import com.panzhihua.sangeshenbian.service.IdentityInformationService; |
| | | import com.panzhihua.sangeshenbian.service.impl.StaticsService; |
| | |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | public R<List<RegionVO>> regionTree() { |
| | | LoginUserInfoVO loginUserInfo = getLoginUserInfo(); |
| | | return R.ok(staticsService.queryRegionTree(loginUserInfo)); |
| | | |
| | | } |
| | | @PostMapping("/part-one") |
| | | @ApiOperation("获取统计分析-第一部分") |
| | | public R<AnalyticStatisticsOneVo> queryStaticsPartOne(@RequestBody AppStaticsQuery query) { |
| | | LoginUserInfoVO loginUserInfo = getLoginUserInfo(); |
| | | return R.ok(staticsService.queryStaticsPartOne(query,loginUserInfo)); |
| | | } |
| | | } |