|
|
@@ -152,7 +152,8 @@ public class BizDeviceServiceImpl implements IBizDeviceService {
|
|
|
@Override
|
|
|
public BizInfusionLineVO queryInfusionGraph(String infusionId) {
|
|
|
List<BizDeviceHistoryPO> bizDeviceHistoryPOS = bizDeviceHistoryRepository.selectList(new LambdaQueryWrapper<BizDeviceHistoryPO>()
|
|
|
- .eq(BizDeviceHistoryPO::getInfusionId, infusionId));
|
|
|
+ .eq(BizDeviceHistoryPO::getInfusionId, infusionId)
|
|
|
+ .orderByAsc(BizDeviceHistoryPO::getLastUploadTime));
|
|
|
if(CollectionUtil.isEmpty(bizDeviceHistoryPOS)){
|
|
|
return new BizInfusionLineVO();
|
|
|
}
|