|
@ -8,11 +8,9 @@ import com.epmet.commons.tools.annotation.LoginUser; |
|
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|
|
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|
|
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|
|
|
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
@ -346,6 +344,20 @@ public class IcEventController { |
|
|
return new Result<List<MyReportIcEvResDTO>>().ok(icEventService.myReport(formDTO).getList()); |
|
|
return new Result<List<MyReportIcEvResDTO>>().ok(icEventService.myReport(formDTO).getList()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 居民端我上报的事件, 消息列表跳转详情 |
|
|
|
|
|
* @param tokenDto |
|
|
|
|
|
* @param formDTO |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
@PostMapping("myreport-detail") |
|
|
|
|
|
public Result<MyReportIcEvResDTO> myReportDetail(@LoginUser TokenDto tokenDto, @RequestBody MyReportIcEvFormDTO formDTO) { |
|
|
|
|
|
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|
|
|
|
|
formDTO.setUserId(tokenDto.getUserId()); |
|
|
|
|
|
ValidatorUtils.validateEntity(formDTO, MyReportIcEvFormDTO.DetailGroup.class); |
|
|
|
|
|
return new Result<MyReportIcEvResDTO>().ok(icEventService.myReportDetail(formDTO)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 居民端小程序我上报的事件详情页面-回复列表 |
|
|
* 居民端小程序我上报的事件详情页面-回复列表 |
|
|
* http://yapi.elinkservice.cn/project/102/interface/api/7783
|
|
|
* http://yapi.elinkservice.cn/project/102/interface/api/7783
|
|
|