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
e10e2d8e
Commit
e10e2d8e
authored
Jun 19, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
常规BUG的修改
parent
75e74d54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
TableStruct.java
...b/src/main/java/com/yanzuoguang/dao/impl/TableStruct.java
+15
-14
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/dao/impl/TableStruct.java
View file @
e10e2d8e
...
@@ -113,27 +113,28 @@ public class TableStruct {
...
@@ -113,27 +113,28 @@ public class TableStruct {
boolean
isTypeMany
=
resultActionType
!=
DaoConst
.
FIELD_MD5
boolean
isTypeMany
=
resultActionType
!=
DaoConst
.
FIELD_MD5
&&
resultActionType
!=
DaoConst
.
FIELD_REMOVE
&&
resultActionType
!=
DaoConst
.
FIELD_REMOVE
&&
resultActionType
!=
DaoConst
.
FIELD_VERSION
;
&&
resultActionType
!=
DaoConst
.
FIELD_VERSION
if
(
isTypeMany
)
{
&&
resultActionType
!=
DaoConst
.
FIELD_COMMON
;
if
(
resultActionType
!=
DaoConst
.
FIELD_COMMON
)
{
List
<
TableFieldVo
>
actionList
=
this
.
getFieldActionList
(
resultActionType
);
List
<
TableFieldVo
>
actionList
=
this
.
getFieldActionList
(
resultActionType
);
// 处理其他特殊列
if
(
isTypeMany
)
{
actionList
.
add
(
vo
);
actionList
.
add
(
vo
);
}
}
// 处理其他特殊列
else
if
(
resultActionType
==
fieldAction
)
{
else
if
(
resultActionType
!=
DaoConst
.
FIELD_COMMON
)
{
List
<
TableFieldVo
>
actionList
=
this
.
getFieldActionList
(
resultActionType
);
// fieldAction 优先级高于 stringAction
// fieldAction 优先级高于 stringAction
// 假如特殊列已经存在,则将已经存在的特殊列删除,并且添加新的特殊列
// 假如特殊列已经存在,则将已经存在的特殊列删除,并且添加新的特殊列
if
(
resultActionType
==
fieldAction
)
{
actionList
.
clear
();
actionList
.
clear
();
actionList
.
add
(
vo
);
actionList
.
add
(
vo
);
}
else
{
}
else
if
(
actionList
.
isEmpty
())
{
// stringAction
// 假如是默认的,并且特殊列已经存在,则不进行任何处理
// 假如是默认的,并且特殊列已经存在,则不进行任何处理
if
(
actionList
.
isEmpty
())
{
actionList
.
add
(
vo
);
actionList
.
add
(
vo
);
}
}
}
}
}
}
}
}
}
/**
/**
...
...
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