Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
65bd192b
Commit
65bd192b
authored
Aug 07, 2019
by
裴大威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix create_user to wechat_user_id
parent
cfa65b8b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
JoinGroupCiperDTO.java
...ain/java/com/pcloud/book/group/dto/JoinGroupCiperDTO.java
+1
-1
BookGuideBizImpl.java
...a/com/pcloud/book/keywords/biz/impl/BookGuideBizImpl.java
+1
-1
JoinGroupCipher.xml
...-book/src/main/resources/mapper/group/JoinGroupCipher.xml
+1
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/dto/JoinGroupCiperDTO.java
View file @
65bd192b
...
@@ -9,7 +9,7 @@ public class JoinGroupCiperDTO {
...
@@ -9,7 +9,7 @@ public class JoinGroupCiperDTO {
private
Long
classifyId
;
private
Long
classifyId
;
private
Long
createUser
;
private
Long
wechatUserId
;
private
String
wxId
;
private
String
wxId
;
...
...
pcloud-service-book/src/main/java/com/pcloud/book/keywords/biz/impl/BookGuideBizImpl.java
View file @
65bd192b
...
@@ -124,7 +124,7 @@ public class BookGuideBizImpl implements BookGuideBiz {
...
@@ -124,7 +124,7 @@ public class BookGuideBizImpl implements BookGuideBiz {
List
<
KeywordDTO
>
keywords
=
bookKeywordBiz
.
listFiveKeyword
(
dto
.
getClassifyId
(),
dto
.
getBookGroupId
());
List
<
KeywordDTO
>
keywords
=
bookKeywordBiz
.
listFiveKeyword
(
dto
.
getClassifyId
(),
dto
.
getBookGroupId
());
SendWeixinRequestTools
.
sendKeywordsInfo
(
keywords
,
agreeAddUserDTO
.
getRobotWxId
(),
agreeAddUserDTO
.
getUserWxId
(),
agreeAddUserDTO
.
getIp
());
SendWeixinRequestTools
.
sendKeywordsInfo
(
keywords
,
agreeAddUserDTO
.
getRobotWxId
(),
agreeAddUserDTO
.
getUserWxId
(),
agreeAddUserDTO
.
getIp
());
// 拉群
// 拉群
final
String
wxGroupId
=
bookGroupClassifyBiz
.
getWxGroupIdByClassifyIdAndWechatId
(
dto
.
getClassifyId
(),
dto
.
get
CreateUser
());
final
String
wxGroupId
=
bookGroupClassifyBiz
.
getWxGroupIdByClassifyIdAndWechatId
(
dto
.
getClassifyId
(),
dto
.
get
WechatUserId
());
if
(
StringUtil
.
isBlank
(
wxGroupId
))
{
if
(
StringUtil
.
isBlank
(
wxGroupId
))
{
log
.
info
(
"[同意加好友发送欢迎语] 拉群 没有找到群 bookGroupClassifyBiz.getGroupQrcode4ClassifyWechat JoinGroupCiperDTO :{}"
,
dto
);
log
.
info
(
"[同意加好友发送欢迎语] 拉群 没有找到群 bookGroupClassifyBiz.getGroupQrcode4ClassifyWechat JoinGroupCiperDTO :{}"
,
dto
);
return
;
return
;
...
...
pcloud-service-book/src/main/resources/mapper/group/JoinGroupCipher.xml
View file @
65bd192b
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<!--根据暗号获取包含bookGroupId-->
<!--根据暗号获取包含bookGroupId-->
<select
id=
"getDTOByCipher"
parameterType=
"String"
resultType=
"com.pcloud.book.group.dto.JoinGroupCiperDTO"
>
<select
id=
"getDTOByCipher"
parameterType=
"String"
resultType=
"com.pcloud.book.group.dto.JoinGroupCiperDTO"
>
select
select
a.id, cipher, a.classify_id as classifyId, a.
create_user as createUser
, a.wx_id as wxId,
a.id, cipher, a.classify_id as classifyId, a.
wechat_user_id as wechatUserId
, a.wx_id as wxId,
a.has_used as hasUsed, b.book_group_id as bookGroupId
a.has_used as hasUsed, b.book_group_id as bookGroupId
from join_group_cipher a left join book_group_classify b on a.classify_id = b.id
from join_group_cipher a left join book_group_classify b on a.classify_id = b.id
where a.cipher=#{cipher} limit 1
where a.cipher=#{cipher} limit 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment