fix:空载具出库
This commit is contained in:
@@ -28,6 +28,7 @@ import org.springframework.stereotype.Component;
|
|||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
import java.util.Collections;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author: gbx
|
* @Author: gbx
|
||||||
@@ -165,9 +166,10 @@ public class VehicleOutTask extends AbstractTask {
|
|||||||
iSchBasePointService.update(
|
iSchBasePointService.update(
|
||||||
new UpdateWrapper<SchBasePoint>().lambda()
|
new UpdateWrapper<SchBasePoint>().lambda()
|
||||||
.eq(SchBasePoint::getPoint_code, taskObj.getPoint_code2())
|
.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::getIos_id, null)
|
||||||
.set(SchBasePoint::getPoint_status,"2"));
|
.set(SchBasePoint::getPoint_status,"2"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@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")),
|
CREATE_MODE(MapOf.of("PC产生", "1", "终端产生", "2", "外部接口产生", "3")),
|
||||||
|
|||||||
Reference in New Issue
Block a user