Merge branch 'script_gj' of http://gitlab.fangjia.com/dev0/main into script_gj

This commit is contained in:
2024-05-19 22:24:20 +08:00
2 changed files with 3 additions and 3 deletions
@@ -9,7 +9,7 @@ import com.mongodb.BasicDBObject
import org.apache.commons.lang.StringUtils
import java.util.regex.Pattern
// 分期分区与主小区映射关系表
@BatchOwner(Watcher.WangWenYan)
class FindStageDistrictBatch extends BaseBatch {
@@ -29,11 +29,11 @@ import static com.mongodb.client.model.Sorts.*
public class DbUtils{
public static final String ONLINE_MONGODB_DOMAIN = "mongo.db.fangjia.com";
public static DBCollection OPERATION_LOG = new Mongo("192.168.0.136", 27017).getDB('fangjia').getCollection('operation_log');
//public static DBCollection OPERATION_LOG = new Mongo("192.168.0.136", 27017).getDB('fangjia').getCollection('operation_log');
public static final String COMMON_DB = "fangjia";
public static final int COMMON_PORT = 27017;
public static DSCollection seawater = new DataStore("seawater.db.fangjia.com", 27777).getCollection("fangjia.seawater")
//public static DSCollection seawater = new DataStore("seawater.db.fangjia.com", 27777).getCollection("fangjia.seawater")
public static DSCollection seaweed = new DataStore("seaweed.db.fangjia.com", 27007).getCollection("fangjia.seaweed")
public static DSCollection SEAWEED_SLAVE = new DataStore("seaweed.db.fangjia.com", 27007).getCollection("fangjia.seaweed")
public static DSCollection seabird = new DataStore("seabird.db.fangjia.com").getCollection("fangjia.seabird")