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
12b48924
Commit
12b48924
authored
Mar 25, 2022
by
黄自鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整bug
parent
ddd5d6d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
59 deletions
+59
-59
GpfkDaoImpl.java
...l/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
+16
-16
GpfkServiceImpl.java
...in/java/com/gavel/kwell/service/impl/GpfkServiceImpl.java
+43
-43
No files found.
gavel/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
View file @
12b48924
...
...
@@ -1376,7 +1376,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap
.
append
(
"LEFT JOIN WLXX ON WLXX_ID = GPHY_WLID "
);
sqlMap
.
append
(
"where 1 = 1 "
);
if
(
StringUtils
.
isNotEmpty
(
condition
.
getSnid
())){
sqlMap
.
append
(
" and (
WLXX_CODE
= :pSnid) "
);
sqlMap
.
append
(
" and (
GPHY_WLSNID
= :pSnid) "
);
sqlMap
.
setParamValue
(
"pSnid"
,
condition
.
getSnid
());
}
if
(
StringUtils
.
isNotEmpty
(
condition
.
getMid
())){
...
...
gavel/src/main/java/com/gavel/kwell/service/impl/GpfkServiceImpl.java
View file @
12b48924
...
...
@@ -1433,7 +1433,7 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService
public
boolean
checkIsCurrentGx
(
FkVO
curFkVo
)
{
boolean
flag
=
false
;
GpfkVO
gpfk
=
gpfkDao
.
queryGpfkByWosnUptoDate
(
curFkVo
.
getWosnCode
());
if
((
curFkVo
!=
null
&&
gpfk
!=
null
&&
StringUtils
.
isNotEmpty
(
gpfk
.
getFkgx
())&&
StringUtils
.
isNotEmpty
(
curFkVo
.
getWogylx
())&&
gpfk
.
getFkgx
().
equals
(
curFkVo
.
getWogylx
())))
if
((
curFkVo
!=
null
&&
gpfk
!=
null
&&
StringUtils
.
isNotEmpty
(
gpfk
.
getFkgx
())&&
StringUtils
.
isNotEmpty
(
curFkVo
.
getWogylxid
())&&
gpfk
.
getFkgx
().
equals
(
curFkVo
.
getWogylxid
())))
{
flag
=
true
;
}
...
...
@@ -1628,7 +1628,7 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService
if
(
StringUtils
.
isEmpty
(
fkCondition
.
getWosncode
()))
{
throwReturnMessage
(
"该订单序列号未输入,请重新确认!"
);
}
FkVO
gpfkVo
=
gpfkDao
.
queryWowithIfExistGpfkByWosnAndBzgxidInNewDate
(
fkCondition
.
get
S
ncode
(),
fkCondition
.
getBzgxid
());
FkVO
gpfkVo
=
gpfkDao
.
queryWowithIfExistGpfkByWosnAndBzgxidInNewDate
(
fkCondition
.
get
Wos
ncode
(),
fkCondition
.
getBzgxid
());
if
(
gpfkVo
==
null
)
{
Gpfk
gpfk
=
new
Gpfk
();
FkVO
curFkVo
=
gpfkDao
.
queryKwellWoBySnidUptoDate
(
fkCondition
.
getWosncode
(),
fkCondition
.
getBzgxid
());
...
...
@@ -1659,7 +1659,7 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService
gpfk
.
setHgdj
(
GpfkHgEnum
.
JYHG
.
getId
());
update
(
gpfk
);
}
FkVO
newFkVo
=
gpfkDao
.
queryWowithIfExistGpfkByWosnAndBzgxidInNewDate
(
fkCondition
.
get
S
ncode
(),
fkCondition
.
getBzgxid
());
FkVO
newFkVo
=
gpfkDao
.
queryWowithIfExistGpfkByWosnAndBzgxidInNewDate
(
fkCondition
.
get
Wos
ncode
(),
fkCondition
.
getBzgxid
());
newFkVo
.
setSntype
(
snType
);
Wogylx
wogylx
=
(
Wogylx
)
GavelSql
.
selectEntityByKey
(
Wogylx
.
class
,
newFkVo
.
getWogylxid
());
if
(
wogylx
!=
null
&&
StringUtils
.
isNotEmpty
(
wogylx
.
getGxbz
())&&(
wogylx
.
getGxbz
().
equals
(
"D"
)||
wogylx
.
getGxbz
().
equals
(
"M"
)))
{
...
...
@@ -1676,7 +1676,7 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService
if
(
StringUtils
.
isEmpty
(
fkCondition
.
getWosncode
()))
{
throwReturnMessage
(
"该订单序列号未输入,请重新确认!"
);
}
FkVO
gpfkVo
=
gpfkDao
.
queryWowithIfExistGpfkByWosnAndBzgxidInNewDate
(
fkCondition
.
get
S
ncode
(),
fkCondition
.
getBzgxid
());
FkVO
gpfkVo
=
gpfkDao
.
queryWowithIfExistGpfkByWosnAndBzgxidInNewDate
(
fkCondition
.
get
Wos
ncode
(),
fkCondition
.
getBzgxid
());
if
(
gpfkVo
==
null
)
{
Gpfk
gpfk
=
new
Gpfk
();
FkVO
curFkVo
=
gpfkDao
.
queryKwellWoBySnidUptoDate
(
fkCondition
.
getWosncode
(),
fkCondition
.
getBzgxid
());
...
...
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