1
This commit is contained in:
parent
5c73d31551
commit
ca2b865a11
@ -58,7 +58,6 @@ public class RepairOrderInfoController {
|
||||
*/
|
||||
@PutMapping("/update")
|
||||
@Operation(summary = "更新车辆信息")
|
||||
@PreAuthorize("@ss.hasPermission('base:car-main:update')")
|
||||
public CommonResult<Boolean> updateCarMain(@RequestBody RepairOrderInfoSaveReqVO saveReqVO) {
|
||||
repairOrderInfoService.rechargeCallback(saveReqVO.getOrderNo());
|
||||
return success(true);
|
||||
|
@ -1,6 +1,7 @@
|
||||
package cn.iocoder.yudao.module.booking.service.impl;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.collection.CollectionUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils;
|
||||
import cn.iocoder.yudao.module.app.booking.vo.BookingQueryVO;
|
||||
@ -107,6 +108,9 @@ public class DlRepairBookingServiceImpl extends ServiceImpl<DlRepairBookingMappe
|
||||
@Override
|
||||
public List<BookingQueryVO> getBookingMap(List<String> ids){
|
||||
// 查预约记录
|
||||
if (CollectionUtil.isEmpty(ids)){
|
||||
return new ArrayList<>();
|
||||
}
|
||||
List<DlRepairBooking> dlRepairBookings = baseMapper.selectBatchIds(ids);
|
||||
List<BookingQueryVO> result = dlRepairBookings.stream().map(item -> BeanUtil.toBean(item, BookingQueryVO.class)).collect(Collectors.toList());
|
||||
// 查企业
|
||||
|
Loading…
Reference in New Issue
Block a user