76 changed files with 2289 additions and 230 deletions
@ -0,0 +1,21 @@
|
||||
CREATE TABLE `news` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`source` varchar(255) DEFAULT NULL COMMENT '动态来源', |
||||
`work_type` varchar(255) DEFAULT NULL COMMENT '动态分类', |
||||
`release_time` datetime DEFAULT NULL COMMENT '发布时间', |
||||
`create_time` datetime DEFAULT NULL, |
||||
`update_time` datetime DEFAULT NULL, |
||||
`content_txt` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci, |
||||
PRIMARY KEY (`id`) |
||||
) ENGINE=InnoDB; |
||||
|
||||
|
||||
CREATE TABLE `sup_dict_problem_type_maping` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`external_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, |
||||
`internal_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL, |
||||
`internal_id` varchar(40) COLLATE utf8mb4_general_ci NOT NULL, |
||||
`create_time` datetime DEFAULT NULL, |
||||
`update_time` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`) |
||||
) ENGINE=InnoDB; |
||||
@ -0,0 +1,41 @@
|
||||
package com.biutag.supervision.controller.api.plugin; |
||||
|
||||
import com.biutag.supervision.pojo.Result; |
||||
import com.biutag.supervision.pojo.dto.DataPetitionComplaintDto; |
||||
import com.biutag.supervision.pojo.dto.plugin.CaseVerifPluginDto; |
||||
import com.biutag.supervision.pojo.entity.DataCaseVerif; |
||||
import com.biutag.supervision.service.DataCaseVerifService; |
||||
import io.swagger.v3.oas.annotations.Operation; |
||||
import io.swagger.v3.oas.annotations.tags.Tag; |
||||
import lombok.RequiredArgsConstructor; |
||||
import org.springframework.validation.annotation.Validated; |
||||
import org.springframework.web.bind.annotation.PostMapping; |
||||
import org.springframework.web.bind.annotation.RequestBody; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2025/1/6 |
||||
*/ |
||||
@Tag(name = "案件核查(插件)") |
||||
@RequiredArgsConstructor |
||||
@RequestMapping("plugin/caseVerif") |
||||
@RestController |
||||
public class CaseVerifController { |
||||
|
||||
private final DataCaseVerifService dataCaseVerifService; |
||||
|
||||
@Operation(summary = "推送案件核查数据") |
||||
@PostMapping |
||||
public Result<Boolean> add(@RequestBody @Validated CaseVerifPluginDto body) { |
||||
DataCaseVerif caseVerif = new DataCaseVerif(); |
||||
caseVerif.setOriginId(body.getCaseNumber()); |
||||
caseVerif.setResponderName(body.getReporterName()); |
||||
caseVerif.setResponderPhone(body.getReporterContact()); |
||||
caseVerif.setThingDesc(body.getBriefCase()); |
||||
caseVerif.setSourceInvolveDepartName(body.getVerifiedObjectUnit()); |
||||
dataCaseVerifService.save(caseVerif); |
||||
return Result.success(); |
||||
} |
||||
} |
||||
@ -0,0 +1,42 @@
|
||||
package com.biutag.supervision.controller.data; |
||||
|
||||
import cn.hutool.core.util.StrUtil; |
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.biutag.supervision.mapper.DataAlarmDispositionInfoMapper; |
||||
import com.biutag.supervision.pojo.Result; |
||||
import com.biutag.supervision.pojo.entity.DataAlarmDispositionInfo; |
||||
import com.biutag.supervision.pojo.param.VideoInspectionQueryParam; |
||||
import com.biutag.supervision.pojo.vo.VideoInspectionInfo; |
||||
import com.biutag.supervision.pojo.vo.VideoInspectionVo; |
||||
import lombok.RequiredArgsConstructor; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.PathVariable; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2025/1/2 |
||||
*/ |
||||
@RequiredArgsConstructor |
||||
@RequestMapping("videoInspection") |
||||
@RestController |
||||
public class VideoInspectionController { |
||||
|
||||
private final DataAlarmDispositionInfoMapper dataAlarmDispositionInfoMapper; |
||||
|
||||
@GetMapping |
||||
public Result<Page<VideoInspectionVo>> list(VideoInspectionQueryParam param) { |
||||
QueryWrapper<DataAlarmDispositionInfo> queryWrapper = new QueryWrapper<>(); |
||||
queryWrapper.like(StrUtil.isNotBlank(param.getSystemKeyName()), "d.systemKeyName", param.getSystemKeyName()) |
||||
.like(StrUtil.isNotBlank(param.getSystemKeyName()), "d.title", param.getSystemKeyName()); |
||||
return Result.success(dataAlarmDispositionInfoMapper.queryPage(Page.of(param.getCurrent(), param.getSize()), queryWrapper)); |
||||
} |
||||
|
||||
@GetMapping("{id}") |
||||
public Result<VideoInspectionInfo> get(@PathVariable String id) { |
||||
|
||||
return Result.success(); |
||||
} |
||||
} |
||||
@ -0,0 +1,65 @@
|
||||
package com.biutag.supervision.controller.system; |
||||
|
||||
import cn.hutool.core.util.StrUtil; |
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.biutag.supervision.mapper.SupDictProblemTypeMapingMapper; |
||||
import com.biutag.supervision.pojo.Result; |
||||
import com.biutag.supervision.pojo.entity.SupDictProblemTypeMaping; |
||||
import com.biutag.supervision.pojo.param.DepartMapingQueryParam; |
||||
import com.biutag.supervision.pojo.param.PoliceQueryParam; |
||||
import lombok.RequiredArgsConstructor; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2024/12/31 |
||||
*/ |
||||
@RequestMapping("problemTypeMaping") |
||||
@RequiredArgsConstructor |
||||
@RestController |
||||
public class ProblemTypeMapingController { |
||||
|
||||
private final SupDictProblemTypeMapingMapper problemTypeMapingMapper; |
||||
|
||||
@GetMapping |
||||
public Result<Page<SupDictProblemTypeMaping>> list(DepartMapingQueryParam param) { |
||||
LambdaQueryWrapper<SupDictProblemTypeMaping> queryWrapper = new LambdaQueryWrapper<>(); |
||||
queryWrapper.like(StrUtil.isNotBlank(param.getExternalName()), SupDictProblemTypeMaping::getExternalName, param.getExternalName()) |
||||
.eq(StrUtil.isNotBlank(param.getInternalId()), SupDictProblemTypeMaping::getInternalId, param.getInternalId()) |
||||
.orderByDesc(SupDictProblemTypeMaping::getCreateTime); |
||||
return Result.success(problemTypeMapingMapper.selectPage(Page.of(param.getCurrent(), param.getSize()), queryWrapper)); |
||||
} |
||||
|
||||
@PostMapping |
||||
public Result<Void> add(@RequestBody SupDictProblemTypeMaping data) { |
||||
if (problemTypeMapingMapper.exists(new LambdaQueryWrapper<SupDictProblemTypeMaping>() |
||||
.eq(SupDictProblemTypeMaping::getExternalName, data.getExternalName()))) { |
||||
throw new RuntimeException(String.format("单位编码【%s】已存在", data.getExternalName())); |
||||
} |
||||
data.setUpdateTime(LocalDateTime.now()); |
||||
data.setCreateTime(LocalDateTime.now()); |
||||
problemTypeMapingMapper.insert(data); |
||||
return Result.success(); |
||||
} |
||||
|
||||
@PutMapping |
||||
public Result<Void> update(@RequestBody SupDictProblemTypeMaping data) { |
||||
if (problemTypeMapingMapper.exists(new LambdaQueryWrapper<SupDictProblemTypeMaping>() |
||||
.eq(SupDictProblemTypeMaping::getExternalName, data.getExternalName()) |
||||
.ne(SupDictProblemTypeMaping::getId, data.getId()))) { |
||||
throw new RuntimeException(String.format("单位编码【%s】已存在", data.getExternalName())); |
||||
} |
||||
data.setUpdateTime(LocalDateTime.now()); |
||||
problemTypeMapingMapper.updateById(data); |
||||
return Result.success(); |
||||
} |
||||
|
||||
@DeleteMapping("{id}") |
||||
public Result<Void> del(@PathVariable String id) { |
||||
problemTypeMapingMapper.deleteById(id); |
||||
return Result.success(); |
||||
} |
||||
} |
||||
@ -0,0 +1,60 @@
|
||||
package com.biutag.supervision.controller.work; |
||||
|
||||
import cn.hutool.core.util.StrUtil; |
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.biutag.supervision.pojo.Result; |
||||
import com.biutag.supervision.pojo.entity.News; |
||||
import com.biutag.supervision.pojo.param.NewsQueryParam; |
||||
import com.biutag.supervision.service.NewsService; |
||||
import lombok.RequiredArgsConstructor; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2024/12/31 |
||||
*/ |
||||
@RequiredArgsConstructor |
||||
@RequestMapping("news") |
||||
@RestController |
||||
public class NewsController { |
||||
|
||||
private final NewsService newsService; |
||||
|
||||
@GetMapping |
||||
public Result<Page<News>> list(NewsQueryParam param) { |
||||
LambdaQueryWrapper<News> queryWrapper = new LambdaQueryWrapper<>(); |
||||
if (param != null && param.getReleaseTime().size() == 2) { |
||||
queryWrapper.between(News::getReleaseTime, param.getReleaseTime().get(0), param.getReleaseTime().get(1)); |
||||
} |
||||
queryWrapper.eq(StrUtil.isNotBlank(param.getSource()), News::getSource, param.getSource()) |
||||
.eq(StrUtil.isNotBlank(param.getWorkType()), News::getSource, param.getWorkType()) |
||||
.like(StrUtil.isNotBlank(param.getContentTxt()), News::getContentTxt, param.getContentTxt()) |
||||
.orderByDesc(News::getCreateTime); |
||||
Page<News> page = newsService.page(Page.of(param.getCurrent(), param.getSize()), queryWrapper); |
||||
return Result.success(page); |
||||
} |
||||
|
||||
@PostMapping |
||||
public Result<Void> add(@RequestBody News data) { |
||||
data.setUpdateTime(LocalDateTime.now()); |
||||
data.setCreateTime(LocalDateTime.now()); |
||||
newsService.save(data); |
||||
return Result.success(); |
||||
} |
||||
|
||||
@PutMapping |
||||
public Result<Void> update(@RequestBody News data) { |
||||
data.setUpdateTime(LocalDateTime.now()); |
||||
newsService.updateById(data); |
||||
return Result.success(); |
||||
} |
||||
|
||||
@DeleteMapping("{id}") |
||||
public Result<Void> del(@PathVariable Integer id) { |
||||
newsService.removeById(id); |
||||
return Result.success(); |
||||
} |
||||
} |
||||
@ -1,8 +1,14 @@
|
||||
package com.biutag.supervision.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.biutag.supervision.pojo.entity.DataAlarmDispositionInfo; |
||||
import com.biutag.supervision.pojo.vo.VideoInspectionVo; |
||||
import org.apache.ibatis.annotations.Param; |
||||
|
||||
public interface DataAlarmDispositionInfoMapper extends BaseMapper<DataAlarmDispositionInfo> { |
||||
|
||||
Page<VideoInspectionVo> queryPage(@Param("page") Page<DataAlarmDispositionInfo> page, @Param("ew") QueryWrapper<DataAlarmDispositionInfo> ew); |
||||
|
||||
} |
||||
@ -0,0 +1,13 @@
|
||||
package com.biutag.supervision.mapper; |
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.biutag.supervision.pojo.entity.mailbox.Mail; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2024/12/31 |
||||
*/ |
||||
@DS("mailbox") |
||||
public interface MailMapper extends BaseMapper<Mail> { |
||||
} |
||||
@ -0,0 +1,8 @@
|
||||
package com.biutag.supervision.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.biutag.supervision.pojo.entity.News; |
||||
|
||||
public interface NewsMapper extends BaseMapper<News> { |
||||
|
||||
} |
||||
@ -0,0 +1,8 @@
|
||||
package com.biutag.supervision.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.biutag.supervision.pojo.entity.SupDictProblemTypeMaping; |
||||
|
||||
public interface SupDictProblemTypeMapingMapper extends BaseMapper<SupDictProblemTypeMaping> { |
||||
|
||||
} |
||||
@ -0,0 +1,556 @@
|
||||
package com.biutag.supervision.pojo.dto; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2025/1/2 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class DataPetition12337ExportDto { |
||||
|
||||
/** |
||||
* 外网线索编号 |
||||
*/ |
||||
@ExcelProperty("外网线索编号") |
||||
private String externalId; |
||||
|
||||
/** |
||||
* 内网线索编号 |
||||
*/ |
||||
@ExcelProperty("内网线索编号") |
||||
private String innerId; |
||||
|
||||
/** |
||||
* 单机版线索编号 |
||||
*/ |
||||
@ExcelProperty("单机版线索编号") |
||||
private String standAlone; |
||||
|
||||
/** |
||||
* 信息受理登记时间 |
||||
*/ |
||||
@ExcelProperty("信息受理登记时间") |
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd") |
||||
private Date discoverTime; |
||||
|
||||
/** |
||||
* 线索来源 |
||||
*/ |
||||
@ExcelProperty("线索来源") |
||||
private String letterSource; |
||||
|
||||
/** |
||||
* 举报人姓名 |
||||
*/ |
||||
@ExcelProperty("举报人姓名") |
||||
private String name; |
||||
|
||||
/** |
||||
* 手机号码 |
||||
*/ |
||||
@ExcelProperty("手机号码") |
||||
private String phone; |
||||
|
||||
/** |
||||
* 身份证号 |
||||
*/ |
||||
@ExcelProperty("身份证号") |
||||
private String idCode; |
||||
|
||||
/** |
||||
* 举报人(省) |
||||
*/ |
||||
@ExcelProperty("举报人(省)") |
||||
private String reporterProvincial; |
||||
|
||||
/** |
||||
* 举报人(市) |
||||
*/ |
||||
@ExcelProperty("举报人(市)") |
||||
private String reporterCity; |
||||
|
||||
/** |
||||
* 举报人(县) |
||||
*/ |
||||
@ExcelProperty("举报人(县)") |
||||
private String reporterCounty; |
||||
|
||||
/** |
||||
* 现住地详址 |
||||
*/ |
||||
@ExcelProperty("现住地详址") |
||||
private String address; |
||||
|
||||
/** |
||||
* 是否政法干警 |
||||
*/ |
||||
@ExcelProperty("是否政法干警") |
||||
private String isLawPolice; |
||||
|
||||
/** |
||||
* 被举报人姓名 |
||||
*/ |
||||
@ExcelProperty("被举报人姓名") |
||||
private String reportedName; |
||||
|
||||
/** |
||||
* 所属系统 |
||||
*/ |
||||
@ExcelProperty("所属系统") |
||||
private String belongSystem; |
||||
|
||||
/** |
||||
* 人员类别 |
||||
*/ |
||||
@ExcelProperty("人员类别") |
||||
private String personType; |
||||
|
||||
/** |
||||
* 被举报人所在地(省) |
||||
*/ |
||||
@ExcelProperty("被举报人所在地(省)") |
||||
private String reportedProvincial; |
||||
|
||||
/** |
||||
* 被举报人所在地(市) |
||||
*/ |
||||
@ExcelProperty("被举报人所在地(市)") |
||||
private String reportedCity; |
||||
|
||||
/** |
||||
* 被举报人所在地(县) |
||||
*/ |
||||
@ExcelProperty("被举报人所在地(县)") |
||||
private String reportedCounty; |
||||
|
||||
/** |
||||
* 单位名称 |
||||
*/ |
||||
@ExcelProperty("单位名称") |
||||
private String orgName; |
||||
|
||||
/** |
||||
* 被举报单位名称 |
||||
*/ |
||||
@ExcelProperty("被举报单位名称") |
||||
private String reportedOrgName; |
||||
|
||||
/** |
||||
* 所属系统 |
||||
*/ |
||||
@ExcelProperty("所属系统") |
||||
private String reportedOrgBelong; |
||||
|
||||
/** |
||||
* 被举报单位所在地(省) |
||||
*/ |
||||
@ExcelProperty("被举报单位所在地(省)") |
||||
private String reportedOrgProvincial; |
||||
|
||||
/** |
||||
* 被举报单位所在地(市) |
||||
*/ |
||||
@ExcelProperty("被举报单位所在地(市)") |
||||
private String reportedOrgCity; |
||||
|
||||
/** |
||||
* 被举报单位所在地(县) |
||||
*/ |
||||
@ExcelProperty("被举报单位所在地(县)") |
||||
private String reportedOrgCounty; |
||||
|
||||
/** |
||||
* 单位所属层级 |
||||
*/ |
||||
@ExcelProperty("单位所属层级") |
||||
private String reportedOrgLevel; |
||||
|
||||
/** |
||||
* 涉嫌违纪问题项目 |
||||
*/ |
||||
@ExcelProperty("涉嫌违纪问题项目") |
||||
private String againstProProject; |
||||
|
||||
/** |
||||
* 涉嫌贪污贿赂类犯罪 |
||||
*/ |
||||
@ExcelProperty("涉嫌贪污贿赂类犯罪") |
||||
private String corruptionGuilt; |
||||
|
||||
/** |
||||
* 涉嫌渎职类犯罪 |
||||
*/ |
||||
@ExcelProperty("涉嫌渎职类犯罪") |
||||
private String omissionGuilt; |
||||
|
||||
/** |
||||
* 涉嫌侵犯公民人身权利类犯罪 |
||||
*/ |
||||
@ExcelProperty("涉嫌侵犯公民人身权利类犯罪") |
||||
private String invadeEntitlementGuilt; |
||||
|
||||
/** |
||||
* 涉嫌侵犯财产类犯罪 |
||||
*/ |
||||
@ExcelProperty("涉嫌侵犯财产类犯罪") |
||||
private String invadeFinanceGuilt; |
||||
|
||||
/** |
||||
* 其他 |
||||
*/ |
||||
@ExcelProperty("其他") |
||||
private String otherGuilt; |
||||
|
||||
/** |
||||
* 顽瘴痼疾项目 |
||||
*/ |
||||
@ExcelProperty("顽瘴痼疾项目") |
||||
private String hardProProject; |
||||
|
||||
/** |
||||
* 涉嫌违纪违法事项 |
||||
*/ |
||||
@ExcelProperty("涉嫌违纪违法事项") |
||||
private String wjwfProject; |
||||
|
||||
/** |
||||
* 转办时间 |
||||
*/ |
||||
@ExcelProperty("转办时间") |
||||
private String passTime; |
||||
|
||||
/** |
||||
* 转办单位 |
||||
*/ |
||||
@ExcelProperty("转办单位") |
||||
private String passOrg; |
||||
|
||||
/** |
||||
* 核查时间 |
||||
*/ |
||||
@ExcelProperty("核查时间") |
||||
private String reviewTime; |
||||
|
||||
/** |
||||
* 核查单位 |
||||
*/ |
||||
@ExcelProperty("核查单位") |
||||
private String reviewOrg; |
||||
|
||||
/** |
||||
* 核查人 |
||||
*/ |
||||
@ExcelProperty("核查人") |
||||
private String reviewPersonName; |
||||
|
||||
/** |
||||
* 核查人联系方式 |
||||
*/ |
||||
@ExcelProperty("核查人联系方式") |
||||
private String reviewPersonPhone; |
||||
|
||||
/** |
||||
* 被核查人类别 |
||||
*/ |
||||
@ExcelProperty("被核查人类别") |
||||
private String reviewedPersonType; |
||||
|
||||
/** |
||||
* 被核查人是否属于领导班子成员 |
||||
*/ |
||||
@ExcelProperty("被核查人是否属于领导班子成员") |
||||
private String reviewedPersonIsleader; |
||||
|
||||
/** |
||||
* 是否核查完结 |
||||
*/ |
||||
@ExcelProperty("是否核查完结") |
||||
private String reviewedIsover; |
||||
|
||||
/** |
||||
* 核查简要情况 |
||||
*/ |
||||
@ExcelProperty("核查简要情况") |
||||
private String reviewDes; |
||||
|
||||
/** |
||||
* 办理结果 |
||||
*/ |
||||
@ExcelProperty("办理结果") |
||||
private String processResult; |
||||
|
||||
/** |
||||
* 是否进行线索初核 |
||||
*/ |
||||
@ExcelProperty("是否进行线索初核") |
||||
private String isFirstView; |
||||
|
||||
/** |
||||
* 核查组组长 |
||||
*/ |
||||
@ExcelProperty("核查组组长") |
||||
private String reviewLeader; |
||||
|
||||
/** |
||||
* (核查组组长)联系方式 |
||||
*/ |
||||
@ExcelProperty("(核查组组长)联系方式") |
||||
private String reviewLeaderPhone; |
||||
|
||||
/** |
||||
* 初核情况 |
||||
*/ |
||||
@ExcelProperty("初核情况") |
||||
private String firstViewDes; |
||||
|
||||
/** |
||||
* 是否立案审查调查 |
||||
*/ |
||||
@ExcelProperty("是否立案审查调查") |
||||
private String isRegisterCase; |
||||
|
||||
/** |
||||
* 立案审查调查情况 |
||||
*/ |
||||
@ExcelProperty("立案审查调查情况") |
||||
private String registerCaseDes; |
||||
|
||||
/** |
||||
* 是否处分处理 |
||||
*/ |
||||
@ExcelProperty("是否处分处理") |
||||
private String isPunish; |
||||
|
||||
/** |
||||
* 处理结论形态 |
||||
*/ |
||||
@ExcelProperty("处理结论形态") |
||||
private String processResType; |
||||
|
||||
/** |
||||
* 处理结论结果 |
||||
*/ |
||||
@ExcelProperty("处理结论结果") |
||||
private String processResDes; |
||||
|
||||
/** |
||||
* 处分处理情况 |
||||
*/ |
||||
@ExcelProperty("处分处理情况") |
||||
private String punishDes; |
||||
|
||||
/** |
||||
* 是否适用自查从宽政策 |
||||
*/ |
||||
@ExcelProperty("是否适用自查从宽政策") |
||||
private String isTolerant; |
||||
|
||||
/** |
||||
* 是否办结 |
||||
*/ |
||||
@ExcelProperty("是否办结") |
||||
private String isOver; |
||||
|
||||
/** |
||||
* 联系时间 |
||||
*/ |
||||
@ExcelProperty("联系时间") |
||||
private String contactTime; |
||||
|
||||
/** |
||||
* 联系单位 |
||||
*/ |
||||
@ExcelProperty("联系单位") |
||||
private String contactOrg; |
||||
|
||||
/** |
||||
* 联系人 |
||||
*/ |
||||
@ExcelProperty("联系人") |
||||
private String contactPersonName; |
||||
|
||||
/** |
||||
* 联系方式 |
||||
*/ |
||||
@ExcelProperty("联系方式") |
||||
private String contactType; |
||||
|
||||
/** |
||||
* 与举报人联系沟通详情 |
||||
*/ |
||||
@ExcelProperty("与举报人联系沟通详情") |
||||
private String contactReporterDes; |
||||
|
||||
/** |
||||
* 超期未反馈原因 |
||||
*/ |
||||
@ExcelProperty("超期未反馈原因") |
||||
private String overtimeReason; |
||||
|
||||
/** |
||||
* 是否申请异议 |
||||
*/ |
||||
@ExcelProperty("是否申请异议") |
||||
private String isDissent; |
||||
|
||||
/** |
||||
* 目标省份 |
||||
*/ |
||||
@ExcelProperty("目标省份") |
||||
private String aimProvincial; |
||||
|
||||
/** |
||||
* 申请人 |
||||
*/ |
||||
@ExcelProperty("申请人") |
||||
private String applyPersonName; |
||||
|
||||
/** |
||||
* 联系方式 |
||||
*/ |
||||
@ExcelProperty("联系方式") |
||||
private String applyPersonPhone; |
||||
|
||||
/** |
||||
* 申请原因 |
||||
*/ |
||||
@ExcelProperty("申请原因") |
||||
private String applyReason; |
||||
|
||||
/** |
||||
* 异议处理方式 |
||||
*/ |
||||
@ExcelProperty("异议处理方式") |
||||
private String dissentHandle; |
||||
|
||||
/** |
||||
* 处理说明 |
||||
*/ |
||||
@ExcelProperty("处理说明") |
||||
private String dissentHandleExplain; |
||||
|
||||
/** |
||||
* 是否存在附件 |
||||
*/ |
||||
@ExcelProperty("是否存在附件") |
||||
private String isAnnex; |
||||
|
||||
/** |
||||
* 附件文件名 |
||||
*/ |
||||
@ExcelProperty("附件文件名") |
||||
private String annexName; |
||||
|
||||
/** |
||||
* 线索举报时间 |
||||
*/ |
||||
@ExcelProperty("线索举报时间") |
||||
private String reportTime; |
||||
|
||||
/** |
||||
* 导入时间 |
||||
*/ |
||||
@ExcelProperty("导入时间") |
||||
private String enterTime; |
||||
|
||||
/** |
||||
* 分发时间 |
||||
*/ |
||||
@ExcelProperty("分发时间") |
||||
private String distributeTime; |
||||
|
||||
/** |
||||
* 是否违纪违法线索 |
||||
*/ |
||||
@ExcelProperty("是否违纪违法线索") |
||||
private String isAgainstClue; |
||||
|
||||
/** |
||||
* 是否涉法涉诉线索 |
||||
*/ |
||||
@ExcelProperty("是否涉法涉诉线索") |
||||
private String isAppealClue; |
||||
|
||||
/** |
||||
* 是否范围外线索 |
||||
*/ |
||||
@ExcelProperty("是否范围外线索") |
||||
private String isOverroundClue; |
||||
|
||||
/** |
||||
* 是否无效线索 |
||||
*/ |
||||
@ExcelProperty("是否无效线索") |
||||
private String isInvalidClue; |
||||
|
||||
/** |
||||
* 是否重点线索 |
||||
*/ |
||||
@ExcelProperty("是否重点线索") |
||||
private String isImportantClue; |
||||
|
||||
/** |
||||
* 线索是否重复 |
||||
*/ |
||||
@ExcelProperty("线索是否重复") |
||||
private String isRepeatClue; |
||||
|
||||
/** |
||||
* 重复线索组别 |
||||
*/ |
||||
@ExcelProperty("重复线索组别") |
||||
private String repeatClueType; |
||||
|
||||
/** |
||||
* 线索是否进行了机筛 |
||||
*/ |
||||
@ExcelProperty("线索是否进行了机筛") |
||||
private String isMachine; |
||||
|
||||
/** |
||||
* 机筛线索时间 |
||||
*/ |
||||
@ExcelProperty("机筛线索时间") |
||||
private String machineTme; |
||||
|
||||
/** |
||||
* 线索是否经过人工筛查 |
||||
*/ |
||||
@ExcelProperty("线索是否经过人工筛查") |
||||
private String isPerson; |
||||
|
||||
/** |
||||
* 人工筛查线索时间 |
||||
*/ |
||||
@ExcelProperty("人工筛查线索时间") |
||||
private String personTime; |
||||
|
||||
/** |
||||
* 是否关注线索 |
||||
*/ |
||||
@ExcelProperty("是否关注线索") |
||||
private String isCare; |
||||
|
||||
/** |
||||
* 关注时间 |
||||
*/ |
||||
@ExcelProperty("关注时间") |
||||
private String careTime; |
||||
|
||||
/** |
||||
* 操作时间 |
||||
*/ |
||||
@ExcelProperty("操作时间") |
||||
private String handleTime; |
||||
|
||||
@ExcelProperty("唯一编号") |
||||
private String negativeId; |
||||
|
||||
} |
||||
@ -0,0 +1,68 @@
|
||||
package com.biutag.supervision.pojo.dto; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelIgnore; |
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
@Schema(description = "信访投诉") |
||||
@Setter |
||||
@Getter |
||||
public class DataPetitionComplaintGjImportDto { |
||||
|
||||
// 信件编号
|
||||
@ExcelProperty({"信访件编号"}) |
||||
private String originId; |
||||
|
||||
// 信访日期
|
||||
@ExcelProperty({"信访日期"}) |
||||
private String discoveryTime; |
||||
|
||||
// 投诉人
|
||||
@ExcelProperty({"姓名"}) |
||||
private String responderName; |
||||
|
||||
// 投诉人
|
||||
@ExcelProperty({"信访人住址"}) |
||||
private String responderAddress; |
||||
|
||||
// 投诉人
|
||||
@ExcelProperty({"身份证号码"}) |
||||
private String responderIdCode; |
||||
|
||||
// 手机号码
|
||||
@ExcelProperty({"手机号码"}) |
||||
private String responderPhone; |
||||
|
||||
// 问题属地
|
||||
@ExcelProperty({"问题属地"}) |
||||
private String occurred; |
||||
|
||||
// 信访形式
|
||||
@ExcelProperty({"信访形式"}) |
||||
private String channelForFilingComplaints; |
||||
|
||||
@ExcelProperty({"信访人数"}) |
||||
private Integer peopleNumber; |
||||
|
||||
// 信访内容
|
||||
@ExcelProperty({"投诉内容"}) |
||||
private String thingDesc; |
||||
|
||||
// 初重信访
|
||||
@ExcelProperty("是否重信") |
||||
private String initialPetition; |
||||
|
||||
// 业务类别
|
||||
@ExcelProperty({"内容分类"}) |
||||
private String businessTypeName; |
||||
|
||||
@ExcelProperty({"去向机构"}) |
||||
private String handleDepartName; |
||||
|
||||
@ExcelIgnore |
||||
private String departId; |
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,56 @@
|
||||
package com.biutag.supervision.pojo.dto.plugin; |
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2025/1/6 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class CaseVerifPluginDto { |
||||
|
||||
// 案件编号
|
||||
private String caseNumber; |
||||
|
||||
// 投诉渠道
|
||||
private String caseSource; |
||||
|
||||
// 受理时间
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss") |
||||
private LocalDateTime complaintTime; |
||||
|
||||
// 投诉人
|
||||
private String reporterName; |
||||
|
||||
// 电话
|
||||
private String reporterContact; |
||||
|
||||
// 被投诉机构
|
||||
private String verifiedObjectUnit; |
||||
|
||||
// 涉及人员姓名
|
||||
private String verifiedObjectName; |
||||
|
||||
// 涉及人员身份
|
||||
private String verifiedObjectPosition; |
||||
|
||||
// 具体内容
|
||||
private String briefCase; |
||||
|
||||
// 被投诉所队
|
||||
private String organization; |
||||
|
||||
// 问题类型
|
||||
private String complaintIssueNature; |
||||
|
||||
// 受理层级
|
||||
private String acceptanceLevel; |
||||
|
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,45 @@
|
||||
package com.biutag.supervision.pojo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
@Setter |
||||
@Getter |
||||
public class News { |
||||
|
||||
//
|
||||
@TableId(value = "id", type = IdType.AUTO) |
||||
private Integer id; |
||||
|
||||
// 动态来源
|
||||
@TableField("source") |
||||
private String source; |
||||
|
||||
// 动态分类
|
||||
@TableField("work_type") |
||||
private String workType; |
||||
|
||||
// 发布时间
|
||||
@TableField("release_time") |
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm") |
||||
private LocalDateTime releaseTime; |
||||
|
||||
//
|
||||
@TableField("create_time") |
||||
private LocalDateTime createTime; |
||||
|
||||
//
|
||||
@TableField("update_time") |
||||
private LocalDateTime updateTime; |
||||
|
||||
//
|
||||
@TableField("content_txt") |
||||
private String contentTxt; |
||||
|
||||
} |
||||
@ -0,0 +1,41 @@
|
||||
package com.biutag.supervision.pojo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
@Setter |
||||
@Getter |
||||
public class SupDictProblemTypeMaping { |
||||
|
||||
//
|
||||
@TableId(value = "id", type = IdType.AUTO) |
||||
private Integer id; |
||||
|
||||
//
|
||||
@TableField("external_name") |
||||
private String externalName; |
||||
|
||||
//
|
||||
@TableField("internal_name") |
||||
private String internalName; |
||||
|
||||
//
|
||||
@TableField("internal_id") |
||||
private String internalId; |
||||
|
||||
//
|
||||
@TableField("create_time") |
||||
private LocalDateTime createTime; |
||||
|
||||
//
|
||||
@TableField("update_time") |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
||||
private LocalDateTime updateTime; |
||||
|
||||
} |
||||
@ -0,0 +1,408 @@
|
||||
package com.biutag.supervision.pojo.entity.mailbox; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
import lombok.experimental.Accessors; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
@Accessors(chain = true) |
||||
@Setter |
||||
@Getter |
||||
public class Mail { |
||||
|
||||
@TableId |
||||
private String id; |
||||
|
||||
/** |
||||
* 联系人姓名 |
||||
*/ |
||||
private String contactName; |
||||
/** |
||||
* 联系人性别 M / F |
||||
*/ |
||||
private String contactSex; |
||||
/** |
||||
* 联系人身份证号码 |
||||
*/ |
||||
private String contactIdCard; |
||||
/** |
||||
* 联系人手机号 |
||||
*/ |
||||
private String contactPhone; |
||||
/** |
||||
* 案件编号 |
||||
*/ |
||||
private String caseNumber; |
||||
/** |
||||
* 内容 |
||||
*/ |
||||
private String content; |
||||
/** |
||||
* 附件 |
||||
*/ |
||||
private String attachments; |
||||
/** |
||||
* 创建时间 |
||||
*/ |
||||
private LocalDateTime createTime; |
||||
/** |
||||
* 更新时间 |
||||
*/ |
||||
private LocalDateTime updateTime; |
||||
/** |
||||
* 来信时间 |
||||
*/ |
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private LocalDateTime mailTime; |
||||
|
||||
/** |
||||
* 来源 |
||||
*/ |
||||
private String source; |
||||
|
||||
/** |
||||
* 满意读(网络) |
||||
*/ |
||||
private String satisfaction; |
||||
|
||||
/** |
||||
* 满意读(短信) |
||||
*/ |
||||
private String satisfactionSms; |
||||
|
||||
/*-------------------------------*/ |
||||
|
||||
/** |
||||
* 信件状态 |
||||
*/ |
||||
private String mailState; |
||||
/** |
||||
* 信件当前流程 |
||||
*/ |
||||
private String flowKey; |
||||
/** |
||||
* 信件当前流程节点 |
||||
*/ |
||||
private String flowBeforeName; |
||||
|
||||
private String flowName; |
||||
|
||||
/** |
||||
* 流程限时最后操作时间 |
||||
*/ |
||||
private LocalDateTime flowLimitedLastHandlerTime; |
||||
|
||||
/** |
||||
* 信件源数据ID (多个) |
||||
*/ |
||||
private String mailSourceId; |
||||
|
||||
/** |
||||
* 信件类名 |
||||
*/ |
||||
private String mailCategory; |
||||
/** |
||||
* 信件一级类目 |
||||
*/ |
||||
private String mailFirstCategory; |
||||
/** |
||||
* 信件二级类目 |
||||
*/ |
||||
private String mailSecondCategory; |
||||
/** |
||||
* 信件三级类目 |
||||
*/ |
||||
private String mailThreeCategory; |
||||
/** |
||||
* 信件等级 |
||||
*/ |
||||
private String mailLevel; |
||||
|
||||
/** |
||||
* 二级单位ID(主责) |
||||
*/ |
||||
private Integer secondDeptId; |
||||
|
||||
private String secondDeptName; |
||||
|
||||
/** |
||||
* 三级单位ID(主责) |
||||
*/ |
||||
private Integer threeDeptId; |
||||
|
||||
private String threeDeptName; |
||||
|
||||
/** |
||||
* 协办核查民警(String) |
||||
*/ |
||||
private String coHandlingPolices; |
||||
/** |
||||
* 联系民警名称 |
||||
*/ |
||||
private String contactPoliceName; |
||||
/** |
||||
* 联系民警 |
||||
*/ |
||||
private String contactPoliceEmpNo; |
||||
|
||||
/** |
||||
* 联系民警职位 |
||||
*/ |
||||
private String contactPolicePost; |
||||
|
||||
/** |
||||
* 联系群众时间 |
||||
*/ |
||||
private LocalDateTime contactTime; |
||||
|
||||
/** |
||||
* 联系时长(秒) |
||||
*/ |
||||
private Long contactDuration; |
||||
|
||||
/** |
||||
* 是否联系群众 |
||||
*/ |
||||
private Boolean contactFlag; |
||||
|
||||
/** |
||||
* 接访形式 |
||||
*/ |
||||
private String interviewType; |
||||
/** |
||||
* 是否接访一把手 |
||||
*/ |
||||
private Boolean interviewIsLeader; |
||||
/** |
||||
* 接访人员警号 |
||||
*/ |
||||
private String interviewPoliceEmpNo; |
||||
/** |
||||
* 接访人员姓名 |
||||
*/ |
||||
private String interviewPoliceName; |
||||
/** |
||||
* 接访情况 |
||||
*/ |
||||
private String interviewDetails; |
||||
/** |
||||
* 接访附件(佐证材料) |
||||
*/ |
||||
private String interviewAttachments; |
||||
/** |
||||
* 核办情况 |
||||
*/ |
||||
private String verifyDetails; |
||||
/** |
||||
* 核办-是否属实 |
||||
*/ |
||||
private String verifyIsTrue; |
||||
/** |
||||
* 核办-被举报对象(json) |
||||
*/ |
||||
private String verifyReportedPolices; |
||||
/** |
||||
* 核办-查证属实问题(json) |
||||
*/ |
||||
private String verifyProblem; |
||||
/** |
||||
* 核办-是否需要问责 |
||||
*/ |
||||
private Boolean verifyNeedAccountability; |
||||
/** |
||||
* 核办-责任追究(json) |
||||
*/ |
||||
private String verifyPunish; |
||||
|
||||
/** |
||||
* 核办-群众反映事项解决情况(是否已解决) |
||||
*/ |
||||
private Boolean verifyIsResolved; |
||||
|
||||
/** |
||||
* 核办-办理反馈情况 |
||||
*/ |
||||
private String verifyFeedback; |
||||
|
||||
/** |
||||
* 核办-回访人信息(String) |
||||
*/ |
||||
private String verifyFollowupPolice; |
||||
|
||||
/** |
||||
* 核办-附件(上传佐证) |
||||
*/ |
||||
private String verifyAttachments; |
||||
|
||||
/** |
||||
* 办结方式 |
||||
*/ |
||||
private String completeMethod; |
||||
|
||||
/** |
||||
* 办理合格情况 |
||||
*/ |
||||
private String qualifiedProcessingStatus; |
||||
|
||||
/** |
||||
* 问题解决情况 |
||||
*/ |
||||
private Boolean problemSolvingStatus; |
||||
|
||||
/** |
||||
* 群众回复情况 |
||||
*/ |
||||
private String satisfactionStatus; |
||||
|
||||
|
||||
/** |
||||
* 认定办结意见 |
||||
*/ |
||||
private String completionComment; |
||||
|
||||
/** |
||||
* 是否是简易流程 |
||||
*/ |
||||
private Boolean simpleFlowFlag; |
||||
|
||||
/** |
||||
* 涉及单位ID |
||||
*/ |
||||
private Integer involvedDeptId; |
||||
|
||||
/** |
||||
* 涉及单位名称 |
||||
*/ |
||||
private String involvedDeptName; |
||||
|
||||
/** |
||||
* 会签部门总数 |
||||
*/ |
||||
private Integer countersignTotal; |
||||
|
||||
/** |
||||
* 会签完成部门数量 |
||||
*/ |
||||
private Integer countersignCompleted; |
||||
|
||||
/** |
||||
* 会签发起人 |
||||
*/ |
||||
private String countersignPromoterEmpNo; |
||||
|
||||
/** |
||||
* 会签发起姓名 |
||||
*/ |
||||
private String countersignPromoterName; |
||||
|
||||
/** |
||||
* 会签发起部门ID |
||||
*/ |
||||
private Integer countersignPromoterDeptId; |
||||
|
||||
/** |
||||
* 会签发起部门名称 |
||||
*/ |
||||
private String countersignPromoterDeptName; |
||||
|
||||
/** |
||||
* 会签具体要求 |
||||
*/ |
||||
private String countersignRequirement; |
||||
|
||||
/** |
||||
* 信件标签 |
||||
*/ |
||||
private String mailLabels; |
||||
|
||||
/** |
||||
* 当前操作对象 |
||||
*/ |
||||
private String currentOperator; |
||||
|
||||
/** |
||||
* 申请延期ID |
||||
*/ |
||||
private String extensionRequestId; |
||||
|
||||
/** |
||||
* 是否申请延期 |
||||
*/ |
||||
private Boolean extensionFlag; |
||||
|
||||
/** |
||||
* 延期天数 |
||||
*/ |
||||
private Integer extensionDays; |
||||
|
||||
/** |
||||
* 延期理由 |
||||
*/ |
||||
private String extensionReason; |
||||
|
||||
/** |
||||
* 延期状态 |
||||
*/ |
||||
private String extensionState; |
||||
|
||||
/** |
||||
* 无效判定理由 |
||||
*/ |
||||
private String invalidationReason; |
||||
|
||||
/** |
||||
* 市局下发信息 |
||||
*/ |
||||
private String firstDistributeInfo; |
||||
|
||||
/** |
||||
* 二级单位下发信息 |
||||
*/ |
||||
private String secondDistributeInfo; |
||||
|
||||
/** |
||||
* 主办层级 |
||||
*/ |
||||
private Integer mainDeptLevel; |
||||
|
||||
/** |
||||
* 信件后续审批流程 |
||||
*/ |
||||
private String returnOperate; |
||||
|
||||
/** |
||||
* 不满意原因 |
||||
*/ |
||||
private String notSatisfiedReason; |
||||
|
||||
/** |
||||
* 市局专班下发时间 |
||||
*/ |
||||
private LocalDateTime firstDistributeTime; |
||||
|
||||
/** |
||||
* 市局下发意见 |
||||
*/ |
||||
private String firstDistributeComment; |
||||
|
||||
/** |
||||
* 市局下发意见 |
||||
*/ |
||||
private String firstDistributeFiles; |
||||
|
||||
/** |
||||
* 二级机构下发意见 |
||||
*/ |
||||
private String secondDistributeComment; |
||||
|
||||
private String secondDistributeFiles; |
||||
|
||||
/** |
||||
* 二级机构下发时间 |
||||
*/ |
||||
private LocalDateTime secondDistributeTime; |
||||
|
||||
} |
||||
@ -0,0 +1,28 @@
|
||||
package com.biutag.supervision.pojo.param; |
||||
|
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2024/12/31 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class NewsQueryParam extends BasePage { |
||||
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private List<Date> releaseTime = new ArrayList<>(); |
||||
|
||||
private String source; |
||||
|
||||
// 动态分类
|
||||
private String workType; |
||||
|
||||
private String contentTxt; |
||||
} |
||||
@ -0,0 +1,19 @@
|
||||
package com.biutag.supervision.pojo.param; |
||||
|
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2025/1/2 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class VideoInspectionQueryParam extends BasePage { |
||||
|
||||
// 预警类型
|
||||
private String systemKeyName; |
||||
|
||||
// 案事件名称
|
||||
private String title; |
||||
} |
||||
@ -0,0 +1,82 @@
|
||||
package com.biutag.supervision.pojo.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.format.DateTimeFormat; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2024/12/27 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class DataPetitionComplaintExportGabxfVo { |
||||
|
||||
@ExcelProperty({"基本信息", "序号"}) |
||||
private Integer index; |
||||
|
||||
// 投诉渠道
|
||||
@ExcelProperty({"基本信息", "投诉渠道"}) |
||||
private String channelForFilingComplaints; |
||||
|
||||
// 信件编号
|
||||
@ExcelProperty({"基本信息", "信访件编号"}) |
||||
private String originId; |
||||
|
||||
// 受理层级
|
||||
@ExcelProperty({"基本信息", "受理层级"}) |
||||
private String acceptanceLevel; |
||||
|
||||
// 信访日期
|
||||
@ExcelProperty({"基本信息", "受理时间"}) |
||||
@DateTimeFormat("yyyy年MM月dd日") |
||||
private LocalDateTime discoveryTime; |
||||
|
||||
// 投诉人
|
||||
@ExcelProperty({"基本信息", "投诉人"}) |
||||
private String responderName; |
||||
|
||||
// 手机号码
|
||||
@ExcelProperty({"基本信息", "投诉人电话"}) |
||||
private String responderPhone; |
||||
|
||||
// 被投诉机构
|
||||
@ExcelProperty({"基本信息", "被投诉机构"}) |
||||
private String secondDepartName; |
||||
|
||||
// 具体内容
|
||||
@ExcelProperty({"基本信息", "具体内容"}) |
||||
private String thingDesc; |
||||
|
||||
// 问题类别
|
||||
@ExcelProperty({"基本信息", "问题类别"}) |
||||
private String wtlb; |
||||
|
||||
// 业务类别
|
||||
@ExcelProperty({"基本信息", "业务类别"}) |
||||
private String ywlb; |
||||
|
||||
//
|
||||
@ExcelProperty({"处置情况", "情况反馈"}) |
||||
private String qkfk; |
||||
|
||||
//
|
||||
@ExcelProperty({"处置情况", "涉及二级机构及所队"}) |
||||
private String sjejsd; |
||||
|
||||
//
|
||||
@ExcelProperty({"处置情况", "涉及人员姓名"}) |
||||
private String ryxm; |
||||
|
||||
//
|
||||
@ExcelProperty({"处置情况", "涉及人员身份"}) |
||||
private String rysf; |
||||
|
||||
// 初重信访
|
||||
@ExcelProperty({"", "初重信访"}) |
||||
private String initialPetition; |
||||
|
||||
} |
||||
@ -0,0 +1,13 @@
|
||||
package com.biutag.supervision.pojo.vo; |
||||
|
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2025/1/2 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class VideoInspectionInfo { |
||||
} |
||||
@ -0,0 +1,29 @@
|
||||
package com.biutag.supervision.pojo.vo; |
||||
|
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2025/1/2 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
public class VideoInspectionVo { |
||||
|
||||
// 预警级别
|
||||
private String alarmLevel; |
||||
|
||||
// 预警类别
|
||||
private String systemKeyName; |
||||
|
||||
// 预警时间
|
||||
private String rqsj; |
||||
|
||||
// 案事件名称
|
||||
private String title; |
||||
|
||||
// 发生单位名称
|
||||
private String fsdwGajgmc; |
||||
|
||||
} |
||||
@ -0,0 +1,77 @@
|
||||
package com.biutag.supervision.service; |
||||
|
||||
import cn.hutool.core.util.StrUtil; |
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||
import com.biutag.supervision.constants.enums.DepartLevelEnum; |
||||
import com.biutag.supervision.mapper.DataPetitionComplaintMapper; |
||||
import com.biutag.supervision.pojo.entity.DataPetitionComplaint; |
||||
import com.biutag.supervision.pojo.entity.NegativeBlame; |
||||
import com.biutag.supervision.pojo.param.NegativeQueryParam; |
||||
import com.biutag.supervision.pojo.vo.DataPetitionComplaintNegativeVo; |
||||
import com.biutag.supervision.pojo.vo.DepartTree; |
||||
import lombok.RequiredArgsConstructor; |
||||
import org.springframework.stereotype.Service; |
||||
import org.springframework.web.bind.annotation.PathVariable; |
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
import java.util.stream.Collectors; |
||||
|
||||
/** |
||||
* @author wxc |
||||
* @date 2025/1/3 |
||||
*/ |
||||
@RequiredArgsConstructor |
||||
@Service |
||||
public class NegativeBookService { |
||||
|
||||
private final SupDepartService departService; |
||||
private final NegativeBlameService blameService; |
||||
private final DataPetitionComplaintMapper dataPetitionComplaintMapper; |
||||
|
||||
public Page<DataPetitionComplaintNegativeVo> pageByXf(@PathVariable String problemSourcesCode, NegativeQueryParam param) { |
||||
QueryWrapper<DataPetitionComplaint> queryWrapper = new QueryWrapper<>(); |
||||
queryWrapper.eq("pc.problem_sources_code", problemSourcesCode) |
||||
.in(!param.getProcessingStatus().isEmpty(), "n.Processing_Status", param.getProcessingStatus()) |
||||
.like(StrUtil.isNotBlank(param.getThingDesc()), "pc.Thing_Desc", param.getThingDesc()) |
||||
.like(StrUtil.isNotBlank(param.getCheckStatusDesc()), "n.checkStatusDesc", param.getCheckStatusDesc()) |
||||
.like(StrUtil.isNotBlank(param.getInitialPetition()), "pc.Initial_Petition", param.getInitialPetition()); |
||||
// 涉及单位
|
||||
if (StrUtil.isNotBlank(param.getInvolveDepartId())) { |
||||
List<String> departIds = departService.getAllNodeIds(param.getInvolveDepartId()); |
||||
queryWrapper.in("n.involveDepartId", departIds); |
||||
} |
||||
// 办理单位
|
||||
if (StrUtil.isNotBlank(param.getHandleDepartId())) { |
||||
List<DepartTree> nodes = departService.getAllNode(List.of(param.getHandleDepartId())); |
||||
List<String> secondIds = nodes.stream().filter(node -> DepartLevelEnum.SECOND.getValue().equals(node.getLevel())).map(DepartTree::getId).toList(); |
||||
if (!secondIds.isEmpty()) { |
||||
queryWrapper.in("n.Handle_second_depart_id", secondIds); |
||||
} else { |
||||
queryWrapper.in("n.Handle_three_depart_Id", nodes.stream().filter(node -> DepartLevelEnum.THREE.getValue().equals(node.getLevel())).map(DepartTree::getId).toList()); |
||||
} |
||||
} |
||||
if (StrUtil.isNotBlank(param.getBlameKey()) && StrUtil.isNotBlank(param.getBlameValue())) { |
||||
LambdaQueryWrapper<NegativeBlame> qw = new LambdaQueryWrapper<>(); |
||||
switch (param.getResponderKey()) { |
||||
case "name": |
||||
qw.like(NegativeBlame::getBlameName, param.getBlameValue()); |
||||
break; |
||||
case "empNo": |
||||
qw.like(NegativeBlame::getBlameEmpNo, param.getBlameValue()); |
||||
break; |
||||
case "idCode": |
||||
qw.like(NegativeBlame::getBlameIdCode, param.getBlameValue()); |
||||
break; |
||||
} |
||||
List<NegativeBlame> blames = blameService.list(qw); |
||||
if (blames.isEmpty()) { |
||||
return new Page<DataPetitionComplaintNegativeVo>().setTotal(0).setRecords(new ArrayList<>()); |
||||
} |
||||
queryWrapper.in("n.id", blames.stream().map(NegativeBlame::getNegativeId).collect(Collectors.toSet())); |
||||
} |
||||
return dataPetitionComplaintMapper.queryBooks(Page.of(param.getCurrent(), param.getSize()), queryWrapper); |
||||
} |
||||
} |
||||
@ -0,0 +1,11 @@
|
||||
package com.biutag.supervision.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.biutag.supervision.pojo.entity.News; |
||||
import com.biutag.supervision.mapper.NewsMapper; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
@Service |
||||
public class NewsService extends ServiceImpl<NewsMapper, News> { |
||||
|
||||
} |
||||
@ -0,0 +1,11 @@
|
||||
package com.biutag.supervision.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.biutag.supervision.pojo.entity.SupDictProblemTypeMaping; |
||||
import com.biutag.supervision.mapper.SupDictProblemTypeMapingMapper; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
@Service |
||||
public class SupDictProblemTypeMapingService extends ServiceImpl<SupDictProblemTypeMapingMapper, SupDictProblemTypeMaping> { |
||||
|
||||
} |
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.biutag.supervision.mapper.DataAlarmDispositionInfoMapper"> |
||||
|
||||
<select id="queryPage" resultType="com.biutag.supervision.pojo.vo.VideoInspectionVo"> |
||||
SELECT |
||||
d.alarmLevel alarm_Level, |
||||
d.systemKeyName system_Key_Name, |
||||
d.title, |
||||
i.rqsj, |
||||
i.FSDW_GAJGMC |
||||
FROM |
||||
data_alarm_disposition_info d |
||||
LEFT JOIN data_alarm_alarm_info i ON d.alarm_info_id = i.id |
||||
${ew.getCustomSqlSegment} |
||||
</select> |
||||
|
||||
</mapper> |
||||
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper |
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.biutag.supervision.mapper.NegativeTaskMapper"> |
||||
|
||||
<select id="selectGroupByDepart" resultType="com.biutag.supervision.pojo.model.ModelClueTaskDepartModel"> |
||||
SELECT |
||||
n.involveDepartId, |
||||
n.involveDepartName depart_name, |
||||
count( n.id ) size, |
||||
sum( CASE WHEN n.processing_status = 'completed' THEN 1 ELSE 0 END ) completed_size, |
||||
sum( CASE WHEN n.processing_status = 'completed' THEN 1 ELSE 0 END ) / count( n.id ) * 100 completed_rate, |
||||
sum( CASE WHEN n.checkStatus IN ( '1', '2' ) THEN 1 ELSE 0 END ) verify_size, |
||||
count( DISTINCT nb.blameIdCode ) personal_size |
||||
FROM |
||||
negative n |
||||
LEFT JOIN negative_blame nb ON n.id = nb.negativeId |
||||
AND type = 'personal' |
||||
WHERE |
||||
n.taskId = #{taskId} |
||||
GROUP BY |
||||
n.involveDepartId |
||||
</select> |
||||
|
||||
</mapper> |
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue