Compare commits

..

No commits in common. "d720dfdf2a888a8cb7f376ada08a0b74f4ae69a3" and "20e5f46f7fff99fbf145c00194db78073aa7fb19" have entirely different histories.

6 changed files with 0 additions and 54 deletions

View File

@ -58,16 +58,4 @@ public class CustomerMainApi {
return success(levelService.queryListAll(pageReqVO));
}
/**
* 根据车辆ID反查用户信息
*
* @author 小李
* @date 21:41 2024/9/24
* @param carId 车辆ID
**/
@GetMapping("/getByCarId")
@Operation(summary = "根据车辆ID反查用户信息")
public CommonResult<?> getCustomerByCarId(@RequestParam("carId")String carId) {
return success(customerMainService.getCustomerByCarId(carId));
}
}

View File

@ -36,13 +36,4 @@ public interface CustomerMainMapper extends BaseMapper<CustomerMain> {
* @return cn.iocoder.yudao.module.custom.vo.CustomerMainRespVO
**/
CustomerMainRespVO queryById(@Param("id") String id);
/**
* 根据车辆ID反查用户信息
*
* @author 小李
* @date 21:41 2024/9/24
* @param carId 车辆ID
**/
CustomerMain getCustomerByCarId(@Param("carId") String carId);
}

View File

@ -80,13 +80,4 @@ public interface CustomerMainService extends IService<CustomerMain> {
* @date 18:42 2024/8/3
**/
void bindCustomAndCar(CustomerMainSaveReqVO saveReqVO);
/**
* 根据车辆ID反查用户信息
*
* @author 小李
* @date 21:41 2024/9/24
* @param carId 车辆ID
**/
CustomerMain getCustomerByCarId(String carId);
}

View File

@ -268,16 +268,4 @@ public class CustomerMainServiceImpl extends ServiceImpl<CustomerMainMapper, Cus
}
customerCarService.bindCustomerCar(saveReqVO.getId(), CUS_SIGN_CUSTOMER, customerCars);
}
/**
* 根据车辆ID反查用户信息
*
* @author 小李
* @date 21:41 2024/9/24
* @param carId 车辆ID
**/
@Override
public CustomerMain getCustomerByCarId(String carId){
return baseMapper.getCustomerByCarId(carId);
}
}

View File

@ -122,13 +122,4 @@
GROUP BY
main.id
</select>
<select id="getCustomerByCarId" resultType="cn.iocoder.yudao.module.custom.entity.CustomerMain">
select bcus.*
from base_customer_car bcc
left join base_customer_main bcus on bcc.cus_id = bcus.id
left join base_car_main bcar on bcc.car_id = bcar.id
where bcc.deleted = '0'
and bcc.car_id = #{carId}
</select>
</mapper>

View File

@ -53,9 +53,6 @@ public class DlRepairBookingServiceImpl extends ServiceImpl<DlRepairBookingMappe
**/
@Override
public void updateBooking(DlRepairBookingRespVO repairBookingRespVO){
Long loginUserId = SecurityFrameworkUtils.getLoginUserId();
Optional.ofNullable(loginUserId).ifPresent(repairBookingRespVO::setUserId);
repairBookingRespVO.setBookingStatus("01");
baseMapper.insertOrUpdate(repairBookingRespVO);
}