|
|
@ -15,11 +15,6 @@ import com.epmet.commons.tools.validator.group.UpdateGroup; |
|
|
|
import com.epmet.dto.IcEventDTO; |
|
|
|
import com.epmet.dto.form.*; |
|
|
|
import com.epmet.dto.result.*; |
|
|
|
import com.epmet.dto.form.demand.ReportDemandFormDTO; |
|
|
|
import com.epmet.dto.result.IcEventListResultDTO; |
|
|
|
import com.epmet.dto.result.IcEventMonthlyIncrementResultDTO; |
|
|
|
import com.epmet.dto.result.IcEventResultDTO; |
|
|
|
import com.epmet.dto.result.ProcessStatusRatioResultDTO; |
|
|
|
import com.epmet.service.IcEventService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
@ -193,6 +188,7 @@ public class IcEventController { |
|
|
|
public Result<List<IcEventCategoryAnalysisResDTO>> categoryAnalysisTotal(@LoginUser TokenDto tokenDto, @RequestBody IcEventCategoryAnalysisFormDTO formDTO) { |
|
|
|
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|
|
|
formDTO.setStaffId(tokenDto.getUserId()); |
|
|
|
ValidatorUtils.validateEntity(formDTO,IcEventCategoryAnalysisFormDTO.TotalPie.class); |
|
|
|
List<IcEventCategoryAnalysisResDTO> list = icEventService.categoryAnalysisTotal(formDTO); |
|
|
|
return new Result<List<IcEventCategoryAnalysisResDTO>>().ok(list); |
|
|
|
} |
|
|
|