|
|
@ -24,10 +24,7 @@ import com.epmet.dao.IcVolunteerPolyDao; |
|
|
|
import com.epmet.dao.UserBaseInfoDao; |
|
|
|
import com.epmet.dto.IcVolunteerPolyDTO; |
|
|
|
import com.epmet.dto.VolunteerInfoDTO; |
|
|
|
import com.epmet.dto.form.IcFormOptionsQueryFormDTO; |
|
|
|
import com.epmet.dto.form.VolunteerPolyListFormDTO; |
|
|
|
import com.epmet.dto.form.VolunteerPolyMapDataFormDTO; |
|
|
|
import com.epmet.dto.form.VolunteerPolyPieFormDTO; |
|
|
|
import com.epmet.dto.form.*; |
|
|
|
import com.epmet.dto.result.ResiUserBaseInfoResultDTO; |
|
|
|
import com.epmet.dto.result.VolunteerPolyListResultDTO; |
|
|
|
import com.epmet.dto.result.VolunteerPolyMapDataResultDTO; |
|
|
@ -141,7 +138,7 @@ public class IcVolunteerPolyServiceImpl extends BaseServiceImpl<IcVolunteerPolyD |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public List<VolunteerPolyMapDataResultDTO> getMapData(VolunteerPolyMapDataFormDTO form) { |
|
|
|
List<VolunteerPolyMapDataResultDTO> dto = baseDao.getMapData(form.getCode(), form.getCustomerId(),form.getAgencyId()); |
|
|
|
List<VolunteerPolyMapDataResultDTO> dto = baseDao.getMapData(form.getCode(), form.getCustomerId(), form.getAgencyId()); |
|
|
|
// 获取gridName
|
|
|
|
for (VolunteerPolyMapDataResultDTO item : dto) { |
|
|
|
if (StringUtils.isNotEmpty(item.getGridId())) { |
|
|
@ -172,7 +169,7 @@ public class IcVolunteerPolyServiceImpl extends BaseServiceImpl<IcVolunteerPolyD |
|
|
|
@Override |
|
|
|
public PageData getList(VolunteerPolyListFormDTO form) { |
|
|
|
PageHelper.startPage(form.getPageNo(), form.getPageSize()); |
|
|
|
List<VolunteerPolyListResultDTO> result = baseDao.getList(form.getCode(), form.getCustomerId(),form.getAgencyId()); |
|
|
|
List<VolunteerPolyListResultDTO> result = baseDao.getList(form.getCode(), form.getCustomerId(), form.getAgencyId()); |
|
|
|
PageInfo<VolunteerPolyListResultDTO> info = new PageInfo<>(result); |
|
|
|
return new PageData<>(result, info.getTotal()); |
|
|
|
} |
|
|
@ -469,4 +466,17 @@ public class IcVolunteerPolyServiceImpl extends BaseServiceImpl<IcVolunteerPolyD |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 修改经纬度 |
|
|
|
* |
|
|
|
* @param form |
|
|
|
* @return void |
|
|
|
* @author LZN |
|
|
|
* @date 2022/5/24 15:08 |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public void updateLonAndLat(LonAndLatFormDTO form) { |
|
|
|
baseDao.updateLonAndLat(form); |
|
|
|
} |
|
|
|
|
|
|
|
} |