Commit fab5fca3681e852533898f09f3ee819da5751f60

Authored by liwei2917
1 parent 059ff6ac

打印

src/main/java/com/cnlive/shenhe/job/CommentsJob.java
@@ -89,6 +89,7 @@ public class CommentsJob { @@ -89,6 +89,7 @@ public class CommentsJob {
89 */ 89 */
90 @Scheduled(cron="0 0 0 * * ? ")//每天0点执行 90 @Scheduled(cron="0 0 0 * * ? ")//每天0点执行
91 public void autoRetReceive() { 91 public void autoRetReceive() {
  92 + logger.info("评论自动退领的进入.....");
92 ShyComments shyComments = new ShyComments(); 93 ShyComments shyComments = new ShyComments();
93 shyComments.setState(CommonConst.AUDIT_INTT);//审核状态:未审核 94 shyComments.setState(CommonConst.AUDIT_INTT);//审核状态:未审核
94 shyComments.setReceive(CommonConst.RECEIVE_AFTER);//已领取 95 shyComments.setReceive(CommonConst.RECEIVE_AFTER);//已领取
src/main/java/com/cnlive/shenhe/job/VideosJob.java
@@ -84,6 +84,7 @@ public class VideosJob { @@ -84,6 +84,7 @@ public class VideosJob {
84 */ 84 */
85 @Scheduled(cron="0 0 0 * * ? ")//每天0点执行 85 @Scheduled(cron="0 0 0 * * ? ")//每天0点执行
86 public void autoRetReceive() { 86 public void autoRetReceive() {
  87 + logger.info("点播自动退领的进入.....");
87 ShyVideos shyVideos = new ShyVideos(); 88 ShyVideos shyVideos = new ShyVideos();
88 shyVideos.setState(CommonConst.AUDIT_INTT);//审核状态:未审核 89 shyVideos.setState(CommonConst.AUDIT_INTT);//审核状态:未审核
89 shyVideos.setReceive(CommonConst.RECEIVE_AFTER);//已领取 90 shyVideos.setReceive(CommonConst.RECEIVE_AFTER);//已领取