opt:后台校验箱号
This commit is contained in:
@@ -158,6 +158,13 @@ public class ProductInstorServiceImpl implements ProductInstorService {
|
||||
mst_jo.put("bill_type", "0006");
|
||||
}
|
||||
}
|
||||
Object package_box_sn = box_map.get("package_box_sn");
|
||||
//判断明细数组中箱号与扫码的箱子是否一致,不一致让客户重新扫码
|
||||
if (ObjectUtil.isNotEmpty(package_box_sn)) {
|
||||
if (!box_no.equals(package_box_sn)) {
|
||||
throw new BadRequestException("扫码箱号:"+box_no+"与明细数据中箱号:"+package_box_sn+"不一致,请重新扫码操作!");
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < box_rows.size(); i++) {
|
||||
HashMap box_row = box_rows.get(i);
|
||||
sub_type = box_row.get("sub_type");
|
||||
|
||||
Reference in New Issue
Block a user