Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 1705b425
由
zshaohui
编写于
2023-09-19 15:01:13 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
Api008:地址material/xray/{serialNum}/{qty} -> material/xray
1 个父辈
bd87ab11
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
3 行增加
和
3 行删除
src/main/java/com/neotel/smfcore/custom/micron1053/api/MicronApi.java
src/main/java/com/neotel/smfcore/custom/micron1053/api/MicronConfig.java
src/main/resources/config/application-prod.yml
src/main/java/com/neotel/smfcore/custom/micron1053/api/MicronApi.java
查看文件 @
1705b42
...
@@ -493,7 +493,7 @@ public class MicronApi {
...
@@ -493,7 +493,7 @@ public class MicronApi {
public
static
boolean
Api008
(
String
serialNum
,
int
qty
,
int
newQty
)
throws
ApiException
{
public
static
boolean
Api008
(
String
serialNum
,
int
qty
,
int
newQty
)
throws
ApiException
{
//点料结束通知点料结果
//点料结束通知点料结果
String
url
=
config
.
getUrl
(
config
.
api_name_008
);
String
url
=
config
.
getUrl
(
config
.
api_name_008
);
url
=
MessageFormat
.
format
(
url
,
serialNum
,
qty
);
//
url = MessageFormat.format(url,serialNum,qty);
try
{
try
{
Map
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
...
...
src/main/java/com/neotel/smfcore/custom/micron1053/api/MicronConfig.java
查看文件 @
1705b42
...
@@ -50,7 +50,7 @@ public class MicronConfig {
...
@@ -50,7 +50,7 @@ public class MicronConfig {
* XRay点料完成之后通知MES
* XRay点料完成之后通知MES
*Get Material update status to MAM and AKS. If status failed, material should not move out of Xray station and retry at the KTS is needed.
*Get Material update status to MAM and AKS. If status failed, material should not move out of Xray station and retry at the KTS is needed.
*/
*/
public
String
api_name_008
=
"material/xray
/{serialNum}/{qty}
"
;
public
String
api_name_008
=
"material/xray"
;
/**
/**
* 出库勾选物料后,发送唯一码到mes进行验证
* 出库勾选物料后,发送唯一码到mes进行验证
*Get material reserved information from AKS, so that KTS only select unreserved material for Adhoc dispatch.
*Get material reserved information from AKS, so that KTS only select unreserved material for Adhoc dispatch.
...
...
src/main/resources/config/application-prod.yml
查看文件 @
1705b42
...
@@ -6,7 +6,7 @@ micron:
...
@@ -6,7 +6,7 @@ micron:
api_name_005
:
material/lineprep?operationId={0}&LinePrepOrderId={1}
api_name_005
:
material/lineprep?operationId={0}&LinePrepOrderId={1}
api_name_006
:
material/pretasks
api_name_006
:
material/pretasks
api_name_007
:
material/transfer-out
api_name_007
:
material/transfer-out
api_name_008
:
material/xray
/{0}/{1}
api_name_008
:
material/xray
api_name_009
:
material/status
api_name_009
:
material/status
api_name_010
:
material/track-out
api_name_010
:
material/track-out
api_name_011
:
operation?mode={0}&username={1}&source={2}
api_name_011
:
operation?mode={0}&username={1}&source={2}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论