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