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
6737a7a4
Commit
6737a7a4
authored
Aug 08, 2024
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
身份证识别
parent
66f92057
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
BaseDaoSql.java
...db/src/main/java/com/yanzuoguang/dao/impl/BaseDaoSql.java
+8
-0
AllBeanRowMapper.java
...c/main/java/com/yanzuoguang/db/impl/AllBeanRowMapper.java
+0
-4
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/dao/impl/BaseDaoSql.java
View file @
6737a7a4
...
@@ -74,6 +74,14 @@ public abstract class BaseDaoSql {
...
@@ -74,6 +74,14 @@ public abstract class BaseDaoSql {
this
.
db
=
db
;
this
.
db
=
db
;
}
}
public
<
T
extends
InitDao
>
void
initList
(
Collection
<
T
>
list
)
{
for
(
T
item
:
list
)
{
if
(
item
!=
null
)
{
item
.
init
();
}
}
}
/**
/**
* 获取数据库执行类
* 获取数据库执行类
*
*
...
...
yzg-util-db/src/main/java/com/yanzuoguang/db/impl/AllBeanRowMapper.java
View file @
6737a7a4
...
@@ -220,10 +220,6 @@ public class AllBeanRowMapper<T> implements RowMapper<T> {
...
@@ -220,10 +220,6 @@ public class AllBeanRowMapper<T> implements RowMapper<T> {
}
}
}
}
if
(
mappedObject
instanceof
InitDao
)
{
((
InitDao
)
mappedObject
).
init
();
}
return
mappedObject
;
return
mappedObject
;
}
}
...
...
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