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
83fbf427
Commit
83fbf427
authored
Aug 04, 2020
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认日期格式的支持
parent
fe50a963
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
TableSqlCache.java
...src/main/java/com/yanzuoguang/dao/impl/TableSqlCache.java
+0
-2
TableStruct.java
...b/src/main/java/com/yanzuoguang/dao/impl/TableStruct.java
+4
-4
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/dao/impl/TableSqlCache.java
View file @
83fbf427
...
@@ -101,8 +101,6 @@ public class TableSqlCache {
...
@@ -101,8 +101,6 @@ public class TableSqlCache {
*/
*/
public
SqlData
add
(
SqlData
sql
)
{
public
SqlData
add
(
SqlData
sql
)
{
if
(
sql
!=
null
)
{
if
(
sql
!=
null
)
{
// 排序查询条件,用于排序优先级
sql
.
sortCond
();
this
.
nameCache
.
put
(
sql
.
getName
(),
sql
);
this
.
nameCache
.
put
(
sql
.
getName
(),
sql
);
String
keyType
=
String
.
valueOf
(
sql
.
getSqlType
());
String
keyType
=
String
.
valueOf
(
sql
.
getSqlType
());
this
.
typeCache
.
get
(
keyType
,
new
ArrayList
<>()).
add
(
sql
);
this
.
typeCache
.
get
(
keyType
,
new
ArrayList
<>()).
add
(
sql
);
...
...
yzg-util-db/src/main/java/com/yanzuoguang/dao/impl/TableStruct.java
View file @
83fbf427
...
@@ -365,10 +365,10 @@ public class TableStruct {
...
@@ -365,10 +365,10 @@ public class TableStruct {
table
.
add
(
table
.
add
(
releaseSqlReplace
(),
releaseSqlReplace
(),
releaseSqlCreate
(),
releaseSqlCreate
(),
releaseSqlUpdate
(),
releaseSqlUpdate
()
.
sortCond
()
,
releaseSqlRemove
(),
releaseSqlRemove
()
.
sortCond
()
,
releaseSqlLoad
(),
releaseSqlLoad
()
.
sortCond
()
,
releaseSqlQuery
()
releaseSqlQuery
()
.
sortCond
()
);
);
}
}
initSaveWith
(
table
);
initSaveWith
(
table
);
...
...
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