打印日志

This commit is contained in:
guoshengxiong 2024-06-20 10:05:01 +08:00
parent 8209b0fa41
commit c6710d88e6

View File

@ -261,6 +261,7 @@ public class CarPassRecordServiceImpl extends ServiceImpl<CarPassRecordMapper, C
if (Objects.equals(carInfo.getCarModuleType(), 3)) {
WorkerInfo workerInfo = workerInfoService.selectWorkerInfoByIdCard(new MapBuilder<String, Object>().put("idCard", carInfo.getOutsideDriverIdCard()).put("projectSn", carInfo.getProjectSn()).build());
if (workerInfo == null) {
log.info("临时车的身份证在平台不存在,身份证号:{},姓名:{}", workerInfo.getIdCard(), workerInfo.getWorkerName());
return;
}
list = Arrays.asList(workerInfo);