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
b9d3af3c
Commit
b9d3af3c
authored
Jul 01, 2019
by
裴大威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat C1001108
parent
dc8e8103
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
60 additions
and
2 deletions
+60
-2
BookKeywordWarehouseBizImpl.java
...cloud/book/book/biz/impl/BookKeywordWarehouseBizImpl.java
+4
-0
WeixinQrcodeBiz.java
.../main/java/com/pcloud/book/group/biz/WeixinQrcodeBiz.java
+1
-0
BookGroupClassifyBizImpl.java
.../pcloud/book/group/biz/impl/BookGroupClassifyBizImpl.java
+8
-0
WeixinQrcodeBizImpl.java
...a/com/pcloud/book/group/biz/impl/WeixinQrcodeBizImpl.java
+5
-0
WeixinQrcodeDao.java
.../main/java/com/pcloud/book/group/dao/WeixinQrcodeDao.java
+1
-0
WeixinQrcodeDaoImpl.java
...a/com/pcloud/book/group/dao/impl/WeixinQrcodeDaoImpl.java
+5
-0
BookGuideBizImpl.java
...a/com/pcloud/book/keywords/biz/impl/BookGuideBizImpl.java
+4
-0
BookKeywordBizImpl.java
...com/pcloud/book/keywords/biz/impl/BookKeywordBizImpl.java
+18
-2
UpdateKeywordVO.java
...ain/java/com/pcloud/book/keywords/vo/UpdateKeywordVO.java
+3
-0
WxGroupSendTextListener.java
...ava/com/pcloud/book/mq/topic/WxGroupSendTextListener.java
+5
-0
WeixinQrcode.Mapper.xml
...k/src/main/resources/mapper/group/WeixinQrcode.Mapper.xml
+6
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookKeywordWarehouseBizImpl.java
View file @
b9d3af3c
...
@@ -112,12 +112,16 @@ public class BookKeywordWarehouseBizImpl implements BookKeywordWarehouseBiz {
...
@@ -112,12 +112,16 @@ public class BookKeywordWarehouseBizImpl implements BookKeywordWarehouseBiz {
throw
new
BookBizException
(
BookBizException
.
ID_NOT_EXIST
,
"社群码不存在"
);
throw
new
BookBizException
(
BookBizException
.
ID_NOT_EXIST
,
"社群码不存在"
);
}
}
final
KeywordWearhouseLabelVO
v
=
new
KeywordWearhouseLabelVO
();
final
KeywordWearhouseLabelVO
v
=
new
KeywordWearhouseLabelVO
();
if
(
null
==
info
.
getProLabelId
()
||
null
==
info
.
getDepLabelId
()
||
null
==
info
.
getPurLabelId
())
{
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_NULL
,
"请先完成社群码信息"
);
}
v
.
setProfessionalLabelId
(
info
.
getProLabelId
());
v
.
setProfessionalLabelId
(
info
.
getProLabelId
());
v
.
setDepthLabelId
(
info
.
getDepLabelId
());
v
.
setDepthLabelId
(
info
.
getDepLabelId
());
v
.
setPurposeLabelId
(
info
.
getPurLabelId
());
v
.
setPurposeLabelId
(
info
.
getPurLabelId
());
labels
.
add
(
v
);
labels
.
add
(
v
);
final
BookKeywordDetailVO
v1
=
new
BookKeywordDetailVO
();
final
BookKeywordDetailVO
v1
=
new
BookKeywordDetailVO
();
v1
.
setGroupId
(
1
);
v1
.
setGroupId
(
1
);
v1
.
setChannelId
(
setKeywordVO
.
getChannelId
());
v1
.
setContent
(
setKeywordVO
.
getContent
());
v1
.
setContent
(
setKeywordVO
.
getContent
());
v1
.
setProductId
(
setKeywordVO
.
getServeId
());
v1
.
setProductId
(
setKeywordVO
.
getServeId
());
v1
.
setProductType
(
setKeywordVO
.
getServeType
());
v1
.
setProductType
(
setKeywordVO
.
getServeType
());
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/WeixinQrcodeBiz.java
View file @
b9d3af3c
...
@@ -16,6 +16,7 @@ import java.util.Map;
...
@@ -16,6 +16,7 @@ import java.util.Map;
*/
*/
public
interface
WeixinQrcodeBiz
{
public
interface
WeixinQrcodeBiz
{
Long
countWechatGroup
();
/**
/**
* @Author:lili
* @Author:lili
* @Desr:从二维码获取一个二维码
* @Desr:从二维码获取一个二维码
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/BookGroupClassifyBizImpl.java
View file @
b9d3af3c
...
@@ -68,10 +68,13 @@ import java.util.concurrent.ExecutorService;
...
@@ -68,10 +68,13 @@ import java.util.concurrent.ExecutorService;
import
java.util.concurrent.Executors
;
import
java.util.concurrent.Executors
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
lombok.extern.slf4j.Slf4j
;
/**
/**
* @author lily
* @author lily
* @date 2019/4/17 11:20
* @date 2019/4/17 11:20
*/
*/
@Slf4j
@Component
(
"bookGroupClassifyBiz"
)
@Component
(
"bookGroupClassifyBiz"
)
public
class
BookGroupClassifyBizImpl
implements
BookGroupClassifyBiz
{
public
class
BookGroupClassifyBizImpl
implements
BookGroupClassifyBiz
{
...
@@ -135,6 +138,11 @@ public class BookGroupClassifyBizImpl implements BookGroupClassifyBiz {
...
@@ -135,6 +138,11 @@ public class BookGroupClassifyBizImpl implements BookGroupClassifyBiz {
Integer
rank
=
bookGroupClassifyDao
.
getMaxRank
(
addClassifyVO
.
getBookGroupId
());
Integer
rank
=
bookGroupClassifyDao
.
getMaxRank
(
addClassifyVO
.
getBookGroupId
());
bookGroupClassify
.
setRank
(
rank
);
bookGroupClassify
.
setRank
(
rank
);
bookGroupClassifyDao
.
insert
(
bookGroupClassify
);
bookGroupClassifyDao
.
insert
(
bookGroupClassify
);
final
Long
wechatGroupNum
=
weixinQrcodeBiz
.
countWechatGroup
();
if
(
null
==
wechatGroupNum
||
wechatGroupNum
<=
30
)
{
log
.
info
(
"[新增分类] : 可用微信群数量:{}个"
,
wechatGroupNum
);
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_NULL
,
"群二维码数量不足,您可以明天再创建群。"
);
}
WeixinQrcodeDTO
oneQrcode
=
weixinQrcodeBiz
.
getOneQrcode
();
WeixinQrcodeDTO
oneQrcode
=
weixinQrcodeBiz
.
getOneQrcode
();
if
(
oneQrcode
==
null
)
{
if
(
oneQrcode
==
null
)
{
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_NULL
,
"系统二维码数量不足,请联系客服人员补充二维码数量!"
);
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_NULL
,
"系统二维码数量不足,请联系客服人员补充二维码数量!"
);
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/WeixinQrcodeBizImpl.java
View file @
b9d3af3c
...
@@ -69,6 +69,11 @@ public class WeixinQrcodeBizImpl implements WeixinQrcodeBiz {
...
@@ -69,6 +69,11 @@ public class WeixinQrcodeBizImpl implements WeixinQrcodeBiz {
private
static
final
ExecutorService
EXECUTOR_SERVICE
=
Executors
.
newFixedThreadPool
(
5
);
private
static
final
ExecutorService
EXECUTOR_SERVICE
=
Executors
.
newFixedThreadPool
(
5
);
@Override
@Override
public
Long
countWechatGroup
(){
return
weixinQrcodeDao
.
countWechatGroup
();
}
@Override
@ParamLog
(
"从二维码库获取一个二维码"
)
@ParamLog
(
"从二维码库获取一个二维码"
)
@Transactional
(
propagation
=
Propagation
.
NOT_SUPPORTED
)
@Transactional
(
propagation
=
Propagation
.
NOT_SUPPORTED
)
public
WeixinQrcodeDTO
getOneQrcode
()
{
public
WeixinQrcodeDTO
getOneQrcode
()
{
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/dao/WeixinQrcodeDao.java
View file @
b9d3af3c
...
@@ -18,6 +18,7 @@ import java.util.Map;
...
@@ -18,6 +18,7 @@ import java.util.Map;
*/
*/
public
interface
WeixinQrcodeDao
extends
BaseDao
<
WeixinQrcode
>
{
public
interface
WeixinQrcodeDao
extends
BaseDao
<
WeixinQrcode
>
{
Long
countWechatGroup
();
/**
/**
* @Author:lili
* @Author:lili
* @Desr:获取一个微信群
* @Desr:获取一个微信群
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/dao/impl/WeixinQrcodeDaoImpl.java
View file @
b9d3af3c
...
@@ -30,6 +30,11 @@ public class WeixinQrcodeDaoImpl extends BaseDaoImpl<WeixinQrcode> implements We
...
@@ -30,6 +30,11 @@ public class WeixinQrcodeDaoImpl extends BaseDaoImpl<WeixinQrcode> implements We
}
}
@Override
@Override
public
Long
countWechatGroup
()
{
return
this
.
getSqlSession
().
selectOne
(
this
.
getStatement
(
"countWechatGroup"
));
}
@Override
public
Integer
setIsUseById
(
Long
id
)
{
public
Integer
setIsUseById
(
Long
id
)
{
return
this
.
getSqlSession
().
update
(
this
.
getStatement
(
"setIsUseById"
),
id
);
return
this
.
getSqlSession
().
update
(
this
.
getStatement
(
"setIsUseById"
),
id
);
}
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/keywords/biz/impl/BookGuideBizImpl.java
View file @
b9d3af3c
...
@@ -104,6 +104,10 @@ public class BookGuideBizImpl implements BookGuideBiz {
...
@@ -104,6 +104,10 @@ public class BookGuideBizImpl implements BookGuideBiz {
}
}
BookGuide
bookGuide
=
new
BookGuide
();
BookGuide
bookGuide
=
new
BookGuide
();
BeanUtils
.
copyProperties
(
setGuideVO
,
bookGuide
);
BeanUtils
.
copyProperties
(
setGuideVO
,
bookGuide
);
// 如果设置类型为按书设置则讲分类信息置空
if
(
0
==
setGuideVO
.
getSetType
())
{
setGuideVO
.
setClassifyId
(
0L
);
}
bookGuide
.
setBookId
(
bookGroupDTO
.
getBookId
());
bookGuide
.
setBookId
(
bookGroupDTO
.
getBookId
());
bookGuide
.
setChannelId
(
bookGroupDTO
.
getChannelId
());
bookGuide
.
setChannelId
(
bookGroupDTO
.
getChannelId
());
bookGuide
.
setCreateUser
(
partyId
);
bookGuide
.
setCreateUser
(
partyId
);
...
...
pcloud-service-book/src/main/java/com/pcloud/book/keywords/biz/impl/BookKeywordBizImpl.java
View file @
b9d3af3c
...
@@ -188,6 +188,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
...
@@ -188,6 +188,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
v
.
setTypeCode
(
proBaseById
.
getProductTypeCode
());
v
.
setTypeCode
(
proBaseById
.
getProductTypeCode
());
}
}
v
.
setUserId
(
partyId
);
v
.
setUserId
(
partyId
);
v
.
setChannelId
(
bookGroupDTO
.
getChannelId
());
final
Long
warehouseId
=
this
.
bookKeywordWarehouseBiz
.
addBookKeyword
(
v
);
final
Long
warehouseId
=
this
.
bookKeywordWarehouseBiz
.
addBookKeyword
(
v
);
this
.
bookKeywordDao
.
updateIsWarehouse
(
updateKeywordVO
.
getBookKeywordId
(),
warehouseId
);
this
.
bookKeywordDao
.
updateIsWarehouse
(
updateKeywordVO
.
getBookKeywordId
(),
warehouseId
);
}
}
...
@@ -263,13 +264,17 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
...
@@ -263,13 +264,17 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
return
;
return
;
}
}
//通过群id获取对应基本信息
//通过群id获取对应基本信息
final
long
l
=
System
.
currentTimeMillis
();
GroupClassifyQrcodeDTO
classifyQrcodeInfo
=
bookGroupClassifyBiz
.
getClassifyQrcodeInfo
(
weixinGroupId
);
GroupClassifyQrcodeDTO
classifyQrcodeInfo
=
bookGroupClassifyBiz
.
getClassifyQrcodeInfo
(
weixinGroupId
);
log
.
info
(
"[接收用户发送文本消息] bookGroupClassifyBiz.getClassifyQrcodeInfo耗时:{}ms "
,
System
.
currentTimeMillis
()
-
l
);
if
(
classifyQrcodeInfo
==
null
)
{
if
(
classifyQrcodeInfo
==
null
)
{
log
.
info
(
"[关键词消息回复] classifyQrcodeInfo is null"
);
return
;
return
;
}
}
//获取匹配关键词
//获取匹配关键词
ReplyKeywordDTO
replyKeywordDTO
=
bookKeywordDao
.
getKeywordId
(
classifyQrcodeInfo
.
getClassifyId
(),
classifyQrcodeInfo
.
getBookGroupId
(),
content
);
ReplyKeywordDTO
replyKeywordDTO
=
bookKeywordDao
.
getKeywordId
(
classifyQrcodeInfo
.
getClassifyId
(),
classifyQrcodeInfo
.
getBookGroupId
(),
content
);
if
(
replyKeywordDTO
==
null
)
{
if
(
replyKeywordDTO
==
null
)
{
log
.
info
(
"[关键词消息回复] classifyQrcodeInfo is null"
);
return
;
return
;
}
}
// 处理链接地址
// 处理链接地址
...
@@ -280,23 +285,34 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
...
@@ -280,23 +285,34 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
}
}
String
redisContent
=
JedisClusterUtils
.
getJson
(
"BOOK:KEYWORD:"
+
weixinGroupId
+
"-"
+
replyKeywordDTO
.
getKeywordId
(),
String
.
class
);
String
redisContent
=
JedisClusterUtils
.
getJson
(
"BOOK:KEYWORD:"
+
weixinGroupId
+
"-"
+
replyKeywordDTO
.
getKeywordId
(),
String
.
class
);
if
(
redisContent
!=
null
)
{
if
(
redisContent
!=
null
)
{
final
long
l1
=
System
.
currentTimeMillis
();
insertBookKeywordRecord
(
classifyQrcodeInfo
,
replyKeywordDTO
.
getKeywordId
(),
userWxId
,
weixinGroupId
,
false
);
insertBookKeywordRecord
(
classifyQrcodeInfo
,
replyKeywordDTO
.
getKeywordId
(),
userWxId
,
weixinGroupId
,
false
);
log
.
info
(
"[接收用户发送文本消息] redisContent != null insertBookKeywordRecord耗时:{}ms "
,
System
.
currentTimeMillis
()
-
l1
);
return
;
return
;
}
else
{
}
else
{
final
long
l1
=
System
.
currentTimeMillis
();
JedisClusterUtils
.
setJson
(
"BOOK:KEYWORD:"
+
weixinGroupId
+
"-"
+
replyKeywordDTO
.
getKeywordId
(),
replyKeywordDTO
.
getKeywordId
(),
10
);
JedisClusterUtils
.
setJson
(
"BOOK:KEYWORD:"
+
weixinGroupId
+
"-"
+
replyKeywordDTO
.
getKeywordId
(),
replyKeywordDTO
.
getKeywordId
(),
10
);
insertBookKeywordRecord
(
classifyQrcodeInfo
,
replyKeywordDTO
.
getKeywordId
(),
userWxId
,
weixinGroupId
,
true
);
insertBookKeywordRecord
(
classifyQrcodeInfo
,
replyKeywordDTO
.
getKeywordId
(),
userWxId
,
weixinGroupId
,
true
);
log
.
info
(
"[接收用户发送文本消息] redisContent == null insertBookKeywordRecord耗时:{}ms "
,
System
.
currentTimeMillis
()
-
l1
);
}
}
//获取推送消息机器人
//获取推送消息机器人
final
long
l1
=
System
.
currentTimeMillis
();
String
robotId
=
wechatGroupConsr
.
getRobotIdByGroupId
(
weixinGroupId
);
String
robotId
=
wechatGroupConsr
.
getRobotIdByGroupId
(
weixinGroupId
);
log
.
info
(
"[接收用户发送文本消息] wechatGroupConsr.getRobotIdByGroupId耗时:{}ms "
,
System
.
currentTimeMillis
()
-
l1
);
final
long
l2
=
System
.
currentTimeMillis
();
SendWeixinRequestTools
.
sendKeywordMessage
(
replyKeywordDTO
,
robotId
,
weixinGroupId
);
SendWeixinRequestTools
.
sendKeywordMessage
(
replyKeywordDTO
,
robotId
,
weixinGroupId
);
log
.
info
(
"[接收用户发送文本消息] SendWeixinRequestTools.sendKeywordMessage耗时:{}ms "
,
System
.
currentTimeMillis
()
-
l2
);
//新增关键词触发记录
//新增关键词触发记录
final
long
l3
=
System
.
currentTimeMillis
();
addKeywordAppTouchRecord
(
replyKeywordDTO
,
weixinGroupId
,
classifyQrcodeInfo
.
getClassifyId
(),
classifyQrcodeInfo
.
getBookGroupId
());
addKeywordAppTouchRecord
(
replyKeywordDTO
,
weixinGroupId
,
classifyQrcodeInfo
.
getClassifyId
(),
classifyQrcodeInfo
.
getBookGroupId
());
log
.
info
(
"[接收用户发送文本消息] addKeywordAppTouchRecord耗时:{}ms "
,
System
.
currentTimeMillis
()
-
l3
);
//第一推送关键词消息埋点
//第一推送关键词消息埋点
final
long
l4
=
System
.
currentTimeMillis
();
String
keywordsKey
=
"BOOK:FIRSTKEYWORD:"
+
DateUtils
.
getShortDateStr
()
+
"-"
+
weixinGroupId
;
String
keywordsKey
=
"BOOK:FIRSTKEYWORD:"
+
DateUtils
.
getShortDateStr
()
+
"-"
+
weixinGroupId
;
Boolean
isSend
=
JedisClusterUtils
.
getJson
(
keywordsKey
,
Boolean
.
class
);
Boolean
isSend
=
JedisClusterUtils
.
getJson
(
keywordsKey
,
Boolean
.
class
);
if
(
isSend
!=
null
&&
isSend
)
{
if
(
isSend
!=
null
&&
isSend
)
{
return
;
return
;
}
else
{
}
JedisClusterUtils
.
setJson
(
keywordsKey
,
true
);
JedisClusterUtils
.
setJson
(
keywordsKey
,
true
);
JedisClusterUtils
.
expire
(
keywordsKey
,
86400
);
JedisClusterUtils
.
expire
(
keywordsKey
,
86400
);
RobotReplyDTO
robotReplyDTO
=
new
RobotReplyDTO
();
RobotReplyDTO
robotReplyDTO
=
new
RobotReplyDTO
();
...
@@ -304,7 +320,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
...
@@ -304,7 +320,7 @@ public class BookKeywordBizImpl implements BookKeywordBiz {
robotReplyDTO
.
setWxGroupId
(
weixinGroupId
);
robotReplyDTO
.
setWxGroupId
(
weixinGroupId
);
robotReplyDTO
.
setWxUserId
(
userWxId
);
robotReplyDTO
.
setWxUserId
(
userWxId
);
wechatGroupConsr
.
addFirstRobotReplyRecord
(
robotReplyDTO
);
wechatGroupConsr
.
addFirstRobotReplyRecord
(
robotReplyDTO
);
}
log
.
info
(
"[接收用户发送文本消息] addKeywordAppTouchRecord耗时:{}ms "
,
System
.
currentTimeMillis
()
-
l4
);
}
}
/**
/**
...
...
pcloud-service-book/src/main/java/com/pcloud/book/keywords/vo/UpdateKeywordVO.java
View file @
b9d3af3c
...
@@ -64,4 +64,7 @@ public class UpdateKeywordVO implements Serializable {
...
@@ -64,4 +64,7 @@ public class UpdateKeywordVO implements Serializable {
@ApiModelProperty
(
"是否加入仓库"
)
@ApiModelProperty
(
"是否加入仓库"
)
private
Integer
addWarehouse
;
private
Integer
addWarehouse
;
@ApiModelProperty
(
"渠道id"
)
private
Long
channelId
;
}
}
pcloud-service-book/src/main/java/com/pcloud/book/mq/topic/WxGroupSendTextListener.java
View file @
b9d3af3c
...
@@ -21,10 +21,13 @@ import org.springframework.stereotype.Component;
...
@@ -21,10 +21,13 @@ import org.springframework.stereotype.Component;
import
java.util.List
;
import
java.util.List
;
import
lombok.extern.slf4j.Slf4j
;
/**
/**
* @author lily
* @author lily
* @date 2019/5/6 11:01
* @date 2019/5/6 11:01
*/
*/
@Slf4j
@Component
(
"wxGroupSendTextListener"
)
@Component
(
"wxGroupSendTextListener"
)
@RabbitListener
(
queues
=
MQTopicConumer
.
WXGROUP_SEND_TEXT
)
@RabbitListener
(
queues
=
MQTopicConumer
.
WXGROUP_SEND_TEXT
)
public
class
WxGroupSendTextListener
{
public
class
WxGroupSendTextListener
{
...
@@ -57,7 +60,9 @@ public class WxGroupSendTextListener {
...
@@ -57,7 +60,9 @@ public class WxGroupSendTextListener {
if
(
null
!=
bookClockInfoDTO
){
if
(
null
!=
bookClockInfoDTO
){
bookClockKeywordBiz
.
sendKeywordMessage
(
bookClockInfoDTO
,
wechatUserId
,
sendTextDTO
.
getWechatGroupId
());
bookClockKeywordBiz
.
sendKeywordMessage
(
bookClockInfoDTO
,
wechatUserId
,
sendTextDTO
.
getWechatGroupId
());
}
else
{
}
else
{
final
long
l
=
System
.
currentTimeMillis
();
bookKeywordBiz
.
sendKeywordMessage
(
sendTextDTO
.
getTextContent
().
trim
(),
sendTextDTO
.
getWechatGroupId
(),
wechatUserId
);
bookKeywordBiz
.
sendKeywordMessage
(
sendTextDTO
.
getTextContent
().
trim
(),
sendTextDTO
.
getWechatGroupId
(),
wechatUserId
);
log
.
info
(
"[接收用户发送文本消息] 总耗时:{}ms "
,
System
.
currentTimeMillis
()
-
l
);
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
pcloud-service-book/src/main/resources/mapper/group/WeixinQrcode.Mapper.xml
View file @
b9d3af3c
...
@@ -38,6 +38,12 @@
...
@@ -38,6 +38,12 @@
LIMIT 1
LIMIT 1
</select>
</select>
<select
id=
"countWechatGroup"
resultType =
"long"
>
SELECT count(*)
FROM weixin_qrcode
WHERE use_state = 0 AND update_state in (0,1,3) and weixin_group_id != ''
</select>
<update
id=
"setIsUseById"
parameterType=
"Long"
>
<update
id=
"setIsUseById"
parameterType=
"Long"
>
update
update
...
...
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