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
528a6265
Commit
528a6265
authored
Feb 22, 2022
by
yff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改WOBOM sql
parent
e84ed4af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
GpfkDaoImpl.java
...l/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
+3
-3
SmCodeEnum.java
gavel/src/main/java/com/gavel/kwell/utils/SmCodeEnum.java
+1
-1
No files found.
gavel/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
View file @
528a6265
...
...
@@ -1240,14 +1240,14 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap
.
append
(
" WOBOM_WHSJ, WOBOM_CJRID, WOBOM_CJR, WOBOM_CJSJ, WOBOM_SYSVERSION,"
);
sqlMap
.
append
(
" WLXX_CODE, WLXX_NAME, WLXX_GG, WOBOM_GJWL, WOBOM_ZT, WOBOM_DJLY,"
);
sqlMap
.
append
(
" WOGYLX_XH, WOGYLX_NAME, WOBOM_WLPH "
);
sqlMap
.
append
(
" WOGYLX_XH, WOGYLX_NAME, WOBOM_WLPH "
);
sqlMap
.
append
(
"from WOBOM"
);
sqlMap
.
append
(
" left join WLXX on WLXX_ID = WOBOM_WLID"
);
sqlMap
.
append
(
" left join WO on WO_ID = WOBOM_WOID"
);
sqlMap
.
append
(
" left join WOGYLX on WOGYLX_ID = WOBOM_FFGX "
);
sqlMap
.
append
(
"where 1=1"
);
if
(
StringUtils
.
isNotEmpty
(
snid
)){
sqlMap
.
append
(
" and "
+
SqlUtil
.
getWhereSql
(
"WO
BOM_WO
ID"
,
snid
));
sqlMap
.
setParamValue
(
"WO
BOM_WO
ID"
,
snid
);
sqlMap
.
append
(
" and "
+
SqlUtil
.
getWhereSql
(
"WO
_DJ
ID"
,
snid
));
sqlMap
.
setParamValue
(
"WO
_DJ
ID"
,
snid
);
}
sqlMap
.
append
(
"order by WOBOM_XH, WLXX_CODE"
);
return
sqlMap
.
query
(
WobomVO
.
class
);
...
...
gavel/src/main/java/com/gavel/kwell/utils/SmCodeEnum.java
View file @
528a6265
...
...
@@ -9,7 +9,7 @@ import com.gavel.jcsj.utils.SnGzflEnum;
public
enum
SmCodeEnum
{
LOGOUT
(
"LOGOUT"
,
"退出"
,
"LOGOUT"
,
10
),
WOSNID
(
"WOSNID"
,
"工单序列号"
,
"
SNID
"
,
10
),
WOSNID
(
"WOSNID"
,
"工单序列号"
,
"
20
"
,
10
),
WLID
(
"WLID"
,
"物料编码"
,
"WLID"
,
10
),
OKBZ
(
"OKBZ"
,
"OK按钮"
,
"OKBZ"
,
10
),
NGBZ
(
"NGBZ"
,
"NG按钮"
,
"NGBZ"
,
10
);
...
...
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