Commit 775561d7 authored by yanzg's avatar yanzg

接口文档的支持

parent 66ce363d
...@@ -382,7 +382,6 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao { ...@@ -382,7 +382,6 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao {
@Override @Override
public <T extends Object> T load(Object model, Class<T> resultClass) { public <T extends Object> T load(Object model, Class<T> resultClass) {
// 获取来源主键 // 获取来源主键
String key = this.getInputKey(model);
Object from = this.getLoadFrom(model); Object from = this.getLoadFrom(model);
// 通过传入数据进行加载 // 通过传入数据进行加载
T to = this.queryFirst(resultClass, DaoConst.LOAD, from); T to = this.queryFirst(resultClass, DaoConst.LOAD, from);
...@@ -408,7 +407,6 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao { ...@@ -408,7 +407,6 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao {
@Override @Override
public <T extends Object> List<T> loadList(Object model, Class<T> resultClass) { public <T extends Object> List<T> loadList(Object model, Class<T> resultClass) {
// 获取来源主键 // 获取来源主键
String key = this.getInputKey(model);
Object from = this.getLoadFrom(model); Object from = this.getLoadFrom(model);
// 通过传入数据进行加载 // 通过传入数据进行加载
...@@ -447,7 +445,6 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao { ...@@ -447,7 +445,6 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao {
@Override @Override
public <T extends Object> PageSizeData<T> loadPage(PageSizeReqVo pageReq, Object model, Class<T> resultClass) { public <T extends Object> PageSizeData<T> loadPage(PageSizeReqVo pageReq, Object model, Class<T> resultClass) {
// 获取来源主键 // 获取来源主键
String key = this.getInputKey(model);
Object from = this.getLoadFrom(model); Object from = this.getLoadFrom(model);
// 通过传入数据进行加载 // 通过传入数据进行加载
......
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