From bc56e1396bf9113e6aae5fc322d03516e0a1e80b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E7=88=B1=E5=AD=A6=E4=B9=A0=E7=9A=84=E7=9F=B3?= =?UTF-8?q?=E5=90=8C=E5=AD=A6?= <2936013465@qq.com> Date: Mon, 4 Nov 2024 12:39:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E8=AE=BF=E5=A4=A7=E5=B1=8F=E5=90=8E?= =?UTF-8?q?=E7=AB=AF1.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervision/constants/AppConstants.java | 2 +- .../mapper/DataPetition12337Mapper.java | 18 + .../pojo/entity/DataPetition12337.java | 505 ++++++++++++++++++ .../service/DataPetition12337ServiceImpl.java | 22 + .../service/DataPetitionComplaintService.java | 18 +- 5 files changed, 558 insertions(+), 7 deletions(-) create mode 100644 src/main/java/com/biutag/supervision/mapper/DataPetition12337Mapper.java create mode 100644 src/main/java/com/biutag/supervision/pojo/entity/DataPetition12337.java create mode 100644 src/main/java/com/biutag/supervision/service/DataPetition12337ServiceImpl.java diff --git a/src/main/java/com/biutag/supervision/constants/AppConstants.java b/src/main/java/com/biutag/supervision/constants/AppConstants.java index 18d145b..366f384 100644 --- a/src/main/java/com/biutag/supervision/constants/AppConstants.java +++ b/src/main/java/com/biutag/supervision/constants/AppConstants.java @@ -22,7 +22,7 @@ public class AppConstants { public static final String ROOT_DEPART_NAME = "长沙市公安局"; - // + public static final String SIGN_RETURN_ACTION_NAME = "已退回"; } diff --git a/src/main/java/com/biutag/supervision/mapper/DataPetition12337Mapper.java b/src/main/java/com/biutag/supervision/mapper/DataPetition12337Mapper.java new file mode 100644 index 0000000..98ee9cd --- /dev/null +++ b/src/main/java/com/biutag/supervision/mapper/DataPetition12337Mapper.java @@ -0,0 +1,18 @@ +package com.biutag.supervision.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.biutag.supervision.pojo.entity.DataPetition12337; + +/** +* @author 舒云 +* @description 针对表【data_petition_12337】的数据库操作Mapper +* @createDate 2024-11-04 10:50:37 +* @Entity generator.domain.DataPetition12337 +*/ +public interface DataPetition12337Mapper extends BaseMapper { + +} + + + + diff --git a/src/main/java/com/biutag/supervision/pojo/entity/DataPetition12337.java b/src/main/java/com/biutag/supervision/pojo/entity/DataPetition12337.java new file mode 100644 index 0000000..7840ed0 --- /dev/null +++ b/src/main/java/com/biutag/supervision/pojo/entity/DataPetition12337.java @@ -0,0 +1,505 @@ +package com.biutag.supervision.pojo.entity; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.io.Serializable; + +/** + * + * @TableName data_petition_12337 + */ +@TableName(value ="data_petition_12337") +@Data +public class DataPetition12337 implements Serializable { + /** + * 唯一编号 + */ + @TableId + private String only_id; + + /** + * 外网线索编号 + */ + private String external_id; + + /** + * 内网线索编号 + */ + private String inner_id; + + /** + * 单机版线索编号 + */ + private String stand_alone; + + /** + * 信息受理登记时间 + */ + private String discover_time; + + /** + * 线索来源 + */ + private String letter_source; + + /** + * 举报人姓名 + */ + private String name; + + /** + * 手机号码 + */ + private String phone; + + /** + * 身份证号 + */ + private String id_code; + + /** + * 举报人(省) + */ + private String reporter_provincial; + + /** + * 举报人(市) + */ + private String reporter_city; + + /** + * 举报人(县) + */ + private String reporter_county; + + /** + * 现住地详址 + */ + private String address; + + /** + * 是否政法干警 + */ + private String is_law_police; + + /** + * 被举报人姓名 + */ + private String reported_name; + + /** + * 所属系统 + */ + private String belong_system; + + /** + * 人员类别 + */ + private String person_type; + + /** + * 被举报人所在地(省) + */ + private String reported_provincial; + + /** + * 被举报人所在地(市) + */ + private String reported_city; + + /** + * 被举报人所在地(县) + */ + private String reported_county; + + /** + * 单位名称 + */ + private String org_name; + + /** + * 单位所属层级 + */ + private String org_level; + + /** + * 具体职务 + */ + private String job_name; + + /** + * 职级 + */ + private String job_level; + + /** + * 被举报单位名称 + */ + private String reported_org_name; + + /** + * 被举报单位所属系统 + */ + private String reported_org_belong; + + /** + * 被举报单位所在地(省) + */ + private String reported_org_provincial; + + /** + * 被举报单位所在地(市) + */ + private String reported_org_city; + + /** + * 被举报单位所在地(县) + */ + private String reported_org_county; + + /** + * 被举报单位单位所属层级 + */ + private String reported_org_level; + + /** + * 涉嫌违纪问题项目 + */ + private String against_pro_project; + + /** + * 涉嫌贪污贿赂类犯罪 + */ + private String corruption_guilt; + + /** + * 涉嫌渎职类犯罪 + */ + private String omission_guilt; + + /** + * 涉嫌侵犯公民人身权利类犯罪 + */ + private String invade_entitlement_guilt; + + /** + * 涉嫌侵犯财产类犯罪 + */ + private String invade_finance_guilt; + + /** + * 其他 + */ + private String other_guilt; + + /** + * 顽瘴痼疾项目 + */ + private String hard_pro_project; + + /** + * 涉嫌违纪违法事项 + */ + private String wjwf_project; + + /** + * 转办时间 + */ + private String pass_time; + + /** + * 转办单位 + */ + private String pass_org; + + /** + * 核查时间 + */ + private String review_time; + + /** + * 核查单位 + */ + private String review_org; + + /** + * 核查人 + */ + private String review_person_name; + + /** + * 核查人联系方式 + */ + private String review_person_phone; + + /** + * 被核查人类别 + */ + private String reviewed_person_type; + + /** + * 被核查人是否属于领导班子成员 + */ + private String reviewed_person_isleader; + + /** + * 是否核查完结 + */ + private String reviewed_isover; + + /** + * 核查简要情况 + */ + private String review_des; + + /** + * 办理结果 + */ + private String process_result; + + /** + * 是否进行线索初核 + */ + private String is_first_view; + + /** + * 核查组组长 + */ + private String review_leader; + + /** + * (核查组组长)联系方式 + */ + private String review_leader_phone; + + /** + * 初核情况 + */ + private String first_view_des; + + /** + * 是否立案审查调查 + */ + private String is_register_case; + + /** + * 立案审查调查情况 + */ + private String register_case_des; + + /** + * 是否处分处理 + */ + private String is_punish; + + /** + * 处理结论形态 + */ + private String process_res_type; + + /** + * 处理结论结果 + */ + private String process_res_des; + + /** + * 处分处理情况 + */ + private String punish_des; + + /** + * 是否适用自查从宽政策 + */ + private String is_tolerant; + + /** + * 是否办结 + */ + private String is_over; + + /** + * 联系时间 + */ + private String contact_time; + + /** + * 联系单位 + */ + private String contact_org; + + /** + * 联系人 + */ + private String contact_person_name; + + /** + * 联系方式 + */ + private String contact_type; + + /** + * 与举报人联系沟通详情 + */ + private String contact_reporter_des; + + /** + * 超期未反馈原因 + */ + private String overtime_reason; + + /** + * 是否申请异议 + */ + private String is_dissent; + + /** + * 目标省份 + */ + private String aim_provincial; + + /** + * 申请人 + */ + private String apply_person_name; + + /** + * 联系方式 + */ + private String apply_person_phone; + + /** + * 申请原因 + */ + private String apply_reason; + + /** + * 异议处理方式 + */ + private String dissent_handle; + + /** + * 处理说明 + */ + private String dissent_handle_explain; + + /** + * 是否存在附件 + */ + private String is_annex; + + /** + * 附件文件名 + */ + private String annex_name; + + /** + * 线索举报时间 + */ + private String report_time; + + /** + * 导入时间 + */ + private String enter_time; + + /** + * 分发时间 + */ + private String distribute_time; + + /** + * 是否违纪违法线索 + */ + private String is_against_clue; + + /** + * 是否涉法涉诉线索 + */ + private String is_appeal_clue; + + /** + * 是否范围外线索 + */ + private String is_overround_clue; + + /** + * 是否无效线索 + */ + private String is_invalid_clue; + + /** + * 是否重点线索 + */ + private String is_important_clue; + + /** + * 线索是否重复 + */ + private String is_repeat_clue; + + /** + * 重复线索组别 + */ + private String repeat_clue_type; + + /** + * 线索是否进行了机筛 + */ + private String is_machine; + + /** + * 机筛线索时间 + */ + private String machine_tme; + + /** + * 线索是否经过人工筛查 + */ + private String is_person; + + /** + * 人工筛查线索时间 + */ + private String person_time; + + /** + * 是否关注线索 + */ + private String is_care; + + /** + * 关注时间 + */ + private String care_time; + + /** + * 操作时间 + */ + private String handle_time; + + /** + * 二级机构id + */ + private String second_depart_id; + + /** + * 二级机构名字 + */ + private String second_depart_name; + + /** + * 三级机构id + */ + private String third_depart_id; + + /** + * 三级机构简称 + */ + private String third_depart_name; + + @TableField(exist = false) + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/src/main/java/com/biutag/supervision/service/DataPetition12337ServiceImpl.java b/src/main/java/com/biutag/supervision/service/DataPetition12337ServiceImpl.java new file mode 100644 index 0000000..9550876 --- /dev/null +++ b/src/main/java/com/biutag/supervision/service/DataPetition12337ServiceImpl.java @@ -0,0 +1,22 @@ +package com.biutag.supervision.service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.biutag.supervision.mapper.DataPetition12337Mapper; +import com.biutag.supervision.pojo.entity.DataPetition12337; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +/** + * @author 舒云 + * @description 针对表【data_petition_12337】的数据库操作Service实现 + * @createDate 2024-11-04 10:50:37 + */ +@Service +@RequiredArgsConstructor +public class DataPetition12337ServiceImpl extends ServiceImpl { + +} + + + + diff --git a/src/main/java/com/biutag/supervision/service/DataPetitionComplaintService.java b/src/main/java/com/biutag/supervision/service/DataPetitionComplaintService.java index 7bc8ebb..20ae48a 100644 --- a/src/main/java/com/biutag/supervision/service/DataPetitionComplaintService.java +++ b/src/main/java/com/biutag/supervision/service/DataPetitionComplaintService.java @@ -9,8 +9,10 @@ import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.biutag.supervision.constants.enums.*; +import com.biutag.supervision.mapper.DataPetition12337Mapper; import com.biutag.supervision.mapper.DataPetitionComplaintMapper; import com.biutag.supervision.pojo.dto.*; +import com.biutag.supervision.pojo.entity.DataPetition12337; import com.biutag.supervision.pojo.entity.DataPetitionComplaint; import com.biutag.supervision.pojo.param.DataPetitionComplaintQueryParam; import com.biutag.supervision.pojo.vo.RecentMailTrendByDayVo; @@ -18,7 +20,6 @@ import com.biutag.supervision.pojo.vo.RecentMailTrendByMonthVo; import lombok.RequiredArgsConstructor; import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; - import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; @@ -34,6 +35,8 @@ public class DataPetitionComplaintService extends ServiceImpl page(DataPetitionComplaintQueryParam queryParam) { LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); queryWrapper.eq(DataPetitionComplaint::getProblemSourcesCode, queryParam.getProblemSourcesCode()) @@ -128,9 +131,6 @@ public class DataPetitionComplaintService extends ServiceImpl totalQueryWrapper = new QueryWrapper<>(); - totalQueryWrapper.between("discovery_time", beginTime, endTime); - long totalMail = this.count(totalQueryWrapper); // 国家信访 QueryWrapper countryQueryWrapper = new QueryWrapper<>(); countryQueryWrapper.eq("problem_sources_code", 21); @@ -141,6 +141,9 @@ public class DataPetitionComplaintService extends ServiceImpl queryWrapper12337 = new QueryWrapper<>(); + Long total12337 = dataPetition12337Mapper.selectCount(queryWrapper12337); // 初访 QueryWrapper firstQueryWrapper = new QueryWrapper<>(); firstQueryWrapper.eq("initial_petition", 1); @@ -171,6 +174,9 @@ public class DataPetitionComplaintService extends ServiceImpl