|
@@ -71,7 +71,7 @@ public class TPumpingStationController extends BaseController
|
|
|
* 导出泵站列表
|
|
|
*/
|
|
|
// @PreAuthorize("@ss.hasPermi('business:station:export')")
|
|
|
-// @Log(title = "泵站", businessType = BusinessType.EXPORT)
|
|
|
+ @Log(title = "泵站", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, TPumpingStation tPumpingStation)
|
|
|
{
|
|
@@ -94,7 +94,7 @@ public class TPumpingStationController extends BaseController
|
|
|
* 新增泵站
|
|
|
*/
|
|
|
// @PreAuthorize("@ss.hasPermi('business:station:add')")
|
|
|
-// @Log(title = "泵站", businessType = BusinessType.INSERT)
|
|
|
+ @Log(title = "泵站", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody TPumpingStation tPumpingStation)
|
|
|
{
|
|
@@ -106,7 +106,7 @@ public class TPumpingStationController extends BaseController
|
|
|
* 修改泵站
|
|
|
*/
|
|
|
// @PreAuthorize("@ss.hasPermi('business:station:edit')")
|
|
|
-// @Log(title = "泵站", businessType = BusinessType.UPDATE)
|
|
|
+ @Log(title = "泵站", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody TPumpingStation tPumpingStation)
|
|
|
{
|
|
@@ -118,7 +118,7 @@ public class TPumpingStationController extends BaseController
|
|
|
* 删除泵站
|
|
|
*/
|
|
|
// @PreAuthorize("@ss.hasPermi('business:station:remove')")
|
|
|
-// @Log(title = "泵站", businessType = BusinessType.DELETE)
|
|
|
+ @Log(title = "泵站", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids)
|
|
|
{
|
|
@@ -178,6 +178,7 @@ public class TPumpingStationController extends BaseController
|
|
|
* 给泵站关联小区的楼号
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Log(title = "泵站", businessType = BusinessType.OTHER)
|
|
|
@PostMapping("/addPumpingStationAndNeighbourhoodBuildings")
|
|
|
public R<String> addPumpingStationAndNeighbourhoodBuildings(@RequestBody List<TNeighborhood> req){
|
|
|
log.info("进入了 给泵站关联小区的楼号 接口,请求参数为{}", JSON.toJSONString(req));
|