Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
Gree
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 8d7175e0
由
sunke
编写于
2020-04-10 09:04:01 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
系统更新时不允许入库
1 个父辈
a6b6cbc5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
23 行增加
和
6 行删除
myproject/src/main/java/com/myproject/webapp/controller/webService/QisdaDeviceController.java
myproject/src/main/java/com/myproject/webapp/controller/webService/StorageDataController.java
myproject/src/main/java/com/myproject/webapp/controller/webService/TaskService.java
myproject/src/main/webapp/WEB-INF/pages/qisda/orderOut.jsp
myproject/src/main/webapp/WEB-INF/pages/qisda/outInfoSearch.jsp
myproject/src/main/java/com/myproject/webapp/controller/webService/QisdaDeviceController.java
查看文件 @
8d7175e
...
@@ -489,7 +489,7 @@ public class QisdaDeviceController extends BaseController {
...
@@ -489,7 +489,7 @@ public class QisdaDeviceController extends BaseController {
return
ResultBean
.
newErrorResult
(
302
,
"料盘["
+
barcode
+
"]的任务已完成"
);
return
ResultBean
.
newErrorResult
(
302
,
"料盘["
+
barcode
+
"]的任务已完成"
);
}
}
statusStr
=
statusStr
.
toUpperCase
();
statusStr
=
statusStr
.
toUpperCase
();
log
.
info
(
"更新料盘的任务状态["
+
task
.
getStatus
()+
"="
+
task
.
getLocInfo
()
+
"]为["
+
statusStr
+
"="
+
locInfo
+
"]"
);
log
.
info
(
"更新料盘
["
+
barcode
+
"]
的任务状态["
+
task
.
getStatus
()+
"="
+
task
.
getLocInfo
()
+
"]为["
+
statusStr
+
"="
+
locInfo
+
"]"
);
task
.
setStatus
(
statusStr
);
task
.
setStatus
(
statusStr
);
task
.
setLocInfo
(
locInfo
);
task
.
setLocInfo
(
locInfo
);
task
=
dataLogDao
.
save
(
task
);
task
=
dataLogDao
.
save
(
task
);
...
...
myproject/src/main/java/com/myproject/webapp/controller/webService/StorageDataController.java
查看文件 @
8d7175e
...
@@ -551,6 +551,14 @@ public class StorageDataController extends BaseController {
...
@@ -551,6 +551,14 @@ public class StorageDataController extends BaseController {
// }
// }
log
.
info
(
"流水线["
+
cids
+
"]获取["
+
rfid
+
"]["
+
code
+
"]的入库库位"
);
log
.
info
(
"流水线["
+
cids
+
"]获取["
+
rfid
+
"]["
+
code
+
"]的入库库位"
);
Map
<
String
,
Object
>
resultMap
=
Maps
.
newHashMap
();
Map
<
String
,
Object
>
resultMap
=
Maps
.
newHashMap
();
if
(
dataCache
.
getSettings
().
isStopOut
()){
lineMsg
=
"系统更新中,暂停出入库"
;
resultMap
.
put
(
"result"
,
"100"
);
resultMap
.
put
(
"msg"
,
lineMsg
);
return
resultMap
;
}
String
okMsg
=
""
;
String
okMsg
=
""
;
String
errorMsg
=
""
;
String
errorMsg
=
""
;
if
(
Strings
.
isNullOrEmpty
(
cids
)){
if
(
Strings
.
isNullOrEmpty
(
cids
)){
...
...
myproject/src/main/java/com/myproject/webapp/controller/webService/TaskService.java
查看文件 @
8d7175e
...
@@ -1277,8 +1277,14 @@ public class TaskService implements ITaskService {
...
@@ -1277,8 +1277,14 @@ public class TaskService implements ITaskService {
resultStatus
=
statusBean
;
resultStatus
=
statusBean
;
}
else
if
(
statusBean
.
getOp
()
==
StorageConstants
.
OP
.
PUT_IN
){
}
else
if
(
statusBean
.
getOp
()
==
StorageConstants
.
OP
.
PUT_IN
){
log
.
debug
(
"入库:"
+
mapper
.
writeValueAsString
(
statusBean
));
if
(!
dataCache
.
getSettings
().
isStopOut
()){
resultStatus
=
putInLine
(
storage
,
statusBean
);
log
.
debug
(
"入库:"
+
mapper
.
writeValueAsString
(
statusBean
));
resultStatus
=
putInLine
(
storage
,
statusBean
);
}
else
{
resultStatus
.
setMsg
(
"系统更新中,暂停出入库"
);
serverMsgs
.
put
(
cid
,
"系统更新中,暂停出入库"
);
}
}
else
{
}
else
{
if
(
dataCache
.
needUpdateHumidiy
(
cid
)){
if
(
dataCache
.
needUpdateHumidiy
(
cid
)){
log
.
info
(
"发送温湿度报警值"
);
log
.
info
(
"发送温湿度报警值"
);
...
...
myproject/src/main/webapp/WEB-INF/pages/qisda/orderOut.jsp
查看文件 @
8d7175e
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
var mdate = new Date(outInfo.mdate).Format("yyyy-MM-dd hh:mm:ss");
var mdate = new Date(outInfo.mdate).Format("yyyy-MM-dd hh:mm:ss");
var sdate = new Date(outInfo.sdate).Format("yyyy-MM-dd hh:mm:ss");
var sdate = new Date(outInfo.sdate).Format("yyyy-MM-dd hh:mm:ss");
var infoHtml = '<div class="panel panel-default"
id='+data[i].hSerial+'
>' +
var infoHtml = '<div class="panel panel-default">' +
'<div class="panel-heading">' +
'<div class="panel-heading">' +
'<h4 class="panel-title">' +
'<h4 class="panel-title">' +
'<a class="accordion-toggle" data-toggle="collapse" data-parent="#executing" href="#'+data[i].hSerial+'">' +
'<a class="accordion-toggle" data-toggle="collapse" data-parent="#executing" href="#'+data[i].hSerial+'">' +
...
@@ -148,9 +148,9 @@
...
@@ -148,9 +148,9 @@
});
});
}
}
setInterval(function(){
//
setInterval(function(){
flushOutInfos();
flushOutInfos();
}, 1000);
//
}, 1000);
// var dragOptions = {
// var dragOptions = {
...
...
myproject/src/main/webapp/WEB-INF/pages/qisda/outInfoSearch.jsp
查看文件 @
8d7175e
...
@@ -97,6 +97,9 @@
...
@@ -97,6 +97,9 @@
<display:column titleKey="创建时间" sortable="true" sortProperty="createDate">
<display:column titleKey="创建时间" sortable="true" sortProperty="createDate">
<fmt:formatDate value="${outInfo.createDate}" pattern="yyyy-MM-dd HH:mm"/>
<fmt:formatDate value="${outInfo.createDate}" pattern="yyyy-MM-dd HH:mm"/>
</display:column>
</display:column>
<display:column titleKey="更新时间" sortable="true" sortProperty="updateDate">
<fmt:formatDate value="${outInfo.updateDate}" pattern="yyyy-MM-dd HH:mm"/>
</display:column>
<display:column titleKey="checkOut.operate" media="html" sortProperty="sendStatus" sortable="true">
<display:column titleKey="checkOut.operate" media="html" sortProperty="sendStatus" sortable="true">
<span class="hide">${outInfo.sendStatus}</span>
<span class="hide">${outInfo.sendStatus}</span>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论