Browse Source

Merge remote-tracking branch 'origin/dev_party_mange' into dev_party_mange

master
Jackwang 3 years ago
parent
commit
fcf20b2695
  1. 6
      epmet-user/epmet-user-server/src/main/java/com/epmet/controller/IcVolunteerPolyController.java

6
epmet-user/epmet-user-server/src/main/java/com/epmet/controller/IcVolunteerPolyController.java

@ -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());
}
}

Loading…
Cancel
Save