Commit 3e5f1ad6 by lili

合并代码

parent 588acda0
......@@ -249,6 +249,7 @@ public class WeixinQrcodeBizImpl implements WeixinQrcodeBiz {
}
weixinQrcode.setUpdateState(0);
}else {
weixinQrcode.setWeixinGroupId("");
weixinQrcode.setUpdateState(4);
newUrl = QrcodeTools.reCreateQrcode(weixinQrcodeVO.getQrcodeUrl());
}
......
......@@ -34,7 +34,7 @@
<select id="getOneWechatGroup" resultType = "WeixinQrcodeDTO" >
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 not in (2,4)
WHERE use_state = 0 AND update_state in (0,1,3)
LIMIT 1
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment