13 changed files with 239 additions and 33 deletions
@ -0,0 +1,8 @@ |
|||||||
|
package com.biutag.supervision.mapper; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||||
|
import com.biutag.supervision.pojo.entity.RiskPersonalTag; |
||||||
|
|
||||||
|
public interface RiskPersonalTagMapper extends BaseMapper<RiskPersonalTag> { |
||||||
|
|
||||||
|
} |
||||||
@ -0,0 +1,47 @@ |
|||||||
|
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 RiskPersonalTag { |
||||||
|
|
||||||
|
// 主键
|
||||||
|
@TableId(value = "id", type = IdType.AUTO) |
||||||
|
private Integer id; |
||||||
|
|
||||||
|
// 姓名
|
||||||
|
@TableField("name") |
||||||
|
private String name; |
||||||
|
|
||||||
|
// 证件号码
|
||||||
|
@TableField("id_code") |
||||||
|
private String idCode; |
||||||
|
|
||||||
|
// 大标签
|
||||||
|
@TableField("big_tag") |
||||||
|
private String bigTag; |
||||||
|
|
||||||
|
// 小标签
|
||||||
|
@TableField("small_tag") |
||||||
|
private String smallTag; |
||||||
|
|
||||||
|
// 标签时间
|
||||||
|
@TableField("tag_time") |
||||||
|
private LocalDateTime tagTime; |
||||||
|
|
||||||
|
// 创建时间
|
||||||
|
@TableField("create_time") |
||||||
|
private LocalDateTime createTime; |
||||||
|
|
||||||
|
// 逻辑删除键0-未删1已删
|
||||||
|
@TableField("del") |
||||||
|
private Boolean del; |
||||||
|
|
||||||
|
} |
||||||
@ -0,0 +1,75 @@ |
|||||||
|
package com.biutag.supervision.pojo.vo; |
||||||
|
|
||||||
|
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; |
||||||
|
import java.util.HashSet; |
||||||
|
import java.util.Set; |
||||||
|
|
||||||
|
@Setter |
||||||
|
@Getter |
||||||
|
public class RiskPersonalVo { |
||||||
|
|
||||||
|
// 主键
|
||||||
|
@TableId(value = "id", type = IdType.AUTO) |
||||||
|
private Integer id; |
||||||
|
|
||||||
|
// 姓名
|
||||||
|
@TableField("name") |
||||||
|
private String name; |
||||||
|
|
||||||
|
// 性别男1女2
|
||||||
|
@TableField("gender") |
||||||
|
private String gender; |
||||||
|
|
||||||
|
// 年龄
|
||||||
|
@TableField("age") |
||||||
|
private Integer age; |
||||||
|
|
||||||
|
// 大标签预览
|
||||||
|
@TableField("tags") |
||||||
|
private String tags; |
||||||
|
|
||||||
|
// 证件号码
|
||||||
|
@TableField("id_code") |
||||||
|
private String idCode; |
||||||
|
|
||||||
|
// 手机号
|
||||||
|
@TableField("mobile_number") |
||||||
|
private String mobileNumber; |
||||||
|
|
||||||
|
// 风险指数
|
||||||
|
@TableField("risk_score") |
||||||
|
private Double riskScore; |
||||||
|
|
||||||
|
// 管控部门编号
|
||||||
|
@TableField("control_depart_id") |
||||||
|
private String controlDepartId; |
||||||
|
|
||||||
|
// 管控部门名称
|
||||||
|
@TableField("control_depart_name") |
||||||
|
private String controlDepartName; |
||||||
|
|
||||||
|
// 管控时间
|
||||||
|
@TableField("control_time") |
||||||
|
private LocalDateTime controlTime; |
||||||
|
|
||||||
|
// 创建时间
|
||||||
|
@TableField("create_time") |
||||||
|
private LocalDateTime createTime; |
||||||
|
|
||||||
|
// 异常信息
|
||||||
|
@TableField("error_msg") |
||||||
|
private String errorMsg; |
||||||
|
|
||||||
|
// 逻辑删除键0-未删1已删
|
||||||
|
@TableField("del") |
||||||
|
private Boolean del; |
||||||
|
|
||||||
|
private Set<String> smallTags = new HashSet<>(); |
||||||
|
|
||||||
|
} |
||||||
@ -0,0 +1,14 @@ |
|||||||
|
package com.biutag.supervision.service; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
|
import com.biutag.supervision.mapper.RiskPersonalTagMapper; |
||||||
|
import com.biutag.supervision.pojo.entity.RiskPersonalTag; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author wxc |
||||||
|
* @date 2024/11/15 |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
public class RiskPersonalTagService extends ServiceImpl<RiskPersonalTagMapper, RiskPersonalTag> { |
||||||
|
} |
||||||
Binary file not shown.
Loading…
Reference in new issue