Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 685de9c8
由
LN
编写于
2024-10-18 13:13:19 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
bug修改
1 个父辈
f692d327
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
3 行删除
src/main/java/com/neotel/smfcore/core/equipment/bean/EquipMsg.java
src/main/java/com/neotel/smfcore/core/equipment/service/po/Equipment.java
src/main/java/com/neotel/smfcore/custom/so21476/ReplaceQtyApiHandler.java
src/main/java/com/neotel/smfcore/core/equipment/bean/EquipMsg.java
查看文件 @
685de9c
...
@@ -2,13 +2,17 @@ package com.neotel.smfcore.core.equipment.bean;
...
@@ -2,13 +2,17 @@ package com.neotel.smfcore.core.equipment.bean;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.neotel.smfcore.core.language.util.MessageUtils
;
import
com.neotel.smfcore.core.language.util.MessageUtils
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
lombok.ToString
;
import
java.util.Locale
;
import
java.util.Locale
;
@ToString
@ToString
@Data
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
EquipMsg
{
public
class
EquipMsg
{
/**
/**
* 设备模块
* 设备模块
...
...
src/main/java/com/neotel/smfcore/core/equipment/service/po/Equipment.java
查看文件 @
685de9c
...
@@ -28,6 +28,6 @@ public class Equipment extends BasePo implements Serializable {
...
@@ -28,6 +28,6 @@ public class Equipment extends BasePo implements Serializable {
private
boolean
available
=
true
;
private
boolean
available
=
true
;
public
boolean
isNEOSCAN
()
{
public
boolean
isNEOSCAN
()
{
return
EquipmentType
.
NEOSCAN
.
name
().
equals
(
type
)||
EquipmentType
.
NS200
.
equals
(
type
);
return
EquipmentType
.
NEOSCAN
.
name
().
equals
(
type
)||
EquipmentType
.
NS200
.
name
().
equals
(
type
);
}
}
}
}
src/main/java/com/neotel/smfcore/custom/so21476/ReplaceQtyApiHandler.java
查看文件 @
685de9c
...
@@ -78,8 +78,8 @@ public class ReplaceQtyApiHandler extends DefaultSmfApiListener {
...
@@ -78,8 +78,8 @@ public class ReplaceQtyApiHandler extends DefaultSmfApiListener {
return
barcode
;
return
barcode
;
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"入库修改数量接口出错:"
+
e
.
getMessage
());
log
.
error
(
"入库修改数量接口出错:"
+
e
.
toString
());
throw
new
ValidateException
(
"smfcore.mesApi.inCheck.error"
,
"修改数量出错:"
+
e
.
getMessage
());
throw
new
ValidateException
(
"smfcore.mesApi.inCheck.error"
,
"修改数量出错:"
+
e
.
toString
());
}
}
return
null
;
return
null
;
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论