添加 无用代码
This commit is contained in:
parent
42b3a80f14
commit
3bf5b889a1
@ -72,7 +72,8 @@ public class DispatchFirePointController {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
List<Map<String, String>> maps = streetDao.selectProCityPair();
|
List<Map<String, String>> maps = streetDao.selectProCityPair();
|
||||||
List<FirePointOrdinaryEntity> firePointOrdinaryEntityList = firePointOrdinaryDao.findAll();
|
// List<FirePointOrdinaryEntity> firePointOrdinaryEntityList = firePointOrdinaryDao.findAll();
|
||||||
|
List<FirePointOrdinaryEntity> firePointOrdinaryEntityList = firePointOrdinaryDao.finghjhgfdhjk();
|
||||||
List<String> errorList = new ArrayList<>();
|
List<String> errorList = new ArrayList<>();
|
||||||
for (FirePointOrdinaryEntity firePointOrdinaryEntity : firePointOrdinaryEntityList) {
|
for (FirePointOrdinaryEntity firePointOrdinaryEntity : firePointOrdinaryEntityList) {
|
||||||
String countyCode = firePointOrdinaryEntity.getCountyCode();
|
String countyCode = firePointOrdinaryEntity.getCountyCode();
|
||||||
|
@ -3,8 +3,14 @@ package com.xkrs.dao;
|
|||||||
import com.xkrs.model.entity.FirePointOrdinaryEntity;
|
import com.xkrs.model.entity.FirePointOrdinaryEntity;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||||
|
import org.springframework.data.jpa.repository.Query;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
public interface FirePointOrdinaryDao extends JpaRepository<FirePointOrdinaryEntity, Long>, JpaSpecificationExecutor<FirePointOrdinaryEntity> {
|
public interface FirePointOrdinaryDao extends JpaRepository<FirePointOrdinaryEntity, Long>, JpaSpecificationExecutor<FirePointOrdinaryEntity> {
|
||||||
|
|
||||||
|
@Query(value = "SELECT * FROM fire_point_ordinary ORDER BY satellite_time DESC LIMIT 10000", nativeQuery = true)
|
||||||
|
List<FirePointOrdinaryEntity> finghjhgfdhjk();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user