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
f362b26e
Commit
f362b26e
authored
Dec 16, 2021
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载视频
parent
fa25332f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
YzgFileDaoImpl.java
...a/com/yanzuoguang/cloud/file/dao/impl/YzgFileDaoImpl.java
+1
-1
No files found.
yzg-util-file/src/main/java/com/yanzuoguang/cloud/file/dao/impl/YzgFileDaoImpl.java
View file @
f362b26e
...
...
@@ -70,7 +70,7 @@ public class YzgFileDaoImpl extends BaseDaoImpl implements YzgFileDao, Initializ
;
table
.
add
(
UPDATE_STATUS_SQL
,
"UPDATE Yzg_File AS a SET a.fileId=a.fileId {FIELD} WHERE a.fileId=@fileId"
)
.
add
Para
(
"fileStatus"
,
DaoConst
.
CODE_FIELD
,
",a.fileStatus=CASE WHEN @fileStatus>a.fileStatus THEN @fileStatus ELSE a.fileStatus END
"
)
.
add
(
"fileStatus"
,
"AND a.fileStatus<=@fileStatus"
,
DaoConst
.
CODE_FIELD
,
",a.fileStatus=@fileStatus
"
)
.
addPara
(
"fileRow"
,
DaoConst
.
CODE_FIELD
,
",a.fileRow=CASE WHEN @fileRow>a.fileRow THEN @fileRow ELSE a.fileRow END"
)
.
addPara
(
"errorMessage"
,
DaoConst
.
CODE_FIELD
,
",a.errorMessage=@errorMessage"
)
;
...
...
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