去除实体类中的警告

This commit is contained in:
huangge1199 2025-08-06 14:34:29 +08:00
parent 3282eec092
commit 6080583faf
11 changed files with 237 additions and 279 deletions

View File

@ -1,8 +1,6 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
@ -13,6 +11,7 @@ import lombok.NoArgsConstructor;
/** /**
* *
* @author hyy
* @TableName mbgk_analysis * @TableName mbgk_analysis
*/ */
@TableName(value ="mbgk_analysis") @TableName(value ="mbgk_analysis")
@ -140,23 +139,21 @@ public class Analysis {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", id=" + id +
sb.append(", id=").append(id); ", targetId=" + targetId +
sb.append(", targetId=").append(targetId); ", name=" + name +
sb.append(", name=").append(name); ", type=" + type +
sb.append(", type=").append(type); ", isTime=" + isTime +
sb.append(", isTime=").append(isTime); ", columnEn=" + columnEn +
sb.append(", columnEn=").append(columnEn); ", columnCn=" + columnCn +
sb.append(", columnCn=").append(columnCn); ", showVal=" + showVal +
sb.append(", showVal=").append(showVal); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); ", remark=" + remark +
sb.append(", remark=").append(remark); ", sql=" + sql +
sb.append(", sql=").append(sql); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,8 +1,6 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
@ -13,6 +11,7 @@ import lombok.NoArgsConstructor;
/** /**
* *
* @author hyy
* @TableName mbgk_category * @TableName mbgk_category
*/ */
@TableName(value ="mbgk_category") @TableName(value ="mbgk_category")
@ -24,7 +23,6 @@ public class Category {
/** /**
* 主键 * 主键
*/ */
@TableField(value = "id")
private String id; private String id;
/** /**
@ -108,19 +106,17 @@ public class Category {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", id=" + id +
sb.append(", id=").append(id); ", nameEn=" + nameEn +
sb.append(", nameEn=").append(nameEn); ", nameCn=" + nameCn +
sb.append(", nameCn=").append(nameCn); ", parentId=" + parentId +
sb.append(", parentId=").append(parentId); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); ", topic=" + topic +
sb.append(", topic=").append(topic); ", organization=" + organization +
sb.append(", organization=").append(organization); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,13 +1,11 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data; import lombok.Data;
/** /**
* *
* @author hyy
* @TableName columns * @TableName columns
*/ */
@TableName(value ="information_schema.columns") @TableName(value ="information_schema.columns")
@ -204,35 +202,33 @@ public class Columns {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", tableCatalog=" + tableCatalog +
sb.append(", tableCatalog=").append(tableCatalog); ", tableSchema=" + tableSchema +
sb.append(", tableSchema=").append(tableSchema); ", tableName=" + tableName +
sb.append(", tableName=").append(tableName); ", columnName=" + columnName +
sb.append(", columnName=").append(columnName); ", ordinalPosition=" + ordinalPosition +
sb.append(", ordinalPosition=").append(ordinalPosition); ", columnDefault=" + columnDefault +
sb.append(", columnDefault=").append(columnDefault); ", isNullable=" + isNullable +
sb.append(", isNullable=").append(isNullable); ", dataType=" + dataType +
sb.append(", dataType=").append(dataType); ", characterMaximumLength=" + characterMaximumLength +
sb.append(", characterMaximumLength=").append(characterMaximumLength); ", characterOctetLength=" + characterOctetLength +
sb.append(", characterOctetLength=").append(characterOctetLength); ", numericPrecision=" + numericPrecision +
sb.append(", numericPrecision=").append(numericPrecision); ", numericScale=" + numericScale +
sb.append(", numericScale=").append(numericScale); ", datetimePrecision=" + datetimePrecision +
sb.append(", datetimePrecision=").append(datetimePrecision); ", characterSetName=" + characterSetName +
sb.append(", characterSetName=").append(characterSetName); ", collationName=" + collationName +
sb.append(", collationName=").append(collationName); ", columnType=" + columnType +
sb.append(", columnType=").append(columnType); ", columnKey=" + columnKey +
sb.append(", columnKey=").append(columnKey); ", extra=" + extra +
sb.append(", extra=").append(extra); ", privileges=" + privileges +
sb.append(", privileges=").append(privileges); ", columnComment=" + columnComment +
sb.append(", columnComment=").append(columnComment); ", columnSize=" + columnSize +
sb.append(", columnSize=").append(columnSize); ", decimalDigits=" + decimalDigits +
sb.append(", decimalDigits=").append(decimalDigits); ", generationExpression=" + generationExpression +
sb.append(", generationExpression=").append(generationExpression); ", srsId=" + srsId +
sb.append(", srsId=").append(srsId); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,8 +1,6 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
@ -13,6 +11,7 @@ import lombok.NoArgsConstructor;
/** /**
* *
* @author hyy
* @TableName mbgk_job_log * @TableName mbgk_job_log
*/ */
@TableName(value ="mbgk_job_log") @TableName(value ="mbgk_job_log")
@ -24,7 +23,6 @@ public class JobLog {
/** /**
* 主键 * 主键
*/ */
@TableField(value = "id")
private String id; private String id;
/** /**
@ -84,16 +82,14 @@ public class JobLog {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", id=" + id +
sb.append(", id=").append(id); ", targetId=" + targetId +
sb.append(", targetId=").append(targetId); ", status=" + status +
sb.append(", status=").append(status); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", info=" + info +
sb.append(", info=").append(info); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,9 +1,8 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
@ -12,10 +11,10 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
/** /**
* * @author hyy
* @TableName mbgk_monitor * @TableName mbgk_monitor
*/ */
@TableName(value ="mbgk_monitor") @TableName(value = "mbgk_monitor")
@Data @Data
@Builder @Builder
@AllArgsConstructor @AllArgsConstructor
@ -24,7 +23,6 @@ public class Monitor {
/** /**
* 主键 * 主键
*/ */
@TableField(value = "id")
private String id; private String id;
/** /**
@ -88,7 +86,7 @@ public class Monitor {
private String target; private String target;
/** /**
* *
*/ */
@TableField(value = "val") @TableField(value = "val")
private Double val; private Double val;
@ -142,23 +140,23 @@ public class Monitor {
} }
Monitor other = (Monitor) that; Monitor other = (Monitor) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getTargetId() == null ? other.getTargetId() == null : this.getTargetId().equals(other.getTargetId())) && (this.getTargetId() == null ? other.getTargetId() == null : this.getTargetId().equals(other.getTargetId()))
&& (this.getRuleId() == null ? other.getRuleId() == null : this.getRuleId().equals(other.getRuleId())) && (this.getRuleId() == null ? other.getRuleId() == null : this.getRuleId().equals(other.getRuleId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
&& (this.getTopic() == null ? other.getTopic() == null : this.getTopic().equals(other.getTopic())) && (this.getTopic() == null ? other.getTopic() == null : this.getTopic().equals(other.getTopic()))
&& (this.getOrganization() == null ? other.getOrganization() == null : this.getOrganization().equals(other.getOrganization())) && (this.getOrganization() == null ? other.getOrganization() == null : this.getOrganization().equals(other.getOrganization()))
&& (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel())) && (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel()))
&& (this.getCycle() == null ? other.getCycle() == null : this.getCycle().equals(other.getCycle())) && (this.getCycle() == null ? other.getCycle() == null : this.getCycle().equals(other.getCycle()))
&& (this.getUnit() == null ? other.getUnit() == null : this.getUnit().equals(other.getUnit())) && (this.getUnit() == null ? other.getUnit() == null : this.getUnit().equals(other.getUnit()))
&& (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget())) && (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget()))
&& (this.getVal() == null ? other.getVal() == null : this.getVal().equals(other.getVal())) && (this.getVal() == null ? other.getVal() == null : this.getVal().equals(other.getVal()))
&& (this.getWarnLevel() == null ? other.getWarnLevel() == null : this.getWarnLevel().equals(other.getWarnLevel())) && (this.getWarnLevel() == null ? other.getWarnLevel() == null : this.getWarnLevel().equals(other.getWarnLevel()))
&& (this.getSetDate() == null ? other.getSetDate() == null : this.getSetDate().equals(other.getSetDate())) && (this.getSetDate() == null ? other.getSetDate() == null : this.getSetDate().equals(other.getSetDate()))
&& (this.getXShow() == null ? other.getXShow() == null : this.getXShow().equals(other.getXShow())) && (this.getXShow() == null ? other.getXShow() == null : this.getXShow().equals(other.getXShow()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getWarnType() == null ? other.getWarnType() == null : this.getWarnType().equals(other.getWarnType())); && (this.getWarnType() == null ? other.getWarnType() == null : this.getWarnType().equals(other.getWarnType()));
} }
@Override @Override
@ -188,29 +186,27 @@ public class Monitor {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", id=" + id +
sb.append(", id=").append(id); ", targetId=" + targetId +
sb.append(", targetId=").append(targetId); ", ruleId=" + ruleId +
sb.append(", ruleId=").append(ruleId); ", name=" + name +
sb.append(", name=").append(name); ", type=" + type +
sb.append(", type=").append(type); ", topic=" + topic +
sb.append(", topic=").append(topic); ", organization=" + organization +
sb.append(", organization=").append(organization); ", level=" + level +
sb.append(", level=").append(level); ", cycle=" + cycle +
sb.append(", cycle=").append(cycle); ", unit=" + unit +
sb.append(", unit=").append(unit); ", target=" + target +
sb.append(", target=").append(target); ", val=" + val +
sb.append(", val=").append(val); ", warnLevel=" + warnLevel +
sb.append(", warnLevel=").append(warnLevel); ", setDate=" + setDate +
sb.append(", setDate=").append(setDate); ", xShow=" + xShow +
sb.append(", xShow=").append(xShow); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); ", warnType=" + warnType +
sb.append(", warnType=").append(warnType); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,8 +1,6 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
@ -13,6 +11,7 @@ import lombok.NoArgsConstructor;
/** /**
* *
* @author hyy
* @TableName mbgk_rule * @TableName mbgk_rule
*/ */
@TableName(value ="mbgk_rule") @TableName(value ="mbgk_rule")
@ -24,7 +23,6 @@ public class Rule {
/** /**
* 主键 * 主键
*/ */
@TableField(value = "id")
private String id; private String id;
/** /**
@ -196,30 +194,28 @@ public class Rule {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", id=" + id +
sb.append(", id=").append(id); ", name=" + name +
sb.append(", name=").append(name); ", type=" + type +
sb.append(", type=").append(type); ", op=" + op +
sb.append(", op=").append(op); ", target=" + target +
sb.append(", target=").append(target); ", rate=" + rate +
sb.append(", rate=").append(rate); ", warnLevel=" + warnLevel +
sb.append(", warnLevel=").append(warnLevel); ", remark=" + remark +
sb.append(", remark=").append(remark); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); ", targetId=" + targetId +
sb.append(", targetId=").append(targetId); ", cycle=" + cycle +
sb.append(", cycle=").append(cycle); ", unit=" + unit +
sb.append(", unit=").append(unit); ", parentId=" + parentId +
sb.append(", parentId=").append(parentId); ", xVar=" + xVar +
sb.append(", xVar=").append(xVar); ", isPush=" + isPush +
sb.append(", isPush=").append(isPush); ", cycleNum=" + cycleNum +
sb.append(", cycleNum=").append(cycleNum); ", planLine=" + planLine +
sb.append(", planLine=").append(planLine); ", planArea=" + planArea +
sb.append(", planArea=").append(planArea); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,8 +1,6 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
@ -13,6 +11,7 @@ import lombok.NoArgsConstructor;
/** /**
* *
* @author hyy
* @TableName mbgk_table_column * @TableName mbgk_table_column
*/ */
@TableName(value ="mbgk_table_column") @TableName(value ="mbgk_table_column")
@ -156,25 +155,23 @@ public class TableColumn {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", id=" + id +
sb.append(", id=").append(id); ", tableName=" + tableName +
sb.append(", tableName=").append(tableName); ", tableNameCn=" + tableNameCn +
sb.append(", tableNameCn=").append(tableNameCn); ", columnName=" + columnName +
sb.append(", columnName=").append(columnName); ", columnNameCn=" + columnNameCn +
sb.append(", columnNameCn=").append(columnNameCn); ", colnumnType=" + colnumnType +
sb.append(", colnumnType=").append(colnumnType); ", schema=" + schema +
sb.append(", schema=").append(schema); ", dataSource=" + dataSource +
sb.append(", dataSource=").append(dataSource); ", isDelete=" + isDelete +
sb.append(", isDelete=").append(isDelete); ", isPrimary=" + isPrimary +
sb.append(", isPrimary=").append(isPrimary); ", op=" + op +
sb.append(", op=").append(op); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); ", sort=" + sort +
sb.append(", sort=").append(sort); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,14 +1,12 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
import lombok.Data; import lombok.Data;
/** /**
* *
* @author hyy
* @TableName tables * @TableName tables
*/ */
@TableName(value ="information_schema.tables") @TableName(value ="information_schema.tables")
@ -184,32 +182,30 @@ public class Tables {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", tableCatalog=" + tableCatalog +
sb.append(", tableCatalog=").append(tableCatalog); ", tableSchema=" + tableSchema +
sb.append(", tableSchema=").append(tableSchema); ", tableName=" + tableName +
sb.append(", tableName=").append(tableName); ", tableType=" + tableType +
sb.append(", tableType=").append(tableType); ", engine=" + engine +
sb.append(", engine=").append(engine); ", version=" + version +
sb.append(", version=").append(version); ", rowFormat=" + rowFormat +
sb.append(", rowFormat=").append(rowFormat); ", tableRows=" + tableRows +
sb.append(", tableRows=").append(tableRows); ", avgRowLength=" + avgRowLength +
sb.append(", avgRowLength=").append(avgRowLength); ", dataLength=" + dataLength +
sb.append(", dataLength=").append(dataLength); ", maxDataLength=" + maxDataLength +
sb.append(", maxDataLength=").append(maxDataLength); ", indexLength=" + indexLength +
sb.append(", indexLength=").append(indexLength); ", dataFree=" + dataFree +
sb.append(", dataFree=").append(dataFree); ", autoIncrement=" + autoIncrement +
sb.append(", autoIncrement=").append(autoIncrement); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); ", checkTime=" + checkTime +
sb.append(", checkTime=").append(checkTime); ", tableCollation=" + tableCollation +
sb.append(", tableCollation=").append(tableCollation); ", checksum=" + checksum +
sb.append(", checksum=").append(checksum); ", createOptions=" + createOptions +
sb.append(", createOptions=").append(createOptions); ", tableComment=" + tableComment +
sb.append(", tableComment=").append(tableComment); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,8 +1,6 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
@ -13,6 +11,7 @@ import lombok.NoArgsConstructor;
/** /**
* *
* @author hyy
* @TableName mbgk_target * @TableName mbgk_target
*/ */
@TableName(value ="mbgk_target") @TableName(value ="mbgk_target")
@ -24,7 +23,6 @@ public class Target {
/** /**
* 主键 * 主键
*/ */
@TableField(value = "id")
private String id; private String id;
/** /**
@ -220,33 +218,31 @@ public class Target {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", id=" + id +
sb.append(", id=").append(id); ", name=" + name +
sb.append(", name=").append(name); ", parentName=" + parentName +
sb.append(", parentName=").append(parentName); ", categoryId=" + categoryId +
sb.append(", categoryId=").append(categoryId); ", unit=" + unit +
sb.append(", unit=").append(unit); ", type=" + type +
sb.append(", type=").append(type); ", isKey=" + isKey +
sb.append(", isKey=").append(isKey); ", targetInfo=" + targetInfo +
sb.append(", targetInfo=").append(targetInfo); ", resultSql=" + resultSql +
sb.append(", resultSql=").append(resultSql); ", level=" + level +
sb.append(", level=").append(level); ", parent=" + parent +
sb.append(", parent=").append(parent); ", remark=" + remark +
sb.append(", remark=").append(remark); ", tableName=" + tableName +
sb.append(", tableName=").append(tableName); ", cycle=" + cycle +
sb.append(", cycle=").append(cycle); ", status=" + status +
sb.append(", status=").append(status); ", searchSql=" + searchSql +
sb.append(", searchSql=").append(searchSql); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); ", topic=" + topic +
sb.append(", topic=").append(topic); ", organization=" + organization +
sb.append(", organization=").append(organization); ", jobSql=" + jobSql +
sb.append(", jobSql=").append(jobSql); ", hisSql=" + hisSql +
sb.append(", hisSql=").append(hisSql); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,8 +1,6 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
@ -13,6 +11,7 @@ import lombok.NoArgsConstructor;
/** /**
* *
* @author hyy
* @TableName mbgk_target_data * @TableName mbgk_target_data
*/ */
@TableName(value ="mbgk_target_data") @TableName(value ="mbgk_target_data")
@ -34,9 +33,8 @@ public class TargetData {
private String xShow; private String xShow;
/** /**
* * 主键
*/ */
@TableField(value = "id")
private String id; private String id;
/** /**
@ -116,20 +114,18 @@ public class TargetData {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", targetId=" + targetId +
sb.append(", targetId=").append(targetId); ", xShow=" + xShow +
sb.append(", xShow=").append(xShow); ", id=" + id +
sb.append(", id=").append(id); ", setDate=" + setDate +
sb.append(", setDate=").append(setDate); ", cycle=" + cycle +
sb.append(", cycle=").append(cycle); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); ", val=" + val +
sb.append(", val=").append(val); ", targetCycle=" + targetCycle +
sb.append(", targetCycle=").append(targetCycle); "]";
sb.append("]");
return sb.toString();
} }
} }

View File

@ -1,8 +1,6 @@
package iet.ustb.sf.domain; package iet.ustb.sf.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date; import java.util.Date;
@ -13,6 +11,7 @@ import lombok.NoArgsConstructor;
/** /**
* *
* @author hyy
* @TableName mbgk_target_option * @TableName mbgk_target_option
*/ */
@TableName(value ="mbgk_target_option") @TableName(value ="mbgk_target_option")
@ -24,7 +23,6 @@ public class TargetOption {
/** /**
* 主键 * 主键
*/ */
@TableField(value = "id")
private String id; private String id;
/** /**
@ -116,20 +114,18 @@ public class TargetOption {
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); return getClass().getSimpleName() +
sb.append(getClass().getSimpleName()); " [" +
sb.append(" ["); "Hash = " + hashCode() +
sb.append("Hash = ").append(hashCode()); ", id=" + id +
sb.append(", id=").append(id); ", targetId=" + targetId +
sb.append(", targetId=").append(targetId); ", columnName=" + columnName +
sb.append(", columnName=").append(columnName); ", type=" + type +
sb.append(", type=").append(type); ", op=" + op +
sb.append(", op=").append(op); ", fun=" + fun +
sb.append(", fun=").append(fun); ", val=" + val +
sb.append(", val=").append(val); ", createTime=" + createTime +
sb.append(", createTime=").append(createTime); ", updateTime=" + updateTime +
sb.append(", updateTime=").append(updateTime); "]";
sb.append("]");
return sb.toString();
} }
} }