|
@@ -70,7 +70,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
/**
|
|
/**
|
|
* 导出民用工程列表
|
|
* 导出民用工程列表
|
|
*/
|
|
*/
|
|
- @SaCheckPermission("zdsz:engineeringCivil:export")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:export")
|
|
@Log(title = "民用工程", businessType = BusinessType.EXPORT)
|
|
@Log(title = "民用工程", businessType = BusinessType.EXPORT)
|
|
@PostMapping("/export")
|
|
@PostMapping("/export")
|
|
public void export(ZEngineeringCivilBo bo, HttpServletResponse response) {
|
|
public void export(ZEngineeringCivilBo bo, HttpServletResponse response) {
|
|
@@ -83,7 +83,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
*
|
|
*
|
|
* @param id 主键
|
|
* @param id 主键
|
|
*/
|
|
*/
|
|
- @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
@GetMapping("/{id}")
|
|
@GetMapping("/{id}")
|
|
public R<ZEngineeringCivilVo> getInfo(@NotNull(message = "主键不能为空") @PathVariable String id) {
|
|
public R<ZEngineeringCivilVo> getInfo(@NotNull(message = "主键不能为空") @PathVariable String id) {
|
|
return R.ok(iZEngineeringCivilService.queryById(id));
|
|
return R.ok(iZEngineeringCivilService.queryById(id));
|
|
@@ -93,7 +93,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
*
|
|
*
|
|
* @param id 主键
|
|
* @param id 主键
|
|
*/
|
|
*/
|
|
- @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
@PostMapping("/query")
|
|
@PostMapping("/query")
|
|
public R<ZEngineeringCivilVo> query(@RequestBody ZEngineeringCivilBo zEngineeringCivilBo) {
|
|
public R<ZEngineeringCivilVo> query(@RequestBody ZEngineeringCivilBo zEngineeringCivilBo) {
|
|
return R.ok(iZEngineeringCivilService.queryByEntityBo(zEngineeringCivilBo));
|
|
return R.ok(iZEngineeringCivilService.queryByEntityBo(zEngineeringCivilBo));
|
|
@@ -102,7 +102,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
/**
|
|
/**
|
|
* 可视化进度点击房间查历史
|
|
* 可视化进度点击房间查历史
|
|
*/
|
|
*/
|
|
- @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
@PostMapping("/queryProcess")
|
|
@PostMapping("/queryProcess")
|
|
public R<ZEngineeringCivilVo> queryProcess(@RequestBody Map<String,String> params) {
|
|
public R<ZEngineeringCivilVo> queryProcess(@RequestBody Map<String,String> params) {
|
|
ZEngineeringCivilVo vo = iZEngineeringCivilService.queryProcess(params);
|
|
ZEngineeringCivilVo vo = iZEngineeringCivilService.queryProcess(params);
|
|
@@ -113,7 +113,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
*
|
|
*
|
|
* @param id 主键
|
|
* @param id 主键
|
|
*/
|
|
*/
|
|
- @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:query")
|
|
@GetMapping("/{id}/{type}")
|
|
@GetMapping("/{id}/{type}")
|
|
public R<ZEngineeringCivilVo> getInfo(@NotNull(message = "主键不能为空") @PathVariable String id, @NotNull(message = "节点类型不能为空") @PathVariable String type) {
|
|
public R<ZEngineeringCivilVo> getInfo(@NotNull(message = "主键不能为空") @PathVariable String id, @NotNull(message = "节点类型不能为空") @PathVariable String type) {
|
|
return R.ok(iZEngineeringCivilService.query(id,type));
|
|
return R.ok(iZEngineeringCivilService.query(id,type));
|
|
@@ -125,7 +125,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
|
|
|
|
@Log(title = "民用工程", businessType = BusinessType.INSERT)
|
|
@Log(title = "民用工程", businessType = BusinessType.INSERT)
|
|
@RepeatSubmit()
|
|
@RepeatSubmit()
|
|
- @SaCheckPermission("zdsz:engineeringCivil:add")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:add")
|
|
@PostMapping()
|
|
@PostMapping()
|
|
public R<Void> add(@Validated(AddGroup.class) @RequestBody ZEngineeringCivilBo bo) {
|
|
public R<Void> add(@Validated(AddGroup.class) @RequestBody ZEngineeringCivilBo bo) {
|
|
return toAjax(iZEngineeringCivilService.insertByBo(bo));
|
|
return toAjax(iZEngineeringCivilService.insertByBo(bo));
|
|
@@ -134,7 +134,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
/**
|
|
/**
|
|
* 修改民用工程
|
|
* 修改民用工程
|
|
*/
|
|
*/
|
|
- @SaCheckPermission("zdsz:engineeringCivil:edit")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:edit")
|
|
@Log(title = "民用工程", businessType = BusinessType.UPDATE)
|
|
@Log(title = "民用工程", businessType = BusinessType.UPDATE)
|
|
@RepeatSubmit()
|
|
@RepeatSubmit()
|
|
@PutMapping()
|
|
@PutMapping()
|
|
@@ -147,7 +147,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
*
|
|
*
|
|
* @param ids 主键串
|
|
* @param ids 主键串
|
|
*/
|
|
*/
|
|
- @SaCheckPermission("zdsz:engineeringCivil:remove")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:remove")
|
|
@Log(title = "民用工程", businessType = BusinessType.DELETE)
|
|
@Log(title = "民用工程", businessType = BusinessType.DELETE)
|
|
@DeleteMapping("/{ids}")
|
|
@DeleteMapping("/{ids}")
|
|
public R<Void> remove(@NotEmpty(message = "主键不能为空") @PathVariable String[] ids) {
|
|
public R<Void> remove(@NotEmpty(message = "主键不能为空") @PathVariable String[] ids) {
|
|
@@ -159,7 +159,7 @@ public class ZEngineeringCivilController extends BaseController {
|
|
public R getObtainRoomcCompletionInformationList(@RequestBody ZEngineeringCivilBo zEngineeringCivilBo) {
|
|
public R getObtainRoomcCompletionInformationList(@RequestBody ZEngineeringCivilBo zEngineeringCivilBo) {
|
|
return R.ok(iZEngineeringCivilService.getObtainRoomcCompletionInformationList(zEngineeringCivilBo));
|
|
return R.ok(iZEngineeringCivilService.getObtainRoomcCompletionInformationList(zEngineeringCivilBo));
|
|
}
|
|
}
|
|
- @SaCheckPermission("zdsz:engineeringCivil:export")
|
|
|
|
|
|
+// @SaCheckPermission("zdsz:engineeringCivil:export")
|
|
@Log(title = "民用工程", businessType = BusinessType.EXPORT)
|
|
@Log(title = "民用工程", businessType = BusinessType.EXPORT)
|
|
@PostMapping("/getAreaCompletionInformationListexport")
|
|
@PostMapping("/getAreaCompletionInformationListexport")
|
|
public void getAreaCompletionInformationListexport(ZEngineeringCivilBo bo, HttpServletResponse response) {
|
|
public void getAreaCompletionInformationListexport(ZEngineeringCivilBo bo, HttpServletResponse response) {
|