|
@@ -36,7 +36,7 @@ public class RecordDataInsertHandle extends BaseHandle implements IRecordDataIns
|
|
|
try {
|
|
|
pg.setValue(bson.toString());
|
|
|
} catch (SQLException e) {
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
}
|
|
|
|
|
|
String sql = "insert into "+JfGridConfigModel.TABLENAME +" (id,block_id,index,list_id,status,json_data,\"order\",is_delete) values " +
|
|
@@ -74,7 +74,7 @@ public class RecordDataInsertHandle extends BaseHandle implements IRecordDataIns
|
|
|
try {
|
|
|
pg.setValue(b.getJson_data().toString());
|
|
|
} catch (SQLException e) {
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
}
|
|
|
objectList.add(pg);
|
|
|
|
|
@@ -139,7 +139,7 @@ public class RecordDataInsertHandle extends BaseHandle implements IRecordDataIns
|
|
|
|
|
|
pg.setValue(db.toString());
|
|
|
} catch (SQLException e) {
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
}
|
|
|
objectList.add(pg);
|
|
|
|
|
@@ -153,7 +153,7 @@ public class RecordDataInsertHandle extends BaseHandle implements IRecordDataIns
|
|
|
log.info("InsertBatchDb count {}",i);
|
|
|
return "";
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
return null;
|
|
|
}
|
|
|
}
|