| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.sangeshenbian.model.entity.ComplaintAuditRecord; |
| | | import com.panzhihua.sangeshenbian.model.entity.ComplaintProgress; |
| | | import com.panzhihua.sangeshenbian.model.query.AnalyticStatisticsQuery; |
| | | import com.panzhihua.sangeshenbian.model.query.AppStaticsQuery; |
| | | import com.panzhihua.sangeshenbian.model.query.BasePage; |
| | | import com.panzhihua.sangeshenbian.model.query.ComplaintQuery; |
| | | import com.panzhihua.sangeshenbian.model.vo.ComplaintTodoVO; |
| | | import com.panzhihua.sangeshenbian.model.vo.ComplaintVO; |
| | | import com.panzhihua.sangeshenbian.model.vo.DispatchVO; |
| | | import com.panzhihua.sangeshenbian.model.vo.*; |
| | | import com.panzhihua.sangeshenbian.warpper.MgtComplaintQuery; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.io.IOException; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | List<ComplaintProgress> progress(Long complaintId); |
| | | |
| | | void saveAndReport(ComplaintVO complaintVO, LoginUserInfoVO loginUserInfo); |
| | | |
| | | /** |
| | | * 诉求上报 |
| | | */ |
| | | void saveReport(ComplaintReportDTO dto, LoginUserInfoVO loginUserInfoVO); |
| | | |
| | | void saveAndComplete(@Valid ComplaintSaveAndCompleteDTO complaintVO, LoginUserInfoVO loginUserInfo); |
| | | |
| | | /** |
| | | * 诉求上报撤回 |
| | | */ |
| | | void reportWithdraw(ComplaintReportWithdrawDTO dto, LoginUserInfoVO loginUserInfoVO); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 诉求下派 |
| | |
| | | * @param loginUserInfo |
| | | * @return |
| | | */ |
| | | Page<ComplaintVO> pageList(ComplaintQuery query, SystemUserVo loginUserInfo); |
| | | Page<ComplaintVO> pageList(MgtComplaintQuery query, SystemUserVo loginUserInfo); |
| | | |
| | | /** |
| | | * 管理后台-诉求详情 |
| | |
| | | * @param query |
| | | * @param loginUserInfo |
| | | */ |
| | | void export(ComplaintQuery query, SystemUserVo loginUserInfo) throws IOException; |
| | | void export(MgtComplaintQuery query, SystemUserVo loginUserInfo) throws IOException; |
| | | |
| | | /** |
| | | * 社区问题单 |
| | | * 社区问题单、问题处理单、协调通知单 下载 |
| | | * |
| | | * @param id |
| | | * @param loginUserInfo |
| | | */ |
| | | void communityProblem(Long id) throws IOException; |
| | | String downloadFile(Long id, Integer type, SystemUserVo loginUserInfo) throws IOException; |
| | | |
| | | /** |
| | | * 问题处理单 |
| | | * @param id |
| | | */ |
| | | void problemHandle(Long id); |
| | | |
| | | /** |
| | | * 协调通知 |
| | | * @param id |
| | | */ |
| | | void coordinationNotice(Long id); |
| | | |
| | | |
| | | /** |
| | | * 获取超时未评价的数据 |
| | | * @return |
| | | */ |
| | | List<Complaint> getTimeoutAndNotComment(); |
| | | |
| | | |
| | | /** |
| | | * 修改办理进度 |
| | | * @param dto |
| | | */ |
| | | void updateProgress(ComplaintProcessUpdateDto dto); |
| | | |
| | | |
| | | /** |
| | | * 删除办理进度 |
| | | * @param id |
| | | */ |
| | | void delProgress(Long id); |
| | | |
| | | /** |
| | | * 数据统计第一部分 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | AnalyticStatisticsOneVo analyticStatisticsOne(AnalyticStatisticsQuery query,List<Complaint> complaints, SimpleDateFormat simpleDateFormat); |
| | | |
| | | |
| | | /** |
| | | * 数据统计第二部分 |
| | | * |
| | | * @param time |
| | | * @param complaints |
| | | * @param simpleDateFormat |
| | | * @return |
| | | */ |
| | | List<AnalyticStatisticsTwoVo> analyticStatisticsTwo(String time, List<Complaint> complaints, SimpleDateFormat simpleDateFormat); |
| | | |
| | | |
| | | /**+ |
| | | * 数据统计第三部分 |
| | | * @param query |
| | | * @param complaints |
| | | * @return |
| | | */ |
| | | List<AnalyticStatisticsThreeVo> analyticStatisticsThree(@Valid AnalyticStatisticsQuery query, List<Complaint> complaints); |
| | | |
| | | /** |
| | | * 数据统计第四部分 |
| | | * @param complaints |
| | | * @return |
| | | */ |
| | | AnalyticStatisticsFourVo analyticStatisticsFour(List<Complaint> complaints); |
| | | |
| | | /** |
| | | * 查询党员或上级对应的诉求列表 |
| | | * @param query |
| | | * @param loginUserInfo |
| | | * @return |
| | | */ |
| | | List<Complaint> queryCompliantList(AppStaticsQuery query, LoginUserInfoVO loginUserInfo); |
| | | } |