Commit 4e397117 by 裴大威

fix getOneWechatGroup weixin_group_id != null

parent b9191630
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<select id="getOneWechatGroup" resultType = "WeixinQrcodeDTO" > <select id="getOneWechatGroup" resultType = "WeixinQrcodeDTO" >
SELECT id, qrcode_url qrcodeUrl, weixin_group_id weixinGroupId, robot_id robotId, robot_wx_id robotWxId SELECT id, qrcode_url qrcodeUrl, weixin_group_id weixinGroupId, robot_id robotId, robot_wx_id robotWxId
FROM weixin_qrcode FROM weixin_qrcode
WHERE use_state = 0 AND update_state in (0,1,3) WHERE use_state = 0 AND update_state in (0,1,3) and weixin_group_id != ''
LIMIT 1 LIMIT 1
</select> </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