/*
 * Author: wangjian
 * 生成controller
 */
package com.tofly.xrtygis.controller;

/**
 * 压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
 *
 * @author admin
 * @date Wed Mar 10 00:00:00 CST 2021
 */
//@RestController
//@AllArgsConstructor
//@RequestMapping("/dmatablepress")
//@Api(tags="压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W接口")
public class DmatablepressController {

//    private final  DmatablepressService dmatablepressService;
//
//    /**
//    * 分页查询
//    * @param page 分页对象
//    * @param dmatablepress 压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
//    * @return
//    */
//    @GetMapping("/page" )
//    @ApiOperation(value = "分页查询")
//    public ResultRespone getDmatablepressPage(Page page, @ModelAttribute Dmatablepress dmatablepress) {
//      return ResultRespone.success(dmatablepressService.page(page, Wrappers.query(dmatablepress)));
//    }
//
//
//    /**
//     * 通过id查询压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
//     * @param id id
//     * @return ResultRespone
//     */
//    @GetMapping("/{id}" )
//    @ApiOperation(value = "通过ID查询")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "id", value = "ID", required = true, dataType = "Long")
//    })
//    public ResultRespone getById(@PathVariable("id" ) Long id) {
//      return ResultRespone.success(dmatablepressService.getById(id));
//    }
//
//    /**
//     * 新增压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
//     * @param dmatablepress 压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
//     * @return ResultRespone
//     */
//    //(title="新增压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W" )
//    @ApiOperation(value = "新增压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W")
//    @PostMapping
//    public ResultRespone save(@RequestBody Dmatablepress dmatablepress) {
//      return ResultRespone.success(dmatablepressService.save(dmatablepress));
//    }
//
//    /**
//     * 修改压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
//     * @param dmatablepress 压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
//     * @return ResultRespone
//     */
//    //(title="修改压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W" )
//    @ApiOperation(value = "修改压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W")
//    @PutMapping
//    public ResultRespone updateById(@RequestBody Dmatablepress dmatablepress) {
//      return ResultRespone.success(dmatablepressService.updateById(dmatablepress));
//    }
//
//    /**
//     * 通过id删除压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
//     * @param id id
//     * @return ResultRespone
//     */
//    //(title="通过id删除压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W" )
//    @ApiOperation(value = "通过ID删除压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "id", value = "ID", required = true, dataType = "Long")
//    })
//    @DeleteMapping("/{id}" )
//    public ResultRespone removeById(@PathVariable Long id) {
//      return ResultRespone.success(dmatablepressService.removeById(id));
//    }
//
//    /**
//     * 通过id批量删除压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W
//     * @param ids id
//     * @return ResultRespone
//     */
//    //(title="通过id批量删除压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W" )
//    @ApiOperation(value = "通过ID批量删除压力采集数据记录信息表：TF_YWPN_DMATABLEPRESS_W")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "ids", value = "批量删除，多个id以逗号隔开", required = true, dataType = "String")
//    })
//    @DeleteMapping("/deleteByIds" )
//    public ResultRespone removeById(String ids) {
//        return ResultRespone.success(dmatablepressService.removeByIds(Arrays.asList(ids.split(","))));
//    }
}
