Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
de659968
Commit
de659968
authored
Nov 27, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口文档的支持
parent
ba352cd6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
BaseDao.java
yzg-util-db/src/main/java/com/yanzuoguang/dao/BaseDao.java
+1
-1
BaseDaoImpl.java
...b/src/main/java/com/yanzuoguang/dao/impl/BaseDaoImpl.java
+1
-1
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/dao/BaseDao.java
View file @
de659968
...
@@ -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
);
/***
/***
* 查询数据是否存在,当存在时修改,否则增加
* 查询数据是否存在,当存在时修改,否则增加
...
...
yzg-util-db/src/main/java/com/yanzuoguang/dao/impl/BaseDaoImpl.java
View file @
de659968
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment