Commit 685de9c8 LN

bug修改

1 个父辈 f692d327
...@@ -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 {
/** /**
* 设备模块 * 设备模块
......
...@@ -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);
} }
} }
...@@ -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!