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
224e8594
Commit
224e8594
authored
Mar 28, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:gavelinfo/kwell-mes
parents
5fe56f5d
6775cc9d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
64 deletions
+62
-64
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
module.xml
gavel/src/main/resources/module.xml
+3
-5
No files found.
gavel/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
View file @
224e8594
...
...
@@ -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 @
224e8594
...
...
@@ -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
());
...
...
gavel/src/main/resources/module.xml
View file @
224e8594
...
...
@@ -43,12 +43,10 @@
<menu
mkid=
"1901000600"
mkmc=
"维修反馈"
url=
"kmes/gpwx/index"
gnlx=
"M"
>
</menu>
</menu>
<menu
mkid=
"510020000"
mkmc=
"排产计划"
>
<menu
mkid=
"510020100"
mkmc=
"排产计划维护"
url=
"kmes/pcjhk/index"
>
<menu
fmkid=
"510020000"
mkid=
"510020300"
mkmc=
"排产计划维护"
url=
"kmes/pcjhk/index"
>
<print
entity=
"com.gavel.kwell.vo.PcjhkVO"
type=
"M"
/>
<print
entity=
"com.gavel.kwell.vo.PcjhmxkVO"
type=
"D"
/>
</menu>
</menu>
<disableMenus>
<menu
mkid=
"510050000"
mkmc=
"生产入库"
/>
<menu
mkid=
"290040100"
mkmc=
"生产入库登记"
/>
...
...
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