|
|
|
@ -163,7 +163,7 @@ public class JSmartRemindersController extends BaseController {
|
|
|
|
|
* @param id 主键
|
|
|
|
|
* @return 单条数据
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov')")
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov')")
|
|
|
|
|
@ApiOperation(value = "通过主键查询单条智能提醒规则数据", response = JSmartReminders.class)
|
|
|
|
|
@GetMapping("{id}")
|
|
|
|
|
public AjaxResult selectOneSmart(@PathVariable Serializable id) {
|
|
|
|
@ -176,7 +176,7 @@ public class JSmartRemindersController extends BaseController {
|
|
|
|
|
* @param jSmartRemindersDq 实体对象
|
|
|
|
|
* @return 新增结果
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov')")
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov')")
|
|
|
|
|
@ApiOperation(value = "新增定期提醒数据(政务端和企业端)")
|
|
|
|
|
@PostMapping
|
|
|
|
|
public AjaxResult insertDs(@RequestBody @Valid JSmartRemindersDq jSmartRemindersDq) throws SchedulerException, TaskException {
|
|
|
|
|