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
e910bbf2
Commit
e910bbf2
authored
Apr 01, 2022
by
yff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加加工反馈
parent
7ef67d78
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
43 additions
and
415 deletions
+43
-415
GpfkController.java
.../main/java/com/gavel/kwell/controller/GpfkController.java
+13
-1
GpfkDaoImpl.java
...l/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
+1
-1
GpfkService.java
gavel/src/main/java/com/gavel/kwell/service/GpfkService.java
+1
-1
GpfkServiceImpl.java
...in/java/com/gavel/kwell/service/impl/GpfkServiceImpl.java
+10
-406
YymkFKEnum.java
gavel/src/main/java/com/gavel/kwell/utils/YymkFKEnum.java
+2
-1
module.xml
gavel/src/main/resources/module.xml
+6
-0
index.html
...l/src/main/resources/templates/views/kmes/gphy/index.html
+10
-5
No files found.
gavel/src/main/java/com/gavel/kwell/controller/GpfkController.java
View file @
e910bbf2
...
@@ -280,9 +280,21 @@ public class GpfkController extends BaseController {
...
@@ -280,9 +280,21 @@ public class GpfkController extends BaseController {
}
}
}
}
@RequestMapping
(
value
=
"/jgfk"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
Object
jgfk
(
@RequestBody
JSONObject
param
)
{
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkVO
gpfk
=
gpfkService
.
zpfkUpgrade
(
condition
);
if
(
gpfk
!=
null
)
{
return
buildReturnData
(
gpfk
);
}
return
ThreadContext
.
getReturnData
();
}
@RequestMapping
(
value
=
"/zpfk"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/zpfk"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
@ResponseBody
public
Object
query
(
@RequestBody
JSONObject
param
)
{
public
Object
zpfk
(
@RequestBody
JSONObject
param
)
{
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkVO
gpfk
=
gpfkService
.
zpfkUpgrade
(
condition
);
FkVO
gpfk
=
gpfkService
.
zpfkUpgrade
(
condition
);
if
(
gpfk
!=
null
)
{
if
(
gpfk
!=
null
)
{
...
...
gavel/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
View file @
e910bbf2
...
@@ -1640,7 +1640,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
...
@@ -1640,7 +1640,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
@Override
@Override
public
List
<
WobomVO
>
queryWobomByWosnAndBzgx
(
String
wosnid
,
String
bzgx
)
{
public
List
<
WobomVO
>
queryWobomByWosnAndBzgx
(
String
wosnid
,
String
bzgx
)
{
SqlMap
sqlMap
=
new
SqlMap
();
SqlMap
sqlMap
=
new
SqlMap
();
sqlMap
.
append
(
"select WOBOM_ID, WOBOM_XH, WOBOM_WOID, WOBOM_WLID, WOBOM_FFGX,"
);
sqlMap
.
append
(
"select WOBOM_ID,
WOBOM_GJWL,
WOBOM_XH, WOBOM_WOID, WOBOM_WLID, WOBOM_FFGX,"
);
sqlMap
.
append
(
" WOBOM_DWYL, WOBOM_XQSL, WOBOM_XQRQ, WOBOM_SHL, WOBOM_SHZ, WOBOM_FFYZ,"
);
sqlMap
.
append
(
" WOBOM_DWYL, WOBOM_XQSL, WOBOM_XQRQ, WOBOM_SHL, WOBOM_SHZ, WOBOM_FFYZ,"
);
sqlMap
.
append
(
" WOBOM_LLSL, WOBOM_CKSL, WOBOM_BZ, WOBOM_WHRID, WOBOM_WHR,"
);
sqlMap
.
append
(
" WOBOM_LLSL, WOBOM_CKSL, WOBOM_BZ, WOBOM_WHRID, WOBOM_WHR,"
);
sqlMap
.
append
(
" WOBOM_WHSJ, WOBOM_CJRID, WOBOM_CJR, WOBOM_CJSJ, WOBOM_SYSVERSION,"
);
sqlMap
.
append
(
" WOBOM_WHSJ, WOBOM_CJRID, WOBOM_CJR, WOBOM_CJSJ, WOBOM_SYSVERSION,"
);
...
...
gavel/src/main/java/com/gavel/kwell/service/GpfkService.java
View file @
e910bbf2
...
@@ -106,7 +106,7 @@ public interface GpfkService extends BaseEditService {
...
@@ -106,7 +106,7 @@ public interface GpfkService extends BaseEditService {
* 判断序列号类型
* 判断序列号类型
*/
*/
public
String
checkSnType
(
String
snid
);
public
String
checkSnType
(
String
snid
);
public
FkVO
jgfk
(
FkCondition
fkCondition
);
public
FkVO
zpfk
(
FkCondition
fkCondition
);
public
FkVO
zpfk
(
FkCondition
fkCondition
);
public
FkVO
jyfk
(
FkCondition
fkCondition
);
public
FkVO
jyfk
(
FkCondition
fkCondition
);
public
FkVO
wxfk
(
FkCondition
fkCondition
);
public
FkVO
wxfk
(
FkCondition
fkCondition
);
...
...
gavel/src/main/java/com/gavel/kwell/service/impl/GpfkServiceImpl.java
View file @
e910bbf2
This diff is collapsed.
Click to expand it.
gavel/src/main/java/com/gavel/kwell/utils/YymkFKEnum.java
View file @
e910bbf2
...
@@ -12,7 +12,8 @@ public enum YymkFKEnum {
...
@@ -12,7 +12,8 @@ public enum YymkFKEnum {
ZP
(
"ZP"
,
"1901000200"
),
ZP
(
"ZP"
,
"1901000200"
),
JY
(
"JY"
,
"1901000400"
),
JY
(
"JY"
,
"1901000400"
),
WX
(
"WX"
,
"1901000600"
);
WX
(
"WX"
,
"1901000600"
),
JG
(
"JG"
,
"1901000800"
);
private
String
id
;
private
String
id
;
private
String
name
;
private
String
name
;
...
...
gavel/src/main/resources/module.xml
View file @
e910bbf2
...
@@ -6,6 +6,10 @@
...
@@ -6,6 +6,10 @@
<version>
1.0
</version>
<version>
1.0
</version>
<menu
mkid=
"901000000"
mkmc =
"科威尔MES"
>
<menu
mkid=
"901000000"
mkmc =
"科威尔MES"
>
<menu
mkid=
"901001600"
mkmc=
"加工反馈"
url=
"kmes/jgfk/zpindex"
>
<print
entity=
"com.gavel.kwell.vo.GpfkVO"
/>
<mkcz
czid =
"21"
czmc =
"取消装配"
value=
"Y"
/>
</menu>
<menu
mkid=
"901000200"
mkmc=
"装配反馈"
url=
"kmes/gphy/zpindex"
>
<menu
mkid=
"901000200"
mkmc=
"装配反馈"
url=
"kmes/gphy/zpindex"
>
<print
entity=
"com.gavel.kwell.vo.GpfkVO"
/>
<print
entity=
"com.gavel.kwell.vo.GpfkVO"
/>
<mkcz
czid =
"21"
czmc =
"取消装配"
value=
"Y"
/>
<mkcz
czid =
"21"
czmc =
"取消装配"
value=
"Y"
/>
...
@@ -42,6 +46,8 @@
...
@@ -42,6 +46,8 @@
</menu>
</menu>
<menu
mkid=
"1901000600"
mkmc=
"维修反馈"
url=
"kmes/gpwx/index"
gnlx=
"M"
>
<menu
mkid=
"1901000600"
mkmc=
"维修反馈"
url=
"kmes/gpwx/index"
gnlx=
"M"
>
</menu>
</menu>
<menu
mkid=
"1901000800"
mkmc=
"加工反馈"
url=
"kmes/jgfk/index"
gnlx=
"M"
>
</menu>
</menu>
</menu>
<menu
fmkid=
"510020000"
mkid=
"510020300"
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.PcjhkVO"
type=
"M"
/>
...
...
gavel/src/main/resources/templates/views/kmes/gphy/index.html
View file @
e910bbf2
...
@@ -96,6 +96,11 @@
...
@@ -96,6 +96,11 @@
width
:
'20%'
,
width
:
'20%'
,
align
:
"center"
align
:
"center"
},
},
{
title
:
"关键物料"
,
field
:
"gjwl"
,
fieldType
:
"ftString"
,
width
:
80
,
formatter
:
function
(
value
,
index
,
row
)
{
var
map
=
{
"Y"
:
"<span style='color: green'>是</span>"
,
"N"
:
"否"
};
var
text
=
map
[
value
];
return
text
||
""
;
}},
]
]
]
]
/* 初始化工序 */
/* 初始化工序 */
...
@@ -227,11 +232,11 @@
...
@@ -227,11 +232,11 @@
height
:
'100%'
,
height
:
'100%'
,
width
:
"100%"
,
width
:
"100%"
,
fitColumns
:
false
,
fitColumns
:
false
,
//
rowStyler:function(index,row){
rowStyler
:
function
(
index
,
row
){
// if(index
<
2
){
if
(
row
.
gjwl
==
''
||
row
.
gjwl
==
undefined
||
row
.
gjwl
==
'N'
){
// return 'background-color:#6293BB
;color:#fff;';
return
'background-color:#ADADAD
;color:#fff;'
;
//
}
}
//
},
},
columns
:
zpfk_columns
,
columns
:
zpfk_columns
,
data
:
that
.
tabdata
data
:
that
.
tabdata
}
}
...
...
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