From 83236ca70734af0ec244a6f17c71e2e48f2b0fd3 Mon Sep 17 00:00:00 2001 From: sjh Date: Tue, 29 Oct 2024 18:23:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BB=B4=E6=9D=83=E6=8A=9A?= =?UTF-8?q?=E6=85=B0=E5=A4=A7=E5=B1=8F=E5=B1=95=E7=A4=BA=E6=A8=A1=E5=9D=97?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/DataRightsComfortMapper.java | 7 ++++ .../supervision/mapper/RpcApplyMapper.java | 8 ++++ .../mapper/RpcApplyPersonMapper.java | 8 ++++ .../mapper/RpcInfringerResultMapper.java | 8 ++++ .../pojo/entity/DataRightsComfort.java | 9 +++++ .../supervision/pojo/entity/RpcApply.java | 39 +++++++++++++++++++ .../pojo/entity/RpcApplyPerson.java | 31 +++++++++++++++ .../pojo/entity/RpcInfringerResult.java | 35 +++++++++++++++++ .../service/DataRightsComfortService.java | 12 ++++++ .../service/RpcApplyPersonService.java | 11 ++++++ .../supervision/service/RpcApplyService.java | 11 ++++++ .../service/RpcInfringerResultService.java | 11 ++++++ .../supervision/tools/GenCodeTests.java | 2 +- 13 files changed, 191 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/biutag/supervision/mapper/DataRightsComfortMapper.java create mode 100644 src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java create mode 100644 src/main/java/com/biutag/supervision/mapper/RpcApplyPersonMapper.java create mode 100644 src/main/java/com/biutag/supervision/mapper/RpcInfringerResultMapper.java create mode 100644 src/main/java/com/biutag/supervision/pojo/entity/DataRightsComfort.java create mode 100644 src/main/java/com/biutag/supervision/pojo/entity/RpcApply.java create mode 100644 src/main/java/com/biutag/supervision/pojo/entity/RpcApplyPerson.java create mode 100644 src/main/java/com/biutag/supervision/pojo/entity/RpcInfringerResult.java create mode 100644 src/main/java/com/biutag/supervision/service/DataRightsComfortService.java create mode 100644 src/main/java/com/biutag/supervision/service/RpcApplyPersonService.java create mode 100644 src/main/java/com/biutag/supervision/service/RpcApplyService.java create mode 100644 src/main/java/com/biutag/supervision/service/RpcInfringerResultService.java diff --git a/src/main/java/com/biutag/supervision/mapper/DataRightsComfortMapper.java b/src/main/java/com/biutag/supervision/mapper/DataRightsComfortMapper.java new file mode 100644 index 0000000..87f3812 --- /dev/null +++ b/src/main/java/com/biutag/supervision/mapper/DataRightsComfortMapper.java @@ -0,0 +1,7 @@ +package com.biutag.supervision.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.biutag.supervision.pojo.entity.DataRightsComfort; + +public interface DataRightsComfortMapper extends BaseMapper { +} diff --git a/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java b/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java new file mode 100644 index 0000000..de061dc --- /dev/null +++ b/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java @@ -0,0 +1,8 @@ +package com.biutag.supervision.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.biutag.supervision.pojo.entity.RpcApply; + +public interface RpcApplyMapper extends BaseMapper { + +} \ No newline at end of file diff --git a/src/main/java/com/biutag/supervision/mapper/RpcApplyPersonMapper.java b/src/main/java/com/biutag/supervision/mapper/RpcApplyPersonMapper.java new file mode 100644 index 0000000..6f3d607 --- /dev/null +++ b/src/main/java/com/biutag/supervision/mapper/RpcApplyPersonMapper.java @@ -0,0 +1,8 @@ +package com.biutag.supervision.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.biutag.supervision.pojo.entity.RpcApplyPerson; + +public interface RpcApplyPersonMapper extends BaseMapper { + +} \ No newline at end of file diff --git a/src/main/java/com/biutag/supervision/mapper/RpcInfringerResultMapper.java b/src/main/java/com/biutag/supervision/mapper/RpcInfringerResultMapper.java new file mode 100644 index 0000000..f3ba7b0 --- /dev/null +++ b/src/main/java/com/biutag/supervision/mapper/RpcInfringerResultMapper.java @@ -0,0 +1,8 @@ +package com.biutag.supervision.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.biutag.supervision.pojo.entity.RpcInfringerResult; + +public interface RpcInfringerResultMapper extends BaseMapper { + +} \ No newline at end of file diff --git a/src/main/java/com/biutag/supervision/pojo/entity/DataRightsComfort.java b/src/main/java/com/biutag/supervision/pojo/entity/DataRightsComfort.java new file mode 100644 index 0000000..fd49c97 --- /dev/null +++ b/src/main/java/com/biutag/supervision/pojo/entity/DataRightsComfort.java @@ -0,0 +1,9 @@ +package com.biutag.supervision.pojo.entity; + +import lombok.Getter; +import lombok.Setter; + +@Setter +@Getter +public class DataRightsComfort { +} diff --git a/src/main/java/com/biutag/supervision/pojo/entity/RpcApply.java b/src/main/java/com/biutag/supervision/pojo/entity/RpcApply.java new file mode 100644 index 0000000..5f8d14b --- /dev/null +++ b/src/main/java/com/biutag/supervision/pojo/entity/RpcApply.java @@ -0,0 +1,39 @@ +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 lombok.Getter; +import lombok.Setter; + +import java.time.LocalDateTime; + +@Setter +@Getter +public class RpcApply { + + // + @TableId(value = "rpc_id") + private String rpcId; + + // 申请时间 + @TableField("apply_date") + private LocalDateTime applyDate; + + // 部门id + @TableField("depart_id") + private String departId; + + // 部门 + @TableField("depart_name") + private String departName; + + // 类型,1维权,2,抚慰,3容错 + @TableField("type") + private String type; + + // 状态 + @TableField("rpc_status") + private String rpcStatus; + +} \ No newline at end of file diff --git a/src/main/java/com/biutag/supervision/pojo/entity/RpcApplyPerson.java b/src/main/java/com/biutag/supervision/pojo/entity/RpcApplyPerson.java new file mode 100644 index 0000000..6068748 --- /dev/null +++ b/src/main/java/com/biutag/supervision/pojo/entity/RpcApplyPerson.java @@ -0,0 +1,31 @@ +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 lombok.Getter; +import lombok.Setter; + +import java.time.LocalDateTime; + +@Setter +@Getter +public class RpcApplyPerson { + + // + @TableId(value = "id") + private String id; + + // 申请id + @TableField("rpc_id") + private String rpcId; + + // 警号 + @TableField("emp_no") + private String empNo; + + // 提供救济 + @TableField("provide_relief") + private String provideRelief; + +} \ No newline at end of file diff --git a/src/main/java/com/biutag/supervision/pojo/entity/RpcInfringerResult.java b/src/main/java/com/biutag/supervision/pojo/entity/RpcInfringerResult.java new file mode 100644 index 0000000..b1cc1d8 --- /dev/null +++ b/src/main/java/com/biutag/supervision/pojo/entity/RpcInfringerResult.java @@ -0,0 +1,35 @@ +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 lombok.Getter; +import lombok.Setter; + +import java.time.LocalDateTime; + +@Setter +@Getter +public class RpcInfringerResult { + + // + @TableId(value = "id") + private String id; + + // + @TableField("rpc_id") + private String rpcId; + + // 侵权人 + @TableField("tort_name") + private String tortName; + + // 处理方式 + @TableField("defend_handle_way") + private String defendHandleWay; + + // 处理方式-名称 + @TableField("defend_handle_way_name") + private String defendHandleWayName; + +} \ No newline at end of file diff --git a/src/main/java/com/biutag/supervision/service/DataRightsComfortService.java b/src/main/java/com/biutag/supervision/service/DataRightsComfortService.java new file mode 100644 index 0000000..ff7217b --- /dev/null +++ b/src/main/java/com/biutag/supervision/service/DataRightsComfortService.java @@ -0,0 +1,12 @@ +package com.biutag.supervision.service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.biutag.supervision.mapper.DataRightsComfortMapper; +import com.biutag.supervision.pojo.entity.DataRightsComfort; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +@RequiredArgsConstructor +@Service +public class DataRightsComfortService extends ServiceImpl { +} diff --git a/src/main/java/com/biutag/supervision/service/RpcApplyPersonService.java b/src/main/java/com/biutag/supervision/service/RpcApplyPersonService.java new file mode 100644 index 0000000..4497f75 --- /dev/null +++ b/src/main/java/com/biutag/supervision/service/RpcApplyPersonService.java @@ -0,0 +1,11 @@ +package com.biutag.supervision.service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.biutag.supervision.pojo.entity.RpcApplyPerson; +import com.biutag.supervision.mapper.RpcApplyPersonMapper; +import org.springframework.stereotype.Service; + +@Service +public class RpcApplyPersonService extends ServiceImpl { + +} diff --git a/src/main/java/com/biutag/supervision/service/RpcApplyService.java b/src/main/java/com/biutag/supervision/service/RpcApplyService.java new file mode 100644 index 0000000..f1ac779 --- /dev/null +++ b/src/main/java/com/biutag/supervision/service/RpcApplyService.java @@ -0,0 +1,11 @@ +package com.biutag.supervision.service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.biutag.supervision.pojo.entity.RpcApply; +import com.biutag.supervision.mapper.RpcApplyMapper; +import org.springframework.stereotype.Service; + +@Service +public class RpcApplyService extends ServiceImpl { + +} diff --git a/src/main/java/com/biutag/supervision/service/RpcInfringerResultService.java b/src/main/java/com/biutag/supervision/service/RpcInfringerResultService.java new file mode 100644 index 0000000..2add95e --- /dev/null +++ b/src/main/java/com/biutag/supervision/service/RpcInfringerResultService.java @@ -0,0 +1,11 @@ +package com.biutag.supervision.service; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.biutag.supervision.pojo.entity.RpcInfringerResult; +import com.biutag.supervision.mapper.RpcInfringerResultMapper; +import org.springframework.stereotype.Service; + +@Service +public class RpcInfringerResultService extends ServiceImpl { + +} diff --git a/src/test/java/com/biutag/supervision/tools/GenCodeTests.java b/src/test/java/com/biutag/supervision/tools/GenCodeTests.java index e49ec54..dd001a2 100644 --- a/src/test/java/com/biutag/supervision/tools/GenCodeTests.java +++ b/src/test/java/com/biutag/supervision/tools/GenCodeTests.java @@ -25,7 +25,7 @@ public class GenCodeTests { @Test public void genEntity() throws TemplateException, IOException { - String tableName = "model_clue_task"; + String tableName = "rpc_infringer_result"; String tableSchema = "negative"; boolean genMapper = true; boolean genService = true;