Commit c4ae7c42 authored by yanzg's avatar yanzg

数据库实体的支持

parent 790a64e1
...@@ -2,10 +2,10 @@ package com.yanzuoguang.dao.Impl; ...@@ -2,10 +2,10 @@ package com.yanzuoguang.dao.Impl;
import com.yanzuoguang.dao.TableAnnotation; import com.yanzuoguang.dao.TableAnnotation;
import com.yanzuoguang.db.DbExecute; import com.yanzuoguang.db.DbExecute;
import com.yanzuoguang.util.base.ObjectHelper;
import com.yanzuoguang.util.cache.MemoryCache; import com.yanzuoguang.util.cache.MemoryCache;
import com.yanzuoguang.util.exception.CodeException; import com.yanzuoguang.util.exception.CodeException;
import com.yanzuoguang.util.helper.StringHelper; import com.yanzuoguang.util.helper.StringHelper;
import com.yanzuoguang.util.base.ObjectHelper;
import com.yanzuoguang.util.vo.MapRow; import com.yanzuoguang.util.vo.MapRow;
import com.yanzuoguang.util.vo.PageSizeData; import com.yanzuoguang.util.vo.PageSizeData;
import com.yanzuoguang.util.vo.PageSizeReq; import com.yanzuoguang.util.vo.PageSizeReq;
...@@ -394,6 +394,7 @@ public abstract class BaseDaoSql { ...@@ -394,6 +394,7 @@ public abstract class BaseDaoSql {
// 处理字段以及代码片段 // 处理字段以及代码片段
Map<String, Object> mapPara = new HashMap<String, Object>(); // 按照参数顺序缓存的参数 Map<String, Object> mapPara = new HashMap<String, Object>(); // 按照参数顺序缓存的参数
ObjectHelper.writeWithFrom(mapPara, model);
Map<String, List<String>> codeMap = new HashMap<String, List<String>>(); // 代码片段缓存 Map<String, List<String>> codeMap = new HashMap<String, List<String>>(); // 代码片段缓存
// 循环处理字段 // 循环处理字段
......
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