|
|
|
@ -40,13 +40,22 @@ public class EnforcementEducationServicesController extends BaseController { |
|
|
|
/** |
|
|
|
* 监督端-查询普法服务主表列表 |
|
|
|
*/ |
|
|
|
//@SaCheckPermission("enforcementcode:educationServices:list")
|
|
|
|
@SaCheckPermission("enforcementcode:educationServices:list") |
|
|
|
@SaIgnore |
|
|
|
@GetMapping("/list") |
|
|
|
public TableDataInfo<EnforcementEducationServicesVo> list(EnforcementEducationServicesBo bo, PageQuery pageQuery) { |
|
|
|
return enforcementEducationServicesService.queryPageList(bo, pageQuery); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 监督端-查询普法服务浏览总次数 |
|
|
|
*/ |
|
|
|
@SaIgnore |
|
|
|
@GetMapping("/selectTotalViewCount") |
|
|
|
public R<Integer> selectTotalViewCount() { |
|
|
|
return R.ok(enforcementEducationServicesService.selectTotalViewCount()); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 监督端-导出普法服务主表列表 |
|
|
|
*/ |
|
|
|
@ -63,7 +72,7 @@ public class EnforcementEducationServicesController extends BaseController { |
|
|
|
* |
|
|
|
* @param id 主键 |
|
|
|
*/ |
|
|
|
//@SaCheckPermission("enforcementcode:educationServices:query")
|
|
|
|
@SaCheckPermission("enforcementcode:educationServices:query") |
|
|
|
@SaIgnore |
|
|
|
@GetMapping("/details") |
|
|
|
public R<EnforcementEducationServicesVo> details(String id) { |
|
|
|
@ -73,7 +82,7 @@ public class EnforcementEducationServicesController extends BaseController { |
|
|
|
/** |
|
|
|
* 监督端-新增普法服务主表 |
|
|
|
*/ |
|
|
|
//@SaCheckPermission("enforcementcode:educationServices:add")
|
|
|
|
@SaCheckPermission("enforcementcode:educationServices:add") |
|
|
|
@SaIgnore |
|
|
|
@Log(title = "普法服务主表", businessType = BusinessType.INSERT) |
|
|
|
@PostMapping("/add") |
|
|
|
@ -84,7 +93,7 @@ public class EnforcementEducationServicesController extends BaseController { |
|
|
|
/** |
|
|
|
* 监督端-修改普法服务主表 |
|
|
|
*/ |
|
|
|
//@SaCheckPermission("enforcementcode:educationServices:edit")
|
|
|
|
@SaCheckPermission("enforcementcode:educationServices:edit") |
|
|
|
@Log(title = "普法服务主表", businessType = BusinessType.UPDATE) |
|
|
|
@SaIgnore |
|
|
|
@PostMapping("/edit") |
|
|
|
@ -97,7 +106,7 @@ public class EnforcementEducationServicesController extends BaseController { |
|
|
|
* |
|
|
|
* @param ids 主键串 |
|
|
|
*/ |
|
|
|
//@SaCheckPermission("enforcementcode:educationServices:remove")
|
|
|
|
@SaCheckPermission("enforcementcode:educationServices:remove") |
|
|
|
@SaIgnore |
|
|
|
@GetMapping("/remove") |
|
|
|
public R<Void> remove(String[] ids) { |
|
|
|
|