Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
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
gavelinfo
kwell-mes
Commits
c7d71b34
Commit
c7d71b34
authored
Mar 31, 2022
by
yff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改BUG
parent
7e32a720
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
GpfkDaoImpl.java
...l/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
+4
-4
No files found.
gavel/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
View file @
c7d71b34
...
...
@@ -1841,20 +1841,20 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
@Override
public
GpfkVO
queryDailyFkInfoUpgrade
(
GpfkCondition
condition
)
{
SqlMap
sqlMap
=
new
SqlMap
();
sqlMap
.
append
(
" select sum(gpfkjg_fksl) from gpfkjg "
);
sqlMap
.
append
(
" select sum(gpfkjg_fksl)
as GPFK_FKSL, sum(GPFKJG_BHGSL) as GPFK_BHGSL, sum(GPFKJG_HGSL) as GPFK_HGSL
from gpfkjg "
);
sqlMap
.
append
(
" left join bzgx on bzgx_id = gpfkjg_bzgxid "
);
sqlMap
.
append
(
" where 1 = 1"
);
sqlMap
.
append
(
" and bzgx_gxlx ='ZP' "
);
if
(
StringUtils
.
isNotEmpty
(
condition
.
getBxid
())){
sqlMap
.
append
(
" and
c.
GPFKJG_FKBX = :pBXID "
);
sqlMap
.
append
(
" and GPFKJG_FKBX = :pBXID "
);
sqlMap
.
setParamValue
(
"pBXID"
,
condition
.
getBxid
());
}
if
(
StringUtils
.
isNotEmpty
(
condition
.
getFkrid
())){
sqlMap
.
append
(
" and
c.
GPFKJG_FKRID = :pFKRID "
);
sqlMap
.
append
(
" and GPFKJG_FKRID = :pFKRID "
);
sqlMap
.
setParamValue
(
"pFKRID"
,
condition
.
getFkrid
());
}
if
(
condition
.
getYwrq
()
!=
null
)
{
sqlMap
.
append
(
" and
c.
GPFKJG_YWRQ >= :pYWRQ "
);
sqlMap
.
append
(
" and GPFKJG_YWRQ >= :pYWRQ "
);
sqlMap
.
setParamValue
(
"pYWRQ"
,
condition
.
getYwrq
());
}
return
sqlMap
.
queryEntity
(
GpfkVO
.
class
);
...
...
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