|
|
@ -3,6 +3,8 @@ package com.epmet.controller; |
|
|
|
import com.epmet.commons.tools.annotation.LoginUser; |
|
|
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|
|
|
import com.epmet.commons.tools.dto.form.mq.MqBaseFormDTO; |
|
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
@ -165,7 +167,9 @@ public class IcVolunteerPolyController { |
|
|
|
form.setUserId(tokenDto.getUserId()); |
|
|
|
form.setCustomerId(tokenDto.getCustomerId()); |
|
|
|
icVolunteerPolyService.updateLonAndLat(form); |
|
|
|
return new Result(); |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), form.getLatitude(),form.getLongitude()); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|