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
09962484
Commit
09962484
authored
Mar 16, 2022
by
yff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改BUG
parent
248ab9e7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
GpfkDaoImpl.java
...l/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
+2
-1
GpfkcxDaoImpl.java
...src/main/java/com/gavel/kwell/dao/impl/GpfkcxDaoImpl.java
+3
-2
GphyDaoImpl.java
...l/src/main/java/com/gavel/kwell/dao/impl/GphyDaoImpl.java
+2
-1
GpfkServiceImpl.java
...in/java/com/gavel/kwell/service/impl/GpfkServiceImpl.java
+3
-1
No files found.
gavel/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
View file @
09962484
...
...
@@ -444,7 +444,8 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap
.
append
(
" select GPFK_ID, GPFK_FKSJ, GPFK_FKJSSJ, GPFK_HGBZ, GPFK_FKSL, "
);
sqlMap
.
append
(
" GPFK_HGSL, GPFK_BHGSL, GPFK_FKR, BZGX_NAME,BZGX_CODE, BZGX_GXLX "
);
sqlMap
.
append
(
" from GPFK "
);
sqlMap
.
append
(
" left join BZGX on BZGX_ID = GPFK_FKGX "
);
sqlMap
.
append
(
" left join WOGYLX on WOGYLX_ID = GPFK_FKGX "
);
sqlMap
.
append
(
" left join BZGX on BZGX_ID = WOGYLX_BZGXID "
);
sqlMap
.
append
(
" where 1 = 1 "
);
sqlMap
.
append
(
" and GPFK_WOSNID = :pCode "
);
sqlMap
.
setParamValue
(
"pCode"
,
wosnid
);
...
...
gavel/src/main/java/com/gavel/kwell/dao/impl/GpfkcxDaoImpl.java
View file @
09962484
...
...
@@ -36,7 +36,8 @@ public class GpfkcxDaoImpl extends BaseDaoImpl implements GpfkcxDao {
sqlMap
.
append
(
" left join WOSN on WOSN_CODE = GPFK_WOSNID "
);
sqlMap
.
append
(
" left join WO on WO_ID = WOSN_WOID "
);
sqlMap
.
append
(
" left join WLXX on WLXX_ID = WO_WLID "
);
sqlMap
.
append
(
" left join BZGX on BZGX_ID = GPFK_FKGX "
);
sqlMap
.
append
(
" left join WOGYLX on WOGYLX_ID = GPFK_FKGX "
);
sqlMap
.
append
(
" left join BZGX on BZGX_ID = WOGYLX_BZGXID "
);
sqlMap
.
append
(
" left join GZZX on GZZX_ID = BZGX_GZZXID "
);
sqlMap
.
append
(
" where 1=1 "
);
if
(
StringUtils
.
isNotEmpty
(
condition
.
getGzzxid
())){
...
...
@@ -44,7 +45,7 @@ public class GpfkcxDaoImpl extends BaseDaoImpl implements GpfkcxDao {
}
if
(
StringUtils
.
isNotEmpty
(
condition
.
getBzgxid
())){
sqlMap
.
append
(
" and "
+
SqlUtil
.
getWhereEqualSql
(
"
GPFK_FKGX
"
,
condition
.
getBzgxid
().
split
(
","
)));
sqlMap
.
append
(
" and "
+
SqlUtil
.
getWhereEqualSql
(
"
BZGX_ID
"
,
condition
.
getBzgxid
().
split
(
","
)));
}
if
(
StringUtils
.
isNotEmpty
(
condition
.
getBxid
())){
...
...
gavel/src/main/java/com/gavel/kwell/dao/impl/GphyDaoImpl.java
View file @
09962484
...
...
@@ -24,8 +24,9 @@ public class GphyDaoImpl extends BaseDaoImpl implements GphyDao {
sqlMap
.
append
(
"select GPHY_ID, GPHY_MID, GPHY_WLSNID, GPHY_FKSJ, GPHY_ZPSL, "
);
sqlMap
.
append
(
" GPHY_CXSL, GPHY_FKR, GPHY_FKGX, GPHY_BZ, GPHY_WHRID, "
);
sqlMap
.
append
(
" GPHY_WHR, GPHY_WHSJ, GPHY_CJRID, GPHY_CJR, GPHY_CJSJ, "
);
sqlMap
.
append
(
" GPHY_SYSVERSION, GPHY_WLID, GPHY_HYLX, GPHY_FKRID "
);
sqlMap
.
append
(
" GPHY_SYSVERSION, GPHY_WLID, GPHY_HYLX, GPHY_FKRID
,WLXX_NAME,WLXX_CODE,WLXX_GG
"
);
sqlMap
.
append
(
"from GPHY "
);
sqlMap
.
append
(
" left join WLXX on WLXX_ID = GPHY_WLID "
);
sqlMap
.
append
(
"where 1 = 1 "
);
if
(
StringUtils
.
isNotEmpty
(
condition
.
getId
())){
sqlMap
.
append
(
" and "
+
SqlUtil
.
getWhereSql
(
"GPHY_ID"
,
condition
.
getId
()));
...
...
gavel/src/main/java/com/gavel/kwell/service/impl/GpfkServiceImpl.java
View file @
09962484
...
...
@@ -1003,9 +1003,11 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService
gphy
.
setWlid
(
wlid
);
gphy
.
setMid
(
gpfkVo
.
getId
());
gphy
.
setWlsnid
(
fkCondition
.
getSncode
());
gphy
.
setFkrid
(
UserInfoUtil
.
getId
());
gphy
.
setFkr
(
UserInfoUtil
.
getUserName
());
gphy
.
setFksj
(
DateUtils
.
getDateTime
());
gphy
.
setZpsl
(
1.0
);
gphy
.
setHylx
(
HzGylxEnum
.
ZP
.
getId
()
);
gphy
.
setHylx
(
"BOM"
);
gphyService
.
insert
(
gphy
);
}
if
(
gphyDao
.
queryIfZpwc
(
hyCondition
)==
0
)
{
...
...
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