工单
This commit is contained in:
parent
ed451798e8
commit
8c829a76ec
@ -7,6 +7,7 @@ import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 车辆扫一扫详情。
|
||||
@ -48,6 +49,8 @@ public class EbikeScanOrderDto implements Serializable {
|
||||
*/
|
||||
private Long orderCode;
|
||||
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
/**
|
||||
* 是否自己已接单
|
||||
*/
|
||||
|
||||
@ -589,7 +589,8 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl<EbikeBikeInfoMapper, E
|
||||
EBIKE_BIKE_ORDER.BIKE_CODE,
|
||||
EBIKE_BIKE_ORDER.ORDER_CODE
|
||||
)
|
||||
.where(EBIKE_BIKE_ORDER.BIKE_CODE.eq(bikeCode));
|
||||
.where(EBIKE_BIKE_ORDER.BIKE_CODE.eq(bikeCode))
|
||||
.where(EBIKE_BIKE_ORDER.HANDLE_STATE.eq(OrderHandleState.UNPROCESSED).or(EBIKE_BIKE_ORDER.HANDLE_STATE.eq(OrderHandleState.ACCEPTED)));
|
||||
List<EbikeScanOrderDto> list = orderMapper.selectListByQueryAs(queryWrapper, EbikeScanOrderDto.class);
|
||||
long staffId = StpUtil.getLoginIdAsLong();
|
||||
if (!list.isEmpty()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user