From e265881fa0d83b8767cadf7b1c83c71b80b5bb6d Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期二, 17 十二月 2019 10:39:24 +0800 Subject: [PATCH] 隐藏好店 --- fanli/src/main/java/com/yeshi/fanli/job/ShameUserInviteCodePublishJOB.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/job/ShameUserInviteCodePublishJOB.java b/fanli/src/main/java/com/yeshi/fanli/job/ShameUserInviteCodePublishJOB.java index edd793e..f6d08f1 100644 --- a/fanli/src/main/java/com/yeshi/fanli/job/ShameUserInviteCodePublishJOB.java +++ b/fanli/src/main/java/com/yeshi/fanli/job/ShameUserInviteCodePublishJOB.java @@ -70,6 +70,9 @@ } catch (InterruptedException e) { e.printStackTrace(); } + // 鏌ヨ鐢ㄦ埛鏄惁杩�3澶╁唴鍙戝竷杩� + if (codePublishRecordService.listValid(userList.get(0).getId(), 0, 1).size() > 0) + return; if (userList != null && userList.size() > 0) { codePublishRecordService.publishInviteCode(userList.get(0).getId()); } -- Gitblit v1.8.0