fix:入库优化
This commit is contained in:
@@ -169,6 +169,8 @@ public class VehicleTwoServiceImpl implements VehicleTwoService {
|
|||||||
@Override
|
@Override
|
||||||
public JSONObject reback(JSONObject whereJson) {
|
public JSONObject reback(JSONObject whereJson) {
|
||||||
String bill_type = whereJson.getString("bill_type");
|
String bill_type = whereJson.getString("bill_type");
|
||||||
|
whereJson.put("material_barcode",whereJson.getString("box_no"));
|
||||||
|
whereJson.put("device_code",whereJson.getString("point_code"));
|
||||||
//1-返检入库;2-改切入库
|
//1-返检入库;2-改切入库
|
||||||
if (bill_type.equals("1")){
|
if (bill_type.equals("1")){
|
||||||
whereJson.put("bill_type", IOSEnum.IN_TYPE.code("返检入库"));
|
whereJson.put("bill_type", IOSEnum.IN_TYPE.code("返检入库"));
|
||||||
|
|||||||
@@ -408,7 +408,7 @@ public class StIvtIostorinvServiceImpl extends ServiceImpl<StIvtIostorinvMapper,
|
|||||||
private BstIvtBoxinfo getBstIvtBoxinfo(Map whereJson) {
|
private BstIvtBoxinfo getBstIvtBoxinfo(Map whereJson) {
|
||||||
//查询木箱码
|
//查询木箱码
|
||||||
PdmBiSubpackagerelation pdmBiSubpackagerelation = ipdmBiSubpackagerelationService.getOne(new LambdaQueryWrapper<PdmBiSubpackagerelation>()
|
PdmBiSubpackagerelation pdmBiSubpackagerelation = ipdmBiSubpackagerelationService.getOne(new LambdaQueryWrapper<PdmBiSubpackagerelation>()
|
||||||
.eq(PdmBiSubpackagerelation::getContainer_name, whereJson.get("material_barcode")));
|
.eq(PdmBiSubpackagerelation::getContainer_name, whereJson.get("material_barcode").toString().split(",")[0]));
|
||||||
// 查询木箱信息
|
// 查询木箱信息
|
||||||
BstIvtBoxinfo boxDao = iBstIvtBoxinfoService.getOne(
|
BstIvtBoxinfo boxDao = iBstIvtBoxinfoService.getOne(
|
||||||
new QueryWrapper<BstIvtBoxinfo>().lambda()
|
new QueryWrapper<BstIvtBoxinfo>().lambda()
|
||||||
|
|||||||
Reference in New Issue
Block a user