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
3ea041c8
Commit
3ea041c8
authored
Jun 18, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
常规BUG的修改
parent
f0addf73
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
DaoConst.java
yzg-util-db/src/main/java/com/yanzuoguang/dao/DaoConst.java
+4
-0
TableAnnotation.java
...db/src/main/java/com/yanzuoguang/dao/TableAnnotation.java
+1
-1
TableStruct.java
...b/src/main/java/com/yanzuoguang/dao/impl/TableStruct.java
+1
-1
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/dao/DaoConst.java
View file @
3ea041c8
...
@@ -195,6 +195,10 @@ public class DaoConst {
...
@@ -195,6 +195,10 @@ public class DaoConst {
*/
*/
public
static
final
String
[]
LAST
=
new
String
[]{
"{WHERE}"
,
"{GROUP}"
,
"{HAVING}"
,
"{ORDER}"
,
"{LIMIT}"
};
public
static
final
String
[]
LAST
=
new
String
[]{
"{WHERE}"
,
"{GROUP}"
,
"{HAVING}"
,
"{ORDER}"
,
"{LIMIT}"
};
/**
* 普通字段
*/
public
static
final
int
FIELD_NONE
=
-
1
;
/**
/**
* 普通字段
* 普通字段
*/
*/
...
...
yzg-util-db/src/main/java/com/yanzuoguang/dao/TableAnnotation.java
View file @
3ea041c8
...
@@ -24,5 +24,5 @@ public @interface TableAnnotation {
...
@@ -24,5 +24,5 @@ public @interface TableAnnotation {
* 字段类型
* 字段类型
* @return
* @return
*/
*/
int
type
()
default
DaoConst
.
FIELD_
COMMON
;
int
type
()
default
DaoConst
.
FIELD_
NONE
;
}
}
yzg-util-db/src/main/java/com/yanzuoguang/dao/impl/TableStruct.java
View file @
3ea041c8
...
@@ -141,7 +141,7 @@ public class TableStruct {
...
@@ -141,7 +141,7 @@ public class TableStruct {
* @return 最终类型
* @return 最终类型
*/
*/
private
int
getActionType
(
int
fieldAction
,
int
stringAction
)
{
private
int
getActionType
(
int
fieldAction
,
int
stringAction
)
{
if
(
fieldAction
!=
DaoConst
.
FIELD_
COMMON
)
{
if
(
fieldAction
!=
DaoConst
.
FIELD_
NONE
)
{
return
fieldAction
;
return
fieldAction
;
}
else
{
}
else
{
return
stringAction
;
return
stringAction
;
...
...
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