|
@@ -54,6 +54,8 @@ import java.util.regex.Pattern;
|
|
|
@Component
|
|
@Component
|
|
|
public class IDataTemplateMsgAop {
|
|
public class IDataTemplateMsgAop {
|
|
|
|
|
|
|
|
|
|
+ private static final String TABLE_NAME = "t_business_log";
|
|
|
|
|
+
|
|
|
private static final String REMOVE_METHOD = "removeFormData";
|
|
private static final String REMOVE_METHOD = "removeFormData";
|
|
|
|
|
|
|
|
private static final String SAVE_METHOD = "saveFormDataVo";
|
|
private static final String SAVE_METHOD = "saveFormDataVo";
|
|
@@ -195,7 +197,8 @@ public class IDataTemplateMsgAop {
|
|
|
map.put("table_name" , tableName);
|
|
map.put("table_name" , tableName);
|
|
|
map.put("table_comment" , tableComment);
|
|
map.put("table_comment" , tableComment);
|
|
|
map.put("data_" , oldData);
|
|
map.put("data_" , oldData);
|
|
|
- String sql = SqlUtil.buildInsertSql(map,LogAopUtil.TABLE_NAME);
|
|
|
|
|
|
|
+ map.put("create_time_" , new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
|
|
|
|
|
+ String sql = SqlUtil.buildInsertSql(map,TABLE_NAME);
|
|
|
try {
|
|
try {
|
|
|
commonDao.execute(sql);
|
|
commonDao.execute(sql);
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
@@ -210,7 +213,8 @@ public class IDataTemplateMsgAop {
|
|
|
map.put("table_name" , tableName);
|
|
map.put("table_name" , tableName);
|
|
|
map.put("table_comment" , tableComment);
|
|
map.put("table_comment" , tableComment);
|
|
|
map.put("data_" , oldData);
|
|
map.put("data_" , oldData);
|
|
|
- String sql = SqlUtil.buildInsertSql(map,LogAopUtil.TABLE_NAME);
|
|
|
|
|
|
|
+ map.put("create_time_" , new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
|
|
|
|
|
+ String sql = SqlUtil.buildInsertSql(map,TABLE_NAME);
|
|
|
try {
|
|
try {
|
|
|
commonDao.execute(sql);
|
|
commonDao.execute(sql);
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|