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
a96d932f
Commit
a96d932f
authored
Aug 19, 2019
by
阮思源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改下sql
parent
5580bb82
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
WeixinQrcodeDaoImpl.java
...a/com/pcloud/book/group/dao/impl/WeixinQrcodeDaoImpl.java
+1
-1
WeixinQrcode.Mapper.xml
...k/src/main/resources/mapper/group/WeixinQrcode.Mapper.xml
+1
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/dao/impl/WeixinQrcodeDaoImpl.java
View file @
a96d932f
...
...
@@ -28,7 +28,7 @@ public class WeixinQrcodeDaoImpl extends BaseDaoImpl<WeixinQrcode> implements We
public
WeixinQrcodeDTO
getOneWechatGroup
(
Integer
generation
)
{
Map
<
String
,
Object
>
paramMap
=
new
HashMap
();
paramMap
.
put
(
"generation"
,
generation
);
return
this
.
getSqlSession
().
selectOne
(
this
.
getStatement
(
"getOneWechatGroup"
));
return
this
.
getSqlSession
().
selectOne
(
this
.
getStatement
(
"getOneWechatGroup"
)
,
paramMap
);
}
@Override
...
...
pcloud-service-book/src/main/resources/mapper/group/WeixinQrcode.Mapper.xml
View file @
a96d932f
...
...
@@ -32,7 +32,7 @@
VALUES (#{qrcodeUrl,jdbcType=VARCHAR},#{weixinGroupId,jdbcType=VARCHAR}, #{robotId,jdbcType=BIGINT},#{robotWxId,jdbcType=VARCHAR},#{updateState},#{createUser}, NOW(),now(), #{generation})
</insert>
<select
id=
"getOneWechatGroup"
resultType =
"WeixinQrcodeDTO"
>
<select
id=
"getOneWechatGroup"
resultType =
"WeixinQrcodeDTO"
parameterType=
"map"
>
SELECT id, qrcode_url qrcodeUrl, weixin_group_id weixinGroupId, robot_id robotId, robot_wx_id robotWxId
FROM weixin_qrcode
WHERE use_state = 0 AND update_state in (0,1,3) and weixin_group_id != ''
...
...
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