|
|
@@ -1,8 +1,15 @@
|
|
|
package com.sckw.fleet.service;
|
|
|
|
|
|
import com.sckw.core.web.response.HttpResult;
|
|
|
+import com.sckw.fleet.dao.KwfTransportLicenseMapper;
|
|
|
+import com.sckw.fleet.dao.KwfTruckEntMapper;
|
|
|
+import com.sckw.fleet.dao.KwfTruckLicenseMapper;
|
|
|
import com.sckw.fleet.dao.KwfTruckMapper;
|
|
|
import com.sckw.fleet.model.KwfTruck;
|
|
|
+import com.sckw.fleet.model.vo.KwfTruckVo;
|
|
|
+import com.sckw.system.api.RemoteSystemService;
|
|
|
+import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
+import org.checkerframework.checker.units.qual.A;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import java.util.List;
|
|
|
@@ -18,6 +25,16 @@ public class KwfTruckService {
|
|
|
|
|
|
@Autowired
|
|
|
KwfTruckMapper truckDao;
|
|
|
+ @Autowired
|
|
|
+ KwfTruckEntMapper truckEntDao;
|
|
|
+ @Autowired
|
|
|
+ KwfTruckLicenseMapper truckLicenseDao;
|
|
|
+ @Autowired
|
|
|
+ KwfTransportLicenseMapper transportLicenseDao;
|
|
|
+ @DubboReference(version = "2.0.0", group = "design", check = false)
|
|
|
+ private RemoteSystemService remoteSystemService;
|
|
|
+
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* @param key 主键id
|
|
|
@@ -35,7 +52,7 @@ public class KwfTruckService {
|
|
|
* @author zk
|
|
|
* @date 2023/7/6
|
|
|
**/
|
|
|
- public List<KwfTruck> findPage(Map<String, Object> params) {
|
|
|
+ public List<KwfTruckVo> findPage(Map<String, Object> params) {
|
|
|
return truckDao.selectPage(null, null);
|
|
|
}
|
|
|
|
|
|
@@ -45,7 +62,7 @@ public class KwfTruckService {
|
|
|
* @author zk
|
|
|
* @date 2023/7/6
|
|
|
**/
|
|
|
- public List<KwfTruck> findList(Map<String, Object> params) {
|
|
|
+ public List<KwfTruckVo> findList(Map<String, Object> params) {
|
|
|
return truckDao.selectPage(null, null);
|
|
|
}
|
|
|
|