Commit d3d9e878 authored by yanzg's avatar yanzg

默认日期格式的支持

parent 16d900a8
...@@ -204,13 +204,13 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao { ...@@ -204,13 +204,13 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao {
// 获取来源主键 // 获取来源主键
Object from = model; Object from = model;
String keyString = getInputKey(from); String keyString = getInputKey(from);
// 调用删除日志
this.check(DaoConst.OPERATOR_TYPE_REMOVE, keyString, from);
// 当主键存在值时,直接通过主键删除 // 当主键存在值时,直接通过主键删除
if (!StringHelper.isEmpty(keyString)) { if (!StringHelper.isEmpty(keyString)) {
// 去掉其他非主键的属性 // 去掉其他非主键的属性
from = new HashMap<String, Object>(DaoConst.COLLECTION_INIT_SIZE); from = new HashMap<String, Object>(DaoConst.COLLECTION_INIT_SIZE);
this.setKeyString(from, keyString); this.setKeyString(from, keyString);
// 调用删除日志
this.check(DaoConst.OPERATOR_TYPE_REMOVE, keyString, from);
} }
// 处理来源值 // 处理来源值
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment