Browse Source

新增维权抚慰大屏展示模块1

main
sjh 1 year ago
parent
commit
83236ca707
  1. 7
      src/main/java/com/biutag/supervision/mapper/DataRightsComfortMapper.java
  2. 8
      src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java
  3. 8
      src/main/java/com/biutag/supervision/mapper/RpcApplyPersonMapper.java
  4. 8
      src/main/java/com/biutag/supervision/mapper/RpcInfringerResultMapper.java
  5. 9
      src/main/java/com/biutag/supervision/pojo/entity/DataRightsComfort.java
  6. 39
      src/main/java/com/biutag/supervision/pojo/entity/RpcApply.java
  7. 31
      src/main/java/com/biutag/supervision/pojo/entity/RpcApplyPerson.java
  8. 35
      src/main/java/com/biutag/supervision/pojo/entity/RpcInfringerResult.java
  9. 12
      src/main/java/com/biutag/supervision/service/DataRightsComfortService.java
  10. 11
      src/main/java/com/biutag/supervision/service/RpcApplyPersonService.java
  11. 11
      src/main/java/com/biutag/supervision/service/RpcApplyService.java
  12. 11
      src/main/java/com/biutag/supervision/service/RpcInfringerResultService.java
  13. 2
      src/test/java/com/biutag/supervision/tools/GenCodeTests.java

7
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<DataRightsComfort> {
}

8
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<RpcApply> {
}

8
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<RpcApplyPerson> {
}

8
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<RpcInfringerResult> {
}

9
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 {
}

39
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;
}

31
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;
}

35
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;
}

12
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<DataRightsComfortMapper, DataRightsComfort> {
}

11
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<RpcApplyPersonMapper, RpcApplyPerson> {
}

11
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<RpcApplyMapper, RpcApply> {
}

11
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<RpcInfringerResultMapper, RpcInfringerResult> {
}

2
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;

Loading…
Cancel
Save