|
@@ -28,6 +28,7 @@ import com.sckw.system.api.model.dto.res.EntCacheResDto;
|
|
|
import com.sckw.system.api.model.dto.res.SysDictResDto;
|
|
import com.sckw.system.api.model.dto.res.SysDictResDto;
|
|
|
import com.sckw.system.api.model.dto.res.UserCacheResDto;
|
|
import com.sckw.system.api.model.dto.res.UserCacheResDto;
|
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
|
|
+import org.checkerframework.checker.units.qual.K;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -349,6 +350,11 @@ public class KwfTruckReportService {
|
|
|
} else {
|
|
} else {
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ //校验企业是否添加该车辆
|
|
|
|
|
+ KwfTruck truckEnt = new KwfTruck();
|
|
|
|
|
+ truckEnt.setId(truck.getId());
|
|
|
|
|
+ truckService.truckEntEdit(truckEnt);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**档案信息**/
|
|
/**档案信息**/
|
|
@@ -379,6 +385,11 @@ public class KwfTruckReportService {
|
|
|
} else {
|
|
} else {
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ //校验企业是否添加该司机
|
|
|
|
|
+ KwfDriver driverEnt = new KwfDriver();
|
|
|
|
|
+ driverEnt.setId(driver.getId());
|
|
|
|
|
+ driverService.driverEntEdit(driverEnt);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
count += truckReportDao.insert(truckReport);
|
|
count += truckReportDao.insert(truckReport);
|