From d21c693fd8afabbe04d53919b89b355bd2d5301c Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 08 八月 2023 17:07:24 +0800 Subject: [PATCH] 优化代码生成自动插入UUID为主键 修改兴趣点井主键代码生成uuid取消数据库自动生成uuid --- ard-work/src/main/java/com/ruoyi/app/patrolplan/domain/ArdAppPatrolplan.java | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ard-work/src/main/java/com/ruoyi/app/patrolplan/domain/ArdAppPatrolplan.java b/ard-work/src/main/java/com/ruoyi/app/patrolplan/domain/ArdAppPatrolplan.java index 8700302..f145c12 100644 --- a/ard-work/src/main/java/com/ruoyi/app/patrolplan/domain/ArdAppPatrolplan.java +++ b/ard-work/src/main/java/com/ruoyi/app/patrolplan/domain/ArdAppPatrolplan.java @@ -1,11 +1,16 @@ package com.ruoyi.app.patrolplan.domain; import com.baomidou.mybatisplus.annotation.TableField; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWell; +import com.ruoyi.common.core.domain.entity.SysUser; import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; + +import java.util.List; /** * app宸℃璁″垝瀵硅薄 ard_app_patrolplan @@ -25,6 +30,8 @@ private String userId; @Excel(name = "鍒跺畾浜�") + @TableField(exist = false,select = false) + @JsonInclude(JsonInclude.Include.NON_DEFAULT ) private String nickName; /** 鍛ㄦ湡 */ @@ -44,15 +51,17 @@ private String patroEndTime; /** - * 宸℃鐐� + * 宸℃鐐规煡璇㈡潯浠� */ - @TableField(exist = false) + @TableField(exist = false,select = false) +// @JsonInclude(JsonInclude.Include.NON_DEFAULT ) private String wellId; /** - * 宸℃浜哄憳 + * 宸℃浜哄憳鏌ヨ鏉′欢 */ - @TableField(exist = false) + @TableField(exist = false,select = false) +// @JsonInclude(JsonInclude.Include.NON_DEFAULT ) private String pUser; @Override -- Gitblit v1.9.3