已绑定其他服务包,不再自动绑定
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -29,7 +29,7 @@ public class AutoBindServiceProcessor { | ... | @@ -29,7 +29,7 @@ public class AutoBindServiceProcessor { |
29 | try { | 29 | try { |
30 | connection = dbUtil.getConnection(); | 30 | connection = dbUtil.getConnection(); |
31 | // 查询未绑定 | 31 | // 查询未绑定 |
32 | String sql = StrUtil.format(" select xm.id,xm.name from x_media xm LEFT JOIN x_service__media xsm on xm.id = xsm.media_id and xsm.service_id = {} where xsm.id is null limit 100 ", SERVICE_ID); | 32 | String sql = StrUtil.format(" select xm.id,xm.name from x_media xm LEFT JOIN x_service__media xsm on xm.id = xsm.media_id where xsm.id is null limit 100 "); |
33 | List<Map<String, Object>> list = dbUtil.queryList(connection, sql); | 33 | List<Map<String, Object>> list = dbUtil.queryList(connection, sql); |
34 | // 开启事务 | 34 | // 开启事务 |
35 | dbUtil.beginTransaction(connection); | 35 | dbUtil.beginTransaction(connection); | ... | ... |
-
Please register or sign in to post a comment