优化代码

This commit is contained in:
XinYi Song 2021-12-14 14:55:56 +08:00
parent b8d8dee1b1
commit 39267f9e86

View File

@ -49,7 +49,7 @@ public interface FirePointDao extends JpaRepository<FirePointEntity,Long>, JpaSp
* @param countyCode * @param countyCode
* @return * @return
*/ */
@Query(value = "select * from fire_point where add_time like CONCAT('%',:addTime,'%') and county_code = :countyCode and and land_type != '耕地'",nativeQuery = true) @Query(value = "select * from fire_point where add_time like CONCAT('%',:addTime,'%') and county_code = :countyCode and land_type != '耕地'",nativeQuery = true)
List<FirePointEntity> selectTodayFirePointOneShandong(String addTime,String countyCode); List<FirePointEntity> selectTodayFirePointOneShandong(String addTime,String countyCode);
/** /**