Commit de659968 authored by yanzg's avatar yanzg

接口文档的支持

parent ba352cd6
...@@ -161,7 +161,7 @@ public interface BaseDao { ...@@ -161,7 +161,7 @@ public interface BaseDao {
* @param requests 前台参数,不能包含主键以及其他不需要修改的字段 * @param requests 前台参数,不能包含主键以及其他不需要修改的字段
* @return 保存成功,返回保存的ID,保存失败,返回空值 * @return 保存成功,返回保存的ID,保存失败,返回空值
*/ */
<T extends Object> List<String> saveByLoadList(Class<T> cls, List<Object> requests); <T extends Object> List<String> saveByLoadList(Class<T> cls, List requests);
/*** /***
* 查询数据是否存在,当存在时修改,否则增加 * 查询数据是否存在,当存在时修改,否则增加
......
...@@ -617,7 +617,7 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao { ...@@ -617,7 +617,7 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao {
* @return 保存成功,返回保存的ID,保存失败,返回空值 * @return 保存成功,返回保存的ID,保存失败,返回空值
*/ */
@Override @Override
public <T extends Object> List<String> saveByLoadList(Class<T> cls, List<Object> requests) { public <T extends Object> List<String> saveByLoadList(Class<T> cls, List requests) {
List<String> ret = new ArrayList<>(); List<String> ret = new ArrayList<>();
if (requests != null) { if (requests != null) {
for (Object model : requests) { for (Object model : requests) {
......
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