Commit e0b364f6 zshaohui

出入库通知,排除料箱

1 个父辈 38a1a2fe
...@@ -49,16 +49,21 @@ public class NeotelApi extends BaseSmfApiListener { ...@@ -49,16 +49,21 @@ public class NeotelApi extends BaseSmfApiListener {
paramMap.put("location", task.getPosName()); paramMap.put("location", task.getPosName());
Barcode barcode = barcodeManager.findByBarcode(task.getBarcode()); Barcode barcode = barcodeManager.findByBarcode(task.getBarcode());
String fullCode = ""; String fullCode = "";
if (barcode != null) { if (barcode != null) {
fullCode = barcode.getFullCode(); fullCode = barcode.getFullCode();
} }
int type = getType(task), w = 0, h = 0; int type = getType(task), w = 0, h = 0;
if (type == 2){
return;
}
if (type != 2) { if (type != 2) {
w = task.getW(); w = task.getW();
h = task.getH(); h = task.getH();
} }
paramMap.put("type",type); paramMap.put("type",type);
paramMap.put("fullCode", fullCode); paramMap.put("fullCode", fullCode);
paramMap.put("w", w); paramMap.put("w", w);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!