Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
Gree
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 16b96143
由
sunke
编写于
2021-09-15 10:02:43 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
关闭两天前的未完成需求单
1 个父辈
dbf9616d
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
16 行删除
myproject/src/main/java/com/myproject/webapp/controller/qisda/util/OutInfoCache.java
myproject/src/main/webapp/decorators/metro.jsp
myproject/src/main/java/com/myproject/webapp/controller/qisda/util/OutInfoCache.java
查看文件 @
16b9614
...
...
@@ -443,21 +443,17 @@ public class OutInfoCache {
List
<
OutInfo
>
unEndOutInfoList
=
outInfoDao
.
findUnEndOutInfos
();
long
now
=
System
.
currentTimeMillis
();
for
(
OutInfo
outInfo
:
unEndOutInfoList
)
{
// if(now - outInfo.getMdate().getTime() > 10 * 24 * 60 * 60 * 1000){
// //10天前的需求单(非紧急料),关闭,并解绑
// if(!outInfo.isUrgentAction()){
// String so = outInfo.getSo();
// String mDataStr = DateUtil.toDateString(outInfo.getMdate(),"yyyy-MM-dd HH:mm");
// log.info("需求单hSerial=["+outInfo.gethSerial()+"]工单so=["+so+"]soseq=["+outInfo.getSoseq()+"]的必须出库日期["+mDataStr+"]为10天前,关闭并解绑工单");
// closeSoSeq(outInfo.getSoseq());
// }
//
// }else{
// addOutInfo(outInfo);
// updateSendStatus(outInfo.gethSerial());
// }
addOutInfo
(
outInfo
);
updateSendStatus
(
outInfo
.
gethSerial
());
if
(
now
-
outInfo
.
getCreateDate
().
getTime
()
>
2
*
24
*
60
*
60
*
1000
){
//2天前的需求单,关闭,并解绑
log
.
info
(
"需求单hSerial=["
+
outInfo
.
gethSerial
()+
"]为2天前,关闭并解绑工单"
);
closeHSerial
(
outInfo
.
gethSerial
());
}
else
{
addOutInfo
(
outInfo
);
updateSendStatus
(
outInfo
.
gethSerial
());
}
// addOutInfo(outInfo);
// updateSendStatus(outInfo.gethSerial());
}
}
...
...
@@ -891,6 +887,12 @@ public class OutInfoCache {
// continue;
// }
// }
if
(
now
.
getTime
()
-
outInfo
.
getCreateDate
().
getTime
()
>
2
*
24
*
60
*
60
*
1000
){
//2天前的需求单,关闭,并解绑
log
.
info
(
"需求单hSerial=["
+
outInfo
.
gethSerial
()+
"]为2天前,关闭并解绑工单"
);
closeHSerial
(
outInfo
.
gethSerial
());
continue
;
}
if
(
outInfo
.
getFirstExecuteTime
()
==
0
){
boolean
needToWaitQueue
=
false
;
...
...
myproject/src/main/webapp/decorators/metro.jsp
查看文件 @
16b9614
...
...
@@ -239,7 +239,7 @@
<div
class=
"page-footer-inner"
>
2016
©
<a
href=
""
>
SMD BOX
</a>
</div>
<span
class=
"right"
style=
"color: #a3a3a3;"
>
Version: 1.
8.1110
</span>
<span
class=
"right"
style=
"color: #a3a3a3;"
>
Version: 1.
9.1418
</span>
<div
class=
"scroll-to-top"
>
<i
class=
"icon-arrow-up"
></i>
</div>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论