|
|
|
@ -249,7 +249,7 @@ public class ApiNewsController { |
|
|
|
* @since 2021/3/16 11:14 |
|
|
|
*/ |
|
|
|
@PostMapping("notice/comment/submit") |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.NOTICE_COMMENT_SUBMIT,referenceId = "#{fromDTO.getNoticeId}",userId = "#{userDetail.getUserId}") |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.NOTICE_COMMENT_SUBMIT,referenceId = "#{fromDTO.getNoticeId}",userId = "#{userDetail.getUserId}",gridId = "#{userDetail.getGridId}") |
|
|
|
public Result noticeCommentSubmit(@LoginUser TokenDto userDetail, @RequestBody EpdcNoticeCommentSubmitFormDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
|
|
|
|
@ -266,7 +266,7 @@ public class ApiNewsController { |
|
|
|
* @since 2021/3/16 11:14 |
|
|
|
*/ |
|
|
|
@PostMapping("notice/comment/reply/submit") |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.NOTICE_COMMENT_REPLY_SUBMIT,referenceId = "#{fromDTO.getNoticeId}",userId = "#{userDetail.getUserId}") |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.NOTICE_COMMENT_REPLY_SUBMIT,referenceId = "#{fromDTO.getNoticeId}",userId = "#{userDetail.getUserId}",gridId = "#{userDetail.getGridId}") |
|
|
|
public Result noticeCommentReplySubmit(@LoginUser TokenDto userDetail, @RequestBody EpdcNoticeCommentSubmitFormDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
|
|
|
|
@ -283,7 +283,7 @@ public class ApiNewsController { |
|
|
|
* @since 2021/3/16 13:32 |
|
|
|
*/ |
|
|
|
@PostMapping("notice/comment/statement/support") |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.NOTICE_COMMENT_SUPPORT,referenceId = "#{fromDTO.getNoticeId}",userId = "#{userDetail.getUserId}") |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.NOTICE_COMMENT_SUPPORT,referenceId = "#{fromDTO.getNoticeId}",userId = "#{userDetail.getUserId}",gridId = "#{userDetail.getGridId}") |
|
|
|
public Result noticeCommentStatementSupport(@LoginUser TokenDto userDetail, @RequestBody EpdcNoticeCommentStatementFormDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
|
|
|
|
@ -300,7 +300,7 @@ public class ApiNewsController { |
|
|
|
* @since 2021/3/16 13:33 |
|
|
|
*/ |
|
|
|
@PostMapping("notice/comment/statement/opposition") |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.NOTICE_COMMENT_OPPOSITION,referenceId = "#{fromDTO.getNoticeId}",userId = "#{userDetail.getUserId}") |
|
|
|
@RecordUserBehavior(behavior = BehaviorEnum.NOTICE_COMMENT_OPPOSITION,referenceId = "#{fromDTO.getNoticeId}",userId = "#{userDetail.getUserId}",gridId = "#{userDetail.getGridId}") |
|
|
|
public Result noticeCommentStatementOpposition(@LoginUser TokenDto userDetail, @RequestBody EpdcNoticeCommentStatementFormDTO formDto) { |
|
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
|
|
|
|
|
|