|
@@ -82,7 +82,7 @@ public class ThingSettingController{
|
|
|
@RequestMapping(value = "/findTotalList",method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "查询物品统计汇总信息")
|
|
|
- public AjaxMessage<List<ThingSettingEntity>> findTotalList(@ApiParam(value = "物品类型(1管网 2窨井 3阀门 4消防栓)", required = true) @RequestParam Integer thingType) {
|
|
|
+ public AjaxMessage<List<ThingSettingEntity>> findTotalList(@ApiParam(value = "物品类型(1管网 2窨井 3阀门 4消防栓)", required = false) @RequestParam(required = false) Integer thingType) {
|
|
|
ThingSettingEntity thingSettingEntity = new ThingSettingEntity();
|
|
|
thingSettingEntity.setThingType(thingType);
|
|
|
List<ThingSettingEntity> thingSettingEntities = thingSettingService.findTotalList(thingSettingEntity);
|