工地接口优化
This commit is contained in:
parent
1721ee0f9b
commit
1fb6d19218
|
@ -62,11 +62,11 @@ public interface BuildingRecordsMapper extends BaseMapper<BuildingRecords> {
|
|||
" where DATE_SUB(CURDATE(), INTERVAL 30 DAY) <= date(br.push_time) and br.project_name like concat('%',#{projectName},'%')")
|
||||
List<BuildingRecordsDto> selectMonthAll(String projectName);
|
||||
|
||||
@Select("select br.*,bs.sgwz,bs.jd,bs.wd,bs.ssdq from t_building_records br JOIN t_building_new_site bs on br.project_name = bs.gdmc" +
|
||||
@Select("select br.*,bs.sgwz,bs.jd,bs.wd,bs.ssdq,bs.yjsg from t_building_records br JOIN t_building_new_site bs on br.project_name = bs.gdmc" +
|
||||
" where br.project_name like concat('%',#{projectName},'%')")
|
||||
List<BuildingRecordsDto> selectByProjectName(String projectName);
|
||||
|
||||
@Select("select br.*,bs.sgwz,bs.jd,bs.wd,bs.ssdq from t_building_records br JOIN t_building_new_site bs on br.project_name = bs.gdmc" +
|
||||
@Select("select br.*,bs.sgwz,bs.jd,bs.wd,bs.ssdq,bs.yjsg from t_building_records br JOIN t_building_new_site bs on br.project_name = bs.gdmc" +
|
||||
" where (bs.jd between #{jd} and #{jd1}) and (bs.wd between #{wd} and #{wd1} )")
|
||||
List<BuildingRecordsDto> selectByJdWd(@Param("jd") Double jd,
|
||||
@Param("jd1") Double jd1,
|
||||
|
|
|
@ -303,9 +303,9 @@ public class PassengerFlowService {
|
|||
double minX = vertX.stream().min(Comparator.comparingDouble(Double::doubleValue)).get();
|
||||
double minY = vertY.stream().min(Comparator.comparingDouble(Double::doubleValue)).get();
|
||||
|
||||
if (longitude < minX || longitude > maxX || latitude < minY || latitude > maxY) {
|
||||
/*if (longitude < minX || longitude > maxX || latitude < minY || latitude > maxY) {
|
||||
continue;
|
||||
}
|
||||
}*/
|
||||
int i, j;
|
||||
boolean result = false;
|
||||
int n = vertX.size();
|
||||
|
|
Loading…
Reference in New Issue