Compare commits
2 Commits
fd94be6571
...
37e54c5e31
| Author | SHA256 | Date | |
|---|---|---|---|
| 37e54c5e31 | |||
| cb51904810 |
@ -297,4 +297,16 @@ public class EbikeBikeOrderController {
|
|||||||
EbikeOrderBulletinBoardInfo info = ebikeBikeOrderService.bulletinBoard();
|
EbikeOrderBulletinBoardInfo info = ebikeBikeOrderService.bulletinBoard();
|
||||||
return JsonResult.success(info);
|
return JsonResult.success(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个人未完成工单统计
|
||||||
|
*
|
||||||
|
* @return 操作结果
|
||||||
|
*/
|
||||||
|
@GetMapping("unfinishedOrders")
|
||||||
|
public JsonResult<EbikeOrderUnfinishedInfo> unfinishedOrders() {
|
||||||
|
EbikeOrderUnfinishedInfo info = ebikeBikeOrderService.unfinishedOrders();
|
||||||
|
return JsonResult.success(info);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,45 @@
|
|||||||
|
package com.cdzy.operations.model.dto;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工单看板详情
|
||||||
|
*
|
||||||
|
* @author attiya
|
||||||
|
* @since 2025-11-24
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class EbikeOrderUnfinishedInfo implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 巡检统计
|
||||||
|
*/
|
||||||
|
Integer inspectionCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 调度统计
|
||||||
|
*/
|
||||||
|
Integer dispatchCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 维修统计
|
||||||
|
*/
|
||||||
|
Integer repairCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 换电统计
|
||||||
|
*/
|
||||||
|
Integer batterySwapCount;
|
||||||
|
}
|
||||||
@ -137,4 +137,10 @@ public interface EbikeBikeOrderService extends IService<EbikeBikeOrder> {
|
|||||||
* @return 统计结果
|
* @return 统计结果
|
||||||
*/
|
*/
|
||||||
List<EffectiveDispatchOrderDto> effectiveDispatchOrder(EffectiveDispatchOrderVo effectiveDispatchOrderVo);
|
List<EffectiveDispatchOrderDto> effectiveDispatchOrder(EffectiveDispatchOrderVo effectiveDispatchOrderVo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 员工未完成工单统计
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
EbikeOrderUnfinishedInfo unfinishedOrders();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -794,6 +794,11 @@ public class EbikeBikeOrderServiceImpl extends ServiceImpl<EbikeBikeOrderMapper,
|
|||||||
return ebikeBikeOrderMapper.selectListByQueryAs(queryWrapper, EffectiveDispatchOrderDto.class);
|
return ebikeBikeOrderMapper.selectListByQueryAs(queryWrapper, EffectiveDispatchOrderDto.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public EbikeOrderUnfinishedInfo unfinishedOrders() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
EbikeBikeInfo checkBikeCode(String bikeCode) {
|
EbikeBikeInfo checkBikeCode(String bikeCode) {
|
||||||
QueryWrapper queryWrapper = QueryWrapper.create()
|
QueryWrapper queryWrapper = QueryWrapper.create()
|
||||||
.where(EBIKE_BIKE_INFO.BIKE_CODE.eq(bikeCode))
|
.where(EBIKE_BIKE_INFO.BIKE_CODE.eq(bikeCode))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user