| | |
| | | |
| | | import cn.huge.base.common.utils.ReturnFailUtils; |
| | | import cn.huge.base.common.utils.ReturnSucUtils; |
| | | import cn.huge.base.config.CurrentUser; |
| | | import cn.huge.module.cases.domain.po.CaseInfoUnfold; |
| | | import cn.huge.module.cases.service.CaseInfoUnfoldService; |
| | | import com.google.common.collect.Maps; |
| | |
| | | * @title: 纠纷信息扩展表接口api-web端 |
| | | * @description: 纠纷信息扩展表接口api-web端 |
| | | * @company: hugeinfo |
| | | * @author: wangwh |
| | | * @time: 2024-08-27 20:36:04 |
| | | * @author: liyj |
| | | * @time: 2024-09-09 19:58:25 |
| | | * @version: 1.0.0 |
| | | */ |
| | | @Slf4j |
| | |
| | | */ |
| | | private Map<String, Object> getParameter(){ |
| | | Map<String, Object> terms = Maps.newHashMap(); |
| | | // 主键编号 |
| | | // 纠纷编号 |
| | | String id = request.getParameter("id"); |
| | | if (StringUtils.isNotBlank(id)){ |
| | | terms.put("id", id); |
| | | } |
| | | // 纠纷编号 |
| | | String caseId = request.getParameter("caseId"); |
| | | if (StringUtils.isNotBlank(caseId)){ |
| | | terms.put("caseId", caseId); |
| | | // 受理时间 |
| | | String acceptTime = request.getParameter("acceptTime"); |
| | | if (StringUtils.isNotBlank(acceptTime)){ |
| | | terms.put("acceptTime", acceptTime); |
| | | } |
| | | // 实际调解组织编号 |
| | | String mediateUnitId = request.getParameter("mediateUnitId"); |
| | |
| | | String mediatorMobile = request.getParameter("mediatorMobile"); |
| | | if (StringUtils.isNotBlank(mediatorMobile)){ |
| | | terms.put("mediatorMobile", mediatorMobile); |
| | | } |
| | | // 配合组织,多个用,隔开 |
| | | String assistUnitId = request.getParameter("assistUnitId"); |
| | | if (StringUtils.isNotBlank(assistUnitId)){ |
| | | terms.put("assistUnitId", assistUnitId); |
| | | } |
| | | // 配合组织名称,多个用、隔开 |
| | | String assistUnitName = request.getParameter("assistUnitName"); |
| | | if (StringUtils.isNotBlank(assistUnitName)){ |
| | | terms.put("assistUnitName", assistUnitName); |
| | | } |
| | | // 调解开始时间 |
| | | String mediStartTime = request.getParameter("mediStartTime"); |
| | |
| | | String courtName = request.getParameter("courtName"); |
| | | if (StringUtils.isNotBlank(courtName)){ |
| | | terms.put("courtName", courtName); |
| | | } |
| | | // 办结时间 |
| | | String closeTime = request.getParameter("closeTime"); |
| | | if (StringUtils.isNotBlank(closeTime)){ |
| | | terms.put("closeTime", closeTime); |
| | | } |
| | | // 是否申请司法确认,0:未申请,1:已申请 |
| | | String judicApply = request.getParameter("judicApply"); |
| | |
| | | } |
| | | |
| | | /** |
| | | * 查询办理结果 |
| | | * @url {ctx}/api/web/caseInfoUnfold/getTransactResult |
| | | * @param caseId 事项ID |
| | | * @return Object |
| | | */ |
| | | @GetMapping("/getTransactResult") |
| | | public Object getTransactResult(@RequestParam(value = "caseId") String caseId) { |
| | | try { |
| | | return ReturnSucUtils.getRepInfo(service.getTransactResult(caseId)); |
| | | } catch (Exception e) { |
| | | return ReturnFailUtils.getRepInfo(); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * PC端-选择经办人 |
| | | * @url {ctx}/api/web/caseInfoUnfold/choosePrincipal? |
| | | * @param caseId 纠纷编号 |
| | |
| | | return ReturnSucUtils.getRepInfo(); |
| | | } catch (Exception e) { |
| | | return ReturnFailUtils.getRepInfo(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 查询办理结果 |
| | | * @url {ctx}/api/web/caseInfoUnfold/getTransactResult |
| | | * @param caseId 事项ID |
| | | * @return Object |
| | | */ |
| | | @GetMapping("/getTransactResult") |
| | | public Object getTransactResult(@RequestParam(value = "caseId") String caseId) { |
| | | try { |
| | | return ReturnSucUtils.getRepInfo(service.getTransactResult(caseId)); |
| | | } catch (Exception e) { |
| | | return ReturnFailUtils.getRepInfo(); |
| | | } |
| | | } |
| | | } |