feat(api): 添加股份端接口支持
parent
e4ed586c3a
commit
1828689651
|
|
@ -93,5 +93,10 @@ public class FireCheckListController {
|
||||||
public PageResponse<FireCheckListCO> checkListRecordList(@RequestBody FireCheckListRecordPageQry qry) {
|
public PageResponse<FireCheckListCO> checkListRecordList(@RequestBody FireCheckListRecordPageQry qry) {
|
||||||
return fireCheckListService.checkListRecordList(qry);
|
return fireCheckListService.checkListRecordList(qry);
|
||||||
}
|
}
|
||||||
|
@ApiOperation("股份端PC端-点位检查记录分页")
|
||||||
|
@PostMapping("/mainCheckListRecordList")
|
||||||
|
public PageResponse<FireCheckListCO> mainCheckListRecordList(@RequestBody FireCheckListRecordPageQry qry) {
|
||||||
|
return fireCheckListService.checkListRecordList(qry);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,11 @@ public class FireDeviceController {
|
||||||
public PageResponse<FireDeviceCO> page(@RequestBody FireDevicePageQry qry) {
|
public PageResponse<FireDeviceCO> page(@RequestBody FireDevicePageQry qry) {
|
||||||
return fireDeviceService.listPage(qry);
|
return fireDeviceService.listPage(qry);
|
||||||
}
|
}
|
||||||
|
@ApiOperation("股份端-消防器材分页")
|
||||||
|
@PostMapping("/mainList")
|
||||||
|
public PageResponse<FireDeviceCO> mianList(@RequestBody FireDevicePageQry qry) {
|
||||||
|
return fireDeviceService.listPage(qry);
|
||||||
|
}
|
||||||
|
|
||||||
@ApiOperation("消防器材详情")
|
@ApiOperation("消防器材详情")
|
||||||
@GetMapping("/getInfoById/{id}")
|
@GetMapping("/getInfoById/{id}")
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,12 @@ public class FirePointController {
|
||||||
return firePointService.listPage(qry);
|
return firePointService.listPage(qry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ApiOperation("股份端点位分页")
|
||||||
|
@PostMapping("/mainList")
|
||||||
|
public PageResponse<FirePointCO> mainList(@RequestBody FirePointPageQry qry) {
|
||||||
|
return firePointService.listPage(qry);
|
||||||
|
}
|
||||||
|
|
||||||
@ApiOperation("根据消防区域获取消防点位所有")
|
@ApiOperation("根据消防区域获取消防点位所有")
|
||||||
@GetMapping("/listByFireRegionId/{fireRegionId}")
|
@GetMapping("/listByFireRegionId/{fireRegionId}")
|
||||||
public MultiResponse<FirePointCO> listByFireRegionId(@PathVariable("fireRegionId") String fireRegionId) {
|
public MultiResponse<FirePointCO> listByFireRegionId(@PathVariable("fireRegionId") String fireRegionId) {
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,11 @@ public class FireRegionController {
|
||||||
public PageResponse<FireRegionCO> page(@RequestBody FireRegionPageQry qry) {
|
public PageResponse<FireRegionCO> page(@RequestBody FireRegionPageQry qry) {
|
||||||
return fireRegionService.listPage(qry);
|
return fireRegionService.listPage(qry);
|
||||||
}
|
}
|
||||||
|
@ApiOperation("股份端消防区域列表分页")
|
||||||
|
@PostMapping("/mainList")
|
||||||
|
public PageResponse<FireRegionCO> mainList(@RequestBody FireRegionPageQry qry) {
|
||||||
|
return fireRegionService.listPage(qry);
|
||||||
|
}
|
||||||
|
|
||||||
@ApiOperation("详情")
|
@ApiOperation("详情")
|
||||||
@GetMapping("/getInfoById/{id}")
|
@GetMapping("/getInfoById/{id}")
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,9 @@ public class FireDevicePageQry extends PageQuery {
|
||||||
* - `le`: 小于等于比较查询
|
* - `le`: 小于等于比较查询
|
||||||
* - `ne`: 不等比较查询,对应SQL的!=操作符
|
* - `ne`: 不等比较查询,对应SQL的!=操作符
|
||||||
*/
|
*/
|
||||||
|
@ApiModelProperty(value = "企业", name = "eqCorpinfoId")
|
||||||
|
private String corpinfoId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "消防器材主键ID", name = "ids",hidden = true)
|
@ApiModelProperty(value = "消防器材主键ID", name = "ids",hidden = true)
|
||||||
private List<Long> ids;
|
private List<Long> ids;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,9 @@ public class FirePointPageQry extends PageQuery {
|
||||||
* - `le`: 小于等于比较查询
|
* - `le`: 小于等于比较查询
|
||||||
* - `ne`: 不等比较查询,对应SQL的!=操作符
|
* - `ne`: 不等比较查询,对应SQL的!=操作符
|
||||||
*/
|
*/
|
||||||
|
@ApiModelProperty(value = "企业", name = "eqCorpinfoId")
|
||||||
|
private String corpinfoId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "消防点主键ID", name = "ids",hidden = true)
|
@ApiModelProperty(value = "消防点主键ID", name = "ids",hidden = true)
|
||||||
private Long[] ids;
|
private Long[] ids;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue