|
@@ -19,9 +19,7 @@ import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
import java.sql.Timestamp;
|
|
import java.sql.Timestamp;
|
|
-import java.util.ArrayList;
|
|
|
|
-import java.util.Arrays;
|
|
|
|
-import java.util.List;
|
|
|
|
|
|
+import java.util.*;
|
|
|
|
|
|
@Slf4j
|
|
@Slf4j
|
|
@Service
|
|
@Service
|
|
@@ -673,4 +671,14 @@ public class VehicleService {
|
|
// return new CommonsMultipartFile(item);
|
|
// return new CommonsMultipartFile(item);
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
+
|
|
|
|
+ //新增共有、私有
|
|
|
|
+ public Map<String,List<VehicleVO>> getMyVehicleListNew() {
|
|
|
|
+ List<VehicleVO> listGy=vehicleMapper.selectPrivateAndPublicByCreateUserIdGy(AuthUtil.getCurrentUserId());
|
|
|
|
+ List<VehicleVO> listSy=vehicleMapper.selectPrivateAndPublicByCreateUserIdSy(AuthUtil.getCurrentUserId());
|
|
|
|
+ Map<String,List<VehicleVO>> map=new HashMap<>();
|
|
|
|
+ map.put("listGy",listGy);
|
|
|
|
+ map.put("listSy",listSy);
|
|
|
|
+ return map;
|
|
|
|
+ }
|
|
}
|
|
}
|