组盘不存在直接反馈成功
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package org.nl.wms.pda.service.impl;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -78,6 +79,7 @@ public class PdaServiceImpl implements PdaService {
|
||||
.eq(SchBaseVehiclematerialgroup::getVehicle_code, vehicleCode)
|
||||
.eq(SchBaseVehiclematerialgroup::getGroup_bind_material_status,
|
||||
GroupBindMaterialStatusEnum.BOUND.getValue()));
|
||||
if(ObjectUtil.isNotEmpty(groupEntity)) {
|
||||
groupEntity.setGroup_bind_material_status(GroupBindMaterialStatusEnum.UNBOUND.getValue());
|
||||
groupEntity.setUpdate_id(GeneralDefinition.ACS_ID);
|
||||
groupEntity.setUpdate_name(GeneralDefinition.ACS_NAME);
|
||||
@@ -91,6 +93,7 @@ public class PdaServiceImpl implements PdaService {
|
||||
pointObj.setVehicle_qty(pointObj.getVehicle_qty() - 1);
|
||||
pointService.update(pointObj);
|
||||
//清空组盘表的信息
|
||||
}
|
||||
return PdaResponseVo.pdaResultOk("清空物料信息请求成功");
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user