|
@@ -43,7 +43,7 @@ public class IsIsolationPointController extends BaseController {
|
|
|
@Parameter(name = "page", description = "Page"),
|
|
@Parameter(name = "page", description = "Page"),
|
|
|
@Parameter(name = "dto", description = "实体参数")
|
|
@Parameter(name = "dto", description = "实体参数")
|
|
|
})
|
|
})
|
|
|
- @PreAuthorize("@ss.hasPermi('iscs:point:page')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('mes:md:seg:query')")
|
|
|
@GetMapping("/getIsIsolationPointPage")
|
|
@GetMapping("/getIsIsolationPointPage")
|
|
|
public CommonResult<Page<IsIsolationPoint>> getIsIsolationPointPage(Page<IsIsolationPoint> page, PagePointDTO dto) {
|
|
public CommonResult<Page<IsIsolationPoint>> getIsIsolationPointPage(Page<IsIsolationPoint> page, PagePointDTO dto) {
|
|
|
Page<IsIsolationPoint> result = isIsolationPointService.page(page, Wrappers.<IsIsolationPoint>lambdaQuery()
|
|
Page<IsIsolationPoint> result = isIsolationPointService.page(page, Wrappers.<IsIsolationPoint>lambdaQuery()
|
|
@@ -63,7 +63,7 @@ public class IsIsolationPointController extends BaseController {
|
|
|
@Parameter(name = "workshopId", description = "所属车间ID"),
|
|
@Parameter(name = "workshopId", description = "所属车间ID"),
|
|
|
@Parameter(name = "workareaId", description = "所属区域ID")
|
|
@Parameter(name = "workareaId", description = "所属区域ID")
|
|
|
})
|
|
})
|
|
|
- @PreAuthorize("@ss.hasPermi('iscs:point:list')")
|
|
|
|
|
|
|
+ // @PreAuthorize("@ss.hasPermi('iscs:point:list')")
|
|
|
@GetMapping("/getIsIsolationPointList")
|
|
@GetMapping("/getIsIsolationPointList")
|
|
|
public CommonResult<List<IsIsolationPoint>> getIsIsolationPointList(Long workshopId, Long workareaId) {
|
|
public CommonResult<List<IsIsolationPoint>> getIsIsolationPointList(Long workshopId, Long workareaId) {
|
|
|
List<IsIsolationPoint> result = isIsolationPointService.list(Wrappers.<IsIsolationPoint>lambdaQuery()
|
|
List<IsIsolationPoint> result = isIsolationPointService.list(Wrappers.<IsIsolationPoint>lambdaQuery()
|
|
@@ -92,7 +92,7 @@ public class IsIsolationPointController extends BaseController {
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("获取隔离点详细信息")
|
|
@ApiOperation("获取隔离点详细信息")
|
|
|
@Parameter(name = "pointId", description = "pointId")
|
|
@Parameter(name = "pointId", description = "pointId")
|
|
|
- @PreAuthorize("@ss.hasPermi('iscs:point:query')")
|
|
|
|
|
|
|
+ // @PreAuthorize("@ss.hasPermi('iscs:point:query')")
|
|
|
@GetMapping(value = "/selectIsIsolationPointById")
|
|
@GetMapping(value = "/selectIsIsolationPointById")
|
|
|
public CommonResult<IsIsolationPoint> selectIsIsolationPointById(Long pointId) {
|
|
public CommonResult<IsIsolationPoint> selectIsIsolationPointById(Long pointId) {
|
|
|
return CommonResult.success(isIsolationPointService.selectIsIsolationPointByPointId(pointId));
|
|
return CommonResult.success(isIsolationPointService.selectIsIsolationPointByPointId(pointId));
|
|
@@ -102,7 +102,7 @@ public class IsIsolationPointController extends BaseController {
|
|
|
* 新增隔离点
|
|
* 新增隔离点
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("新增隔离点")
|
|
@ApiOperation("新增隔离点")
|
|
|
- @PreAuthorize("@ss.hasPermi('iscs:point:add')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('mes:md:seg:add')")
|
|
|
@Log(title = "隔离点", businessType = BusinessType.INSERT)
|
|
@Log(title = "隔离点", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/insertIsIsolationPoint")
|
|
@PostMapping("/insertIsIsolationPoint")
|
|
|
public CommonResult<Boolean> insertIsIsolationPoint(@RequestBody @Parameter(name = "isIsolationPoint", description = "新增数据类,放到body") IsIsolationPoint isIsolationPoint) {
|
|
public CommonResult<Boolean> insertIsIsolationPoint(@RequestBody @Parameter(name = "isIsolationPoint", description = "新增数据类,放到body") IsIsolationPoint isIsolationPoint) {
|
|
@@ -113,7 +113,7 @@ public class IsIsolationPointController extends BaseController {
|
|
|
* 修改隔离点
|
|
* 修改隔离点
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("修改隔离点")
|
|
@ApiOperation("修改隔离点")
|
|
|
- @PreAuthorize("@ss.hasPermi('iscs:point:edit')")
|
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('mes:md:seg:edit')")
|
|
|
@Log(title = "隔离点", businessType = BusinessType.UPDATE)
|
|
@Log(title = "隔离点", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/updateIsIsolationPoint")
|
|
@PostMapping("/updateIsIsolationPoint")
|
|
|
public CommonResult<Boolean> updateIsIsolationPoint(@RequestBody @Parameter(name = "isIsolationPoint", description = "修改数据类,放到body") IsIsolationPoint isIsolationPoint) {
|
|
public CommonResult<Boolean> updateIsIsolationPoint(@RequestBody @Parameter(name = "isIsolationPoint", description = "修改数据类,放到body") IsIsolationPoint isIsolationPoint) {
|
|
@@ -124,7 +124,7 @@ public class IsIsolationPointController extends BaseController {
|
|
|
* 删除隔离点
|
|
* 删除隔离点
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation("删除隔离点")
|
|
@ApiOperation("删除隔离点")
|
|
|
- @PreAuthorize("@ss.hasPermi('iscs:point:remove')")
|
|
|
|
|
|
|
+ // @PreAuthorize("@ss.hasPermi('iscs:point:remove')")
|
|
|
@Log(title = "隔离点", businessType = BusinessType.DELETE)
|
|
@Log(title = "隔离点", businessType = BusinessType.DELETE)
|
|
|
@PostMapping("/deleteIsIsolationPointByPointIds")
|
|
@PostMapping("/deleteIsIsolationPointByPointIds")
|
|
|
public CommonResult<Boolean> deleteIsIsolationPointByPointIds(String pointIds) {
|
|
public CommonResult<Boolean> deleteIsIsolationPointByPointIds(String pointIds) {
|