Commit d738a26b authored by yanzg's avatar yanzg

颜佐光工具类

parent 89a50d84
package com.yanzuoguang.util.vo;
/**
* 初始化Dao数据
*/
public interface InitDao {
/**
* 初始化数据,去掉空值
*/
void init();
}
......@@ -49,13 +49,4 @@ public interface BaseDao {
* @return 需要返回的数据
*/
<T extends Object> T load(Object model, Class<T> cls);
/**
* 写入当前表的日志
*
* @param logType 日志类型,参照LogModel中的常量
* @param id 操作的当前表的主键编号
* @param data 需要处理的数据
*/
void writeLog(int logType, String id, Object data);
}
package com.yanzuoguang.db.db.dao.Impl;
package com.yanzuoguang.db.db.dao;
/**
* created by yanzu on 2017/5/30.
*/
public class DaoConst {
public static final int OperatorTypeCreate = 0;
public static final int OperatorTypeUpdate = 1;
public static final int OperatorTypeRemove = 2;
public static final int OperatorTypeLoad = 3;
/**
* 创建
......
package com.yanzuoguang.db.db.dao.Impl;
import com.yanzuoguang.db.db.dao.DaoConst;
import com.yanzuoguang.db.db.dao.TableAnnotation;
import com.yanzuoguang.util.helper.StringHelper;
import com.yanzuoguang.util.obj.MethodField;
......
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