|
@@ -42,7 +42,7 @@ public class ZEngineeringInfrastructureController extends BaseController {
|
|
|
/**
|
|
|
* 查询基建工程列表
|
|
|
*/
|
|
|
- @SaCheckPermission("system:engineeringInfrastructure:list")
|
|
|
+ @SaCheckPermission("zdsz:engineeringInfrastructure:list")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo<ZEngineeringInfrastructureVo> list(ZEngineeringInfrastructureBo bo, PageQuery pageQuery) {
|
|
|
return iZEngineeringInfrastructureService.queryPageList(bo, pageQuery);
|
|
@@ -51,7 +51,7 @@ public class ZEngineeringInfrastructureController extends BaseController {
|
|
|
/**
|
|
|
* 导出基建工程列表
|
|
|
*/
|
|
|
- @SaCheckPermission("system:engineeringInfrastructure:export")
|
|
|
+ @SaCheckPermission("zdsz:engineeringInfrastructure:export")
|
|
|
@Log(title = "基建工程", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(ZEngineeringInfrastructureBo bo, HttpServletResponse response) {
|
|
@@ -64,7 +64,7 @@ public class ZEngineeringInfrastructureController extends BaseController {
|
|
|
*
|
|
|
* @param id 主键
|
|
|
*/
|
|
|
- @SaCheckPermission("system:engineeringInfrastructure:query")
|
|
|
+ @SaCheckPermission("zdsz:engineeringInfrastructure:query")
|
|
|
@GetMapping("/{id}")
|
|
|
public R<ZEngineeringInfrastructureVo> getInfo(@NotNull(message = "主键不能为空")
|
|
|
@PathVariable String id) {
|
|
@@ -72,9 +72,20 @@ public class ZEngineeringInfrastructureController extends BaseController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * 获取基建工程历史信息
|
|
|
+ *
|
|
|
+ * @param id 主键
|
|
|
+ */
|
|
|
+ @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
|
+ @GetMapping("/{id}/{type}")
|
|
|
+ public R<ZEngineeringInfrastructureVo> getInfo(@NotNull(message = "主键不能为空") @PathVariable String id, @NotNull(message = "节点类型不能为空") @PathVariable String type) {
|
|
|
+ return R.ok(iZEngineeringInfrastructureService.queryByIdType(id,type));
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 新增基建工程
|
|
|
*/
|
|
|
- @SaCheckPermission("system:engineeringInfrastructure:add")
|
|
|
+ @SaCheckPermission("zdsz:engineeringInfrastructure:add")
|
|
|
@Log(title = "基建工程", businessType = BusinessType.INSERT)
|
|
|
@RepeatSubmit()
|
|
|
@PostMapping()
|
|
@@ -85,7 +96,7 @@ public class ZEngineeringInfrastructureController extends BaseController {
|
|
|
/**
|
|
|
* 修改基建工程
|
|
|
*/
|
|
|
- @SaCheckPermission("system:engineeringInfrastructure:edit")
|
|
|
+ @SaCheckPermission("zdsz:engineeringInfrastructure:edit")
|
|
|
@Log(title = "基建工程", businessType = BusinessType.UPDATE)
|
|
|
@RepeatSubmit()
|
|
|
@PutMapping()
|
|
@@ -98,7 +109,7 @@ public class ZEngineeringInfrastructureController extends BaseController {
|
|
|
*
|
|
|
* @param ids 主键串
|
|
|
*/
|
|
|
- @SaCheckPermission("system:engineeringInfrastructure:remove")
|
|
|
+ @SaCheckPermission("zdsz:engineeringInfrastructure:remove")
|
|
|
@Log(title = "基建工程", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|