|
|
|
|
@ -39,7 +39,7 @@ public class DustDustinfoController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 查询涉尘信息列表
|
|
|
|
|
*/
|
|
|
|
|
@SaCheckPermission("hazard:dustDustinfo:list")
|
|
|
|
|
@SaCheckPermission("hazard:dustCompanyinfo:list")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo<DustDustinfoVo> list(DustDustinfoBo bo, PageQuery pageQuery) {
|
|
|
|
|
return dustDustinfoService.queryPageList(bo, pageQuery);
|
|
|
|
|
@ -50,7 +50,7 @@ public class DustDustinfoController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 导出涉尘信息列表
|
|
|
|
|
*/
|
|
|
|
|
@SaCheckPermission("hazard:dustDustinfo:export")
|
|
|
|
|
@SaCheckPermission("hazard:dustCompanyinfo:export")
|
|
|
|
|
@Log(title = "涉尘信息", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(DustDustinfoBo bo, HttpServletResponse response) {
|
|
|
|
|
@ -63,7 +63,7 @@ public class DustDustinfoController extends BaseController {
|
|
|
|
|
*
|
|
|
|
|
* @param id 主键
|
|
|
|
|
*/
|
|
|
|
|
@SaCheckPermission("hazard:dustDustinfo:query")
|
|
|
|
|
@SaCheckPermission("hazard:dustCompanyinfo:query")
|
|
|
|
|
@GetMapping("/{id}")
|
|
|
|
|
public R<DustDustinfoVo> getInfo(@NotNull(message = "主键不能为空")
|
|
|
|
|
@PathVariable String id) {
|
|
|
|
|
@ -73,7 +73,7 @@ public class DustDustinfoController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 新增涉尘信息
|
|
|
|
|
*/
|
|
|
|
|
@SaCheckPermission("hazard:dustDustinfo:add")
|
|
|
|
|
@SaCheckPermission("hazard:dustCompanyinfo:add")
|
|
|
|
|
@Log(title = "涉尘信息", businessType = BusinessType.INSERT)
|
|
|
|
|
@RepeatSubmit()
|
|
|
|
|
@PostMapping()
|
|
|
|
|
@ -84,7 +84,7 @@ public class DustDustinfoController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 修改涉尘信息
|
|
|
|
|
*/
|
|
|
|
|
@SaCheckPermission("hazard:dustDustinfo:edit")
|
|
|
|
|
@SaCheckPermission("hazard:dustCompanyinfo:edit")
|
|
|
|
|
@Log(title = "涉尘信息", businessType = BusinessType.UPDATE)
|
|
|
|
|
@RepeatSubmit()
|
|
|
|
|
@PutMapping()
|
|
|
|
|
@ -97,7 +97,7 @@ public class DustDustinfoController extends BaseController {
|
|
|
|
|
*
|
|
|
|
|
* @param ids 主键串
|
|
|
|
|
*/
|
|
|
|
|
@SaCheckPermission("hazard:dustDustinfo:remove")
|
|
|
|
|
@SaCheckPermission("hazard:dustCompanyinfo:remove")
|
|
|
|
|
@Log(title = "涉尘信息", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("/{ids}")
|
|
|
|
|
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
|
|
|
|
|