fix:空载具出库

This commit is contained in:
zhengxuming
2025-08-12 10:18:51 +08:00
parent 4d22a81018
commit dc61857ff2
3 changed files with 5 additions and 3 deletions

View File

@@ -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)

View File

@@ -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")),