Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 45c9e6e2
由
LN
编写于
2024-06-04 14:22:19 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
库存查询接口修改
1 个父辈
92706427
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
14 行增加
和
27 行删除
src/main/java/com/neotel/smfcore/custom/micron1053/api/AMaterialBean.java
src/main/java/com/neotel/smfcore/custom/neotel/NeotelController.java
src/main/java/com/neotel/smfcore/custom/micron1053/api/AMaterialBean.java
查看文件 @
45c9e6e
...
...
@@ -46,8 +46,11 @@ public class AMaterialBean {
bean
.
mfgName
=
barcode
.
getProvider
();
bean
.
qty
=
barcode
.
getAmount
();
bean
.
expirationDateStr
=
barcode
.
getExpireDateStr
();
bean
.
expirationDate
=
barcode
.
getExpireDate
().
toInstant
().
atZone
(
ZoneId
.
systemDefault
())
.
toLocalDateTime
();
if
(
barcode
.
getExpireDate
()!=
null
){
bean
.
expirationDate
=
barcode
.
getExpireDate
().
toInstant
().
atZone
(
ZoneId
.
systemDefault
())
.
toLocalDateTime
();
}
try
{
String
msLevelStr
=
barcode
.
getMsl
();
...
...
src/main/java/com/neotel/smfcore/custom/neotel/NeotelController.java
查看文件 @
45c9e6e
...
...
@@ -212,33 +212,17 @@ public class NeotelController {
Barcode
barcode
=
storagePos
.
getBarcode
();
if
(
barcode
!=
null
)
{
try
{
// resultMap.put("serialNum", barcode.getBarcode());
// resultMap.put("partNumber", barcode.getPartNumber());
// resultMap.put("sapItem", Boolean.TRUE);m
// resultMap.put("mfgPartNum", barcode.getMpn());
// resultMap.put("mfgLotNum", barcode.getMbatch());
// resultMap.put("mfgName", barcode.getProvider());
// resultMap.put("qty", barcode.getAmount());
// resultMap.put("expirationDate", barcode.getExpireDateStr());
// String msgLevel=barcode.getMsl();
//
// if(msgLevel.startsWith("E")){
// msgLevel=msgLevel.substring(1);
// }else if(msgLevel.startsWith("7E")){
// msgLevel=msgLevel.substring(2);
// }
// resultMap.put("msLevel", msgLevel);
// String reelType= MicronDataCache.GetReelType(barcode.getPlateSize(),barcode.getHeight());
// resultMap.put("containerType", reelType);//类型
// resultMap.put("arraySize", barcode.getQ1Item());//1Q
// resultMap.put("panelNum", barcode.getQItem());//Q
AMaterialBean
bean
=
AMaterialBean
.
toBean
(
barcode
);
Map
<
String
,
Object
>
resultMap
=
bean
.
toMap
();
objMap
.
put
(
"material"
,
resultMap
);
}
AMaterialBean
bean
=
AMaterialBean
.
toBean
(
barcode
);
Map
<
String
,
Object
>
resultMap
=
bean
.
toMap
();
objMap
.
put
(
"material"
,
resultMap
);
resultMapList
.
add
(
objMap
);
resultMapList
.
add
(
objMap
);
}
catch
(
Exception
exception
)
{
log
.
error
(
"error :"
+
exception
);
}
}
}
return
ResultBean
.
newOkResult
(
resultMapList
);
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论