|
@@ -1,18 +1,18 @@
|
|
-package com.rongwei.bscommon.sys.db.server;
|
|
|
|
|
|
+package com.rongwei.bsserver.db.server;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
-import com.rongwei.bscommon.sys.redisserver.GridFileRedisCacheService;
|
|
|
|
-import com.rongwei.bscommon.sys.redisserver.RedisLock;
|
|
|
|
-import com.rongwei.bscommon.sys.utils.GzipHandle;
|
|
|
|
|
|
+import com.rongwei.bsserver.redisserver.GridFileRedisCacheService;
|
|
|
|
+import com.rongwei.bsserver.redisserver.RedisLock;
|
|
|
|
+import com.rongwei.bsserver.utils.GzipHandle;
|
|
import com.rongwei.bscommon.sys.utils.JsonUtil;
|
|
import com.rongwei.bscommon.sys.utils.JsonUtil;
|
|
-import com.rongwei.bsentity.domain.luckysheet.ConfigMergeModel;
|
|
|
|
-import com.rongwei.bsentity.domain.luckysheet.LuckySheetGridModel;
|
|
|
|
-import com.rongwei.bsentity.domain.luckysheet.enummodel.DisabledTypeEnum;
|
|
|
|
-import com.rongwei.bsentity.domain.luckysheet.enummodel.SheetOperationEnum;
|
|
|
|
|
|
+import com.rongwei.bsserver.entity.ConfigMergeModel;
|
|
|
|
+import com.rongwei.bsserver.entity.LuckySheetGridModel;
|
|
|
|
+import com.rongwei.bsserver.entity.enummodel.DisabledTypeEnum;
|
|
|
|
+import com.rongwei.bsserver.entity.enummodel.SheetOperationEnum;
|
|
import com.rongwei.luckysheet.JfGridConfigModel;
|
|
import com.rongwei.luckysheet.JfGridConfigModel;
|
|
import com.rongwei.luckysheet.db.IRecordDataInsertHandle;
|
|
import com.rongwei.luckysheet.db.IRecordDataInsertHandle;
|
|
import com.rongwei.luckysheet.db.IRecordDataUpdataHandle;
|
|
import com.rongwei.luckysheet.db.IRecordDataUpdataHandle;
|
|
@@ -366,7 +366,7 @@ public class JfGridUpdateService {
|
|
models.add(model);
|
|
models.add(model);
|
|
}
|
|
}
|
|
} catch (Exception ex) {
|
|
} catch (Exception ex) {
|
|
- log.error(ex.toString());
|
|
|
|
|
|
+ log.error("异常信息:{}", ex);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -891,7 +891,7 @@ public class JfGridUpdateService {
|
|
try {
|
|
try {
|
|
_v = bson.get("v").toString();
|
|
_v = bson.get("v").toString();
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
- log.error("DBObject---error");
|
|
|
|
|
|
+ log.error("DBObject---error: {}", e);
|
|
_v = bson.get("v");
|
|
_v = bson.get("v");
|
|
}
|
|
}
|
|
|
|
|
|
@@ -943,7 +943,7 @@ public class JfGridUpdateService {
|
|
_result = recordDataUpdataHandle.updateCellDataListValue(query, keyName, null, _v);
|
|
_result = recordDataUpdataHandle.updateCellDataListValue(query, keyName, null, _v);
|
|
//update.set("jfgridfile."+_sheetPosition+"."+k,_vdb);
|
|
//update.set("jfgridfile."+_sheetPosition+"."+k,_vdb);
|
|
} catch (Exception ex) {
|
|
} catch (Exception ex) {
|
|
- log.error("Operation_all--erorr:" + ex.toString());
|
|
|
|
|
|
+ log.error("Operation_all--erorr: {}", ex);
|
|
_v = "\"" + _v + "\"";
|
|
_v = "\"" + _v + "\"";
|
|
_result = recordDataUpdataHandle.updateCellDataListTxtValue(query, keyName, null, _v);
|
|
_result = recordDataUpdataHandle.updateCellDataListTxtValue(query, keyName, null, _v);
|
|
//update.set("jfgridfile."+_sheetPosition+"."+k,_v);
|
|
//update.set("jfgridfile."+_sheetPosition+"."+k,_v);
|
|
@@ -956,7 +956,7 @@ public class JfGridUpdateService {
|
|
}
|
|
}
|
|
|
|
|
|
} catch (Exception ex) {
|
|
} catch (Exception ex) {
|
|
- log.error("Operation_all--err--all:" + ex.getMessage());
|
|
|
|
|
|
+ log.error("Operation_all--err--all: {}", ex);
|
|
}
|
|
}
|
|
return "";
|
|
return "";
|
|
}
|
|
}
|
|
@@ -1802,7 +1802,7 @@ public class JfGridUpdateService {
|
|
log.info("更新失败");
|
|
log.info("更新失败");
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
- log.warn(e.getMessage());
|
|
|
|
|
|
+ log.error("异常信息:{}", e);
|
|
} finally {
|
|
} finally {
|
|
|
|
|
|
}
|
|
}
|
|
@@ -2087,7 +2087,7 @@ public class JfGridUpdateService {
|
|
loadRvMsgForLock(gridKey, bsons, key);
|
|
loadRvMsgForLock(gridKey, bsons, key);
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
-
|
|
|
|
|
|
+ log.error("redis加载异常, {}", e);
|
|
} finally {
|
|
} finally {
|
|
redisLock.unlock();
|
|
redisLock.unlock();
|
|
}
|
|
}
|