|
@@ -57,14 +57,14 @@ public class RiBaoYwhController {
|
|
@Autowired
|
|
@Autowired
|
|
private RiBaoService riBaoService;
|
|
private RiBaoService riBaoService;
|
|
|
|
|
|
- // 查询业委会日报小区及统计数据
|
|
|
|
|
|
+ // 查询业委会日报首页小区及统计数据
|
|
@GetMapping("/ywh/getRibaoYwh")
|
|
@GetMapping("/ywh/getRibaoYwh")
|
|
public Model<UptownUnit> getRibaoYwh(@Pd(name = "userId") Long userId) {
|
|
public Model<UptownUnit> getRibaoYwh(@Pd(name = "userId") Long userId) {
|
|
return Model.newSuccess(riBaoService.getRibaoYwh(userId));
|
|
return Model.newSuccess(riBaoService.getRibaoYwh(userId));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- // 查询业委会日报小区对应栋列表
|
|
|
|
|
|
+ // 查询业委会日报首页小区对应栋列表
|
|
@GetMapping("/ywh/queryRibaoYwhDongList")
|
|
@GetMapping("/ywh/queryRibaoYwhDongList")
|
|
public Model<List<UptownUnit>> queryRibaoYwhDongList(@Pd(name = "uptownId") Long uptownId) {
|
|
public Model<List<UptownUnit>> queryRibaoYwhDongList(@Pd(name = "uptownId") Long uptownId) {
|
|
List<UptownUnit> listSuspected = riBaoService.queryRibaoYwhDongList(uptownId);
|
|
List<UptownUnit> listSuspected = riBaoService.queryRibaoYwhDongList(uptownId);
|
|
@@ -72,6 +72,23 @@ public class RiBaoYwhController {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+ // 查询业委会日报某一栋小区单元数据 根据queryRibaoYwhDongList获取栋数据作为参数传递给此接口
|
|
|
|
+ @GetMapping("/ywh/queryDanYuanList")
|
|
|
|
+ public Model<List<UptownUnit>> queryDanYuanList(@Pd(name = "uptownId") Long uptownId, @Pd(name = "ridgepole") Long ridgepole) {
|
|
|
|
+ List<UptownUnit> listSuspected = riBaoService.queryDanYuanList(uptownId, ridgepole);
|
|
|
|
+ return Model.newSuccess(listSuspected);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ // 查询业委会日报某一栋门牌数据 根据queryDanYuanList获取单元数据作为参数传递给此接口
|
|
|
|
+ // uptownId:小区id; ridgepole:栋;unitId:单元id
|
|
|
|
+ @GetMapping("/ywh/queryMenPaiList")
|
|
|
|
+ public Model<List<UptownUnit>> queryMenPaiList(@Pd(name = "uptownId") Long uptownId, @Pd(name = "ridgepole") Long ridgepole, @Pd(name = "unitId") Long unitId) {
|
|
|
|
+ List<UptownUnit> listSuspected = riBaoService.queryMenPaiList(uptownId, ridgepole, unitId);
|
|
|
|
+ return Model.newSuccess(listSuspected);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
@GetMapping("/ywh/home.html")
|
|
@GetMapping("/ywh/home.html")
|
|
public ModelAndView yeweihui(ModelMap model, @RequestParam(value = "userId") Long userId, @RequestParam(value = "show", required = false, defaultValue = "-") String show) {
|
|
public ModelAndView yeweihui(ModelMap model, @RequestParam(value = "userId") Long userId, @RequestParam(value = "show", required = false, defaultValue = "-") String show) {
|
|
|
|
|