|
@@ -58,7 +58,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
}
|
|
|
return true;
|
|
|
}catch (Exception e){
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
throw new RuntimeException(e.getMessage());
|
|
|
}
|
|
|
}
|
|
@@ -89,7 +89,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
});
|
|
|
return true;
|
|
|
}catch (Exception e){
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
@@ -115,7 +115,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(updateSql);
|
|
|
return true;
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
@@ -148,7 +148,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(updateSql.toString());
|
|
|
return true;
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
@@ -181,7 +181,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(updateSql.toString());
|
|
|
return true;
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
@@ -215,7 +215,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(updateSql,arr.toArray());
|
|
|
return true;
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
@@ -243,7 +243,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(sql,arr.toArray());
|
|
|
return true;
|
|
|
}catch (Exception e){
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
@@ -272,7 +272,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(sql,arr.toArray());
|
|
|
return true;
|
|
|
}catch (Exception e){
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
@@ -296,7 +296,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(sql2,new Object[]{model.getList_id(),model.getIndex(),model.getBlock_id()});
|
|
|
return true;
|
|
|
}catch (Exception e){
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
throw new RuntimeException(e.getMessage());
|
|
|
}
|
|
|
}
|
|
@@ -322,7 +322,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(sql2,new Object[]{model.getList_id(),index2,model.getBlock_id()});
|
|
|
return true;
|
|
|
}catch (Exception e){
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
throw new RuntimeException(e.getMessage());
|
|
|
}
|
|
|
}
|
|
@@ -348,7 +348,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(sql2);
|
|
|
return true;
|
|
|
}catch (Exception e){
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
throw new RuntimeException(e.getMessage());
|
|
|
}
|
|
|
}
|
|
@@ -386,7 +386,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
try {
|
|
|
pg.setValue(b.getJson_data().toString(SerializerFeature.WriteMapNullValue));
|
|
|
} catch (SQLException e) {
|
|
|
- log.error(e.getMessage());
|
|
|
+ log.error("执行sql异常, {}", e);
|
|
|
}
|
|
|
objectList.add(pg);
|
|
|
|
|
@@ -400,7 +400,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
|
|
|
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
@@ -439,7 +439,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(updateSql,arr.toArray());
|
|
|
return true;
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
throw new RuntimeException(ex.getMessage());
|
|
|
}
|
|
|
}
|
|
@@ -478,7 +478,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(updateSql,arr.toArray());
|
|
|
return true;
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
throw new RuntimeException(ex.getMessage());
|
|
|
}
|
|
|
}
|
|
@@ -517,7 +517,7 @@ public class RecordDataUpdataHandle extends BaseHandle implements IRecordDataUpd
|
|
|
jdbcTemplate_postgresql.update(updateSql,arr.toArray());
|
|
|
return true;
|
|
|
}catch (Exception ex){
|
|
|
- log.error(ex.getMessage());
|
|
|
+ log.error("执行sql异常, {}", ex);
|
|
|
throw new RuntimeException(ex.getMessage());
|
|
|
}
|
|
|
}
|