Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit d164e585
由
zshaohui
编写于
2024-06-04 10:37:51 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
出库通知修改
1 个父辈
8ccc5a50
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
3 行删除
src/main/java/com/neotel/smfcore/custom/lizhen/LizhenApi.java
src/main/java/com/neotel/smfcore/custom/lizhen/LizhenController.java
src/main/resources/config/application.yml
src/main/java/com/neotel/smfcore/custom/lizhen/LizhenApi.java
查看文件 @
d164e58
...
@@ -32,6 +32,9 @@ import org.springframework.stereotype.Service;
...
@@ -32,6 +32,9 @@ import org.springframework.stereotype.Service;
import
javax.annotation.PostConstruct
;
import
javax.annotation.PostConstruct
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
import
java.time.ZoneId
;
import
java.time.ZoneOffset
;
import
java.time.ZonedDateTime
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -371,7 +374,9 @@ public class LizhenApi extends DefaultSmfApiListener {
...
@@ -371,7 +374,9 @@ public class LizhenApi extends DefaultSmfApiListener {
paramMap
.
put
(
"gi_type"
,
type
);
paramMap
.
put
(
"gi_type"
,
type
);
paramMap
.
put
(
"create_empno"
,
StringUtils
.
isEmpty
(
task
.
getCreator
())
?
"System"
:
task
.
getCreator
());
paramMap
.
put
(
"create_empno"
,
StringUtils
.
isEmpty
(
task
.
getCreator
())
?
"System"
:
task
.
getCreator
());
paramMap
.
put
(
"create_time"
,
task
.
getCreateDate
());
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
);
paramMap
.
put
(
"create_time"
,
sdf
.
format
(
task
.
getCreateDate
()));
paramList
.
add
(
paramMap
);
paramList
.
add
(
paramMap
);
log
.
info
(
"出库通知入参为:"
+
JSON
.
toJSONString
(
paramList
));
log
.
info
(
"出库通知入参为:"
+
JSON
.
toJSONString
(
paramList
));
...
@@ -587,7 +592,6 @@ public class LizhenApi extends DefaultSmfApiListener {
...
@@ -587,7 +592,6 @@ public class LizhenApi extends DefaultSmfApiListener {
}
}
}
}
@Override
@Override
public
boolean
isForThisApi
(
String
apiName
)
{
public
boolean
isForThisApi
(
String
apiName
)
{
return
apiName
!=
null
&&
apiName
.
equalsIgnoreCase
(
"Lizhen"
);
return
apiName
!=
null
&&
apiName
.
equalsIgnoreCase
(
"Lizhen"
);
...
...
src/main/java/com/neotel/smfcore/custom/lizhen/LizhenController.java
查看文件 @
d164e58
...
@@ -355,6 +355,7 @@ public class LizhenController {
...
@@ -355,6 +355,7 @@ public class LizhenController {
item
.
setMachineName
(
mc
);
item
.
setMachineName
(
mc
);
item
.
setPn
(
ipn
);
item
.
setPn
(
ipn
);
item
.
setStation
(
zone
);
item
.
setStation
(
zone
);
item
.
setTableNo
(
zone
);
item
.
setLine
(
line
);
item
.
setLine
(
line
);
item
.
setSide
(
side
);
item
.
setSide
(
side
);
item
.
setNeedNum
(
1
);
item
.
setNeedNum
(
1
);
...
...
src/main/resources/config/application.yml
查看文件 @
d164e58
...
@@ -5,7 +5,7 @@ api:
...
@@ -5,7 +5,7 @@ api:
name
:
Lizhen
name
:
Lizhen
inCheckUrl
:
#http://10.190.25.124:8001/Npm/WmsCheckReelfob #禁用料
inCheckUrl
:
#http://10.190.25.124:8001/Npm/WmsCheckReelfob #禁用料
batchCheckUrl
:
#http://172.30.60.117:8001/Npm/WmsCheckReelfob_Batch #批量禁用料
batchCheckUrl
:
#http://172.30.60.117:8001/Npm/WmsCheckReelfob_Batch #批量禁用料
outNotifyUrl
:
http://10.190.25.
235:8000/Test/sidtest/SaveTowerIssueMaterial
outNotifyUrl
:
http://10.190.25.
149:8082/Sct/CommonGIRecord
outNotifyUrlPK
:
#http://172.30.170.148:8001/Sct/SaveReelInfo #PK发料保存(外仓配置)
outNotifyUrlPK
:
#http://172.30.170.148:8001/Sct/SaveReelInfo #PK发料保存(外仓配置)
inNotifyUrl
:
#http://10.190.25.124:8082/SmtAutoWH/Save2DReelInfo #保存物料(内仓配置)
inNotifyUrl
:
#http://10.190.25.124:8082/SmtAutoWH/Save2DReelInfo #保存物料(内仓配置)
fetchOrderUrl
:
#http://172.30.170.148:8082/SmtAutoWH/GetWoPickingList #获取工单
fetchOrderUrl
:
#http://172.30.170.148:8082/SmtAutoWH/GetWoPickingList #获取工单
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论