Commit 66874276 6687427653ff54d24938baf04741c8d7087ebc5d by lWoHvYe

已绑定其他服务包,不再自动绑定

1 parent 826b7233
......@@ -29,7 +29,7 @@ public class AutoBindServiceProcessor {
try {
connection = dbUtil.getConnection();
// 查询未绑定
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);
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 ");
List<Map<String, Object>> list = dbUtil.queryList(connection, sql);
// 开启事务
dbUtil.beginTransaction(connection);
......