Compare commits
No commits in common. "d720dfdf2a888a8cb7f376ada08a0b74f4ae69a3" and "20e5f46f7fff99fbf145c00194db78073aa7fb19" have entirely different histories.
d720dfdf2a
...
20e5f46f7f
@ -58,16 +58,4 @@ public class CustomerMainApi {
|
|||||||
return success(levelService.queryListAll(pageReqVO));
|
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));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,13 +36,4 @@ public interface CustomerMainMapper extends BaseMapper<CustomerMain> {
|
|||||||
* @return cn.iocoder.yudao.module.custom.vo.CustomerMainRespVO
|
* @return cn.iocoder.yudao.module.custom.vo.CustomerMainRespVO
|
||||||
**/
|
**/
|
||||||
CustomerMainRespVO queryById(@Param("id") String id);
|
CustomerMainRespVO queryById(@Param("id") String id);
|
||||||
|
|
||||||
/**
|
|
||||||
* 根据车辆ID反查用户信息
|
|
||||||
*
|
|
||||||
* @author 小李
|
|
||||||
* @date 21:41 2024/9/24
|
|
||||||
* @param carId 车辆ID
|
|
||||||
**/
|
|
||||||
CustomerMain getCustomerByCarId(@Param("carId") String carId);
|
|
||||||
}
|
}
|
||||||
@ -80,13 +80,4 @@ public interface CustomerMainService extends IService<CustomerMain> {
|
|||||||
* @date 18:42 2024/8/3
|
* @date 18:42 2024/8/3
|
||||||
**/
|
**/
|
||||||
void bindCustomAndCar(CustomerMainSaveReqVO saveReqVO);
|
void bindCustomAndCar(CustomerMainSaveReqVO saveReqVO);
|
||||||
|
|
||||||
/**
|
|
||||||
* 根据车辆ID反查用户信息
|
|
||||||
*
|
|
||||||
* @author 小李
|
|
||||||
* @date 21:41 2024/9/24
|
|
||||||
* @param carId 车辆ID
|
|
||||||
**/
|
|
||||||
CustomerMain getCustomerByCarId(String carId);
|
|
||||||
}
|
}
|
||||||
@ -268,16 +268,4 @@ public class CustomerMainServiceImpl extends ServiceImpl<CustomerMainMapper, Cus
|
|||||||
}
|
}
|
||||||
customerCarService.bindCustomerCar(saveReqVO.getId(), CUS_SIGN_CUSTOMER, customerCars);
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@ -122,13 +122,4 @@
|
|||||||
GROUP BY
|
GROUP BY
|
||||||
main.id
|
main.id
|
||||||
</select>
|
</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>
|
</mapper>
|
||||||
@ -53,9 +53,6 @@ public class DlRepairBookingServiceImpl extends ServiceImpl<DlRepairBookingMappe
|
|||||||
**/
|
**/
|
||||||
@Override
|
@Override
|
||||||
public void updateBooking(DlRepairBookingRespVO repairBookingRespVO){
|
public void updateBooking(DlRepairBookingRespVO repairBookingRespVO){
|
||||||
Long loginUserId = SecurityFrameworkUtils.getLoginUserId();
|
|
||||||
Optional.ofNullable(loginUserId).ifPresent(repairBookingRespVO::setUserId);
|
|
||||||
repairBookingRespVO.setBookingStatus("01");
|
|
||||||
baseMapper.insertOrUpdate(repairBookingRespVO);
|
baseMapper.insertOrUpdate(repairBookingRespVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user