fix:空载具出库
This commit is contained in:
@@ -672,7 +672,7 @@ public class PdaIosInServiceImpl implements PdaIosInService {
|
||||
.count() != dto.getParam_list().size()) {
|
||||
throw new BadRequestException("存在重复的点位或托盘号,请核对!");
|
||||
}
|
||||
|
||||
|
||||
//查询字典表
|
||||
List<Dict> dictList = sysDictMapper.selectList(new LambdaQueryWrapper<Dict>()
|
||||
.eq(Dict::getCode, "MATERIAL_MODEL_SECT"));
|
||||
|
||||
@@ -28,6 +28,7 @@ import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Collections;
|
||||
|
||||
/**
|
||||
* @Author: gbx
|
||||
@@ -165,9 +166,10 @@ public class VehicleOutTask extends AbstractTask {
|
||||
iSchBasePointService.update(
|
||||
new UpdateWrapper<SchBasePoint>().lambda()
|
||||
.eq(SchBasePoint::getPoint_code, taskObj.getPoint_code2())
|
||||
.set(SchBasePoint::getVehicle_code, null)
|
||||
.set(SchBasePoint::getVehicle_code, taskObj.getVehicle_code())
|
||||
.set(SchBasePoint::getIos_id, null)
|
||||
.set(SchBasePoint::getPoint_status,"2"));
|
||||
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
|
||||
@@ -42,7 +42,7 @@ public enum IOSEnum {
|
||||
)),
|
||||
|
||||
// 点位状态
|
||||
POINT_STATUS(MapOf.of("无货", "1", "有货", "2" )),
|
||||
POINT_STATUS(MapOf.of("无货", "1", "空载具", "2" , "有货", "3" )),
|
||||
|
||||
// 单据创建类型
|
||||
CREATE_MODE(MapOf.of("PC产生", "1", "终端产生", "2", "外部接口产生", "3")),
|
||||
|
||||
Reference in New Issue
Block a user