This commit is contained in:
gazebo
2019-08-26 17:47:40 +08:00
parent ec612b807b
commit 139d3fec0f

View File

@@ -45,7 +45,7 @@ func TransferLegacyWeixins(mobile string) (err error) {
} else {
sql += " t2.id IS NULL OR (t1.openid <> '' AND t3.id IS NULL) OR (t1.openid_mini <> '' AND t4.id IS NULL)"
}
sql += `ORDER BY t1.parentid;`
sql += " ORDER BY t1.parentid;"
var weixinList []*legacymodel.WeiXins
db := dao.GetDB()
err = dao.GetRows(db, &weixinList, sql, sqlParams...)