数据库实体和String替换 TableName_Field

public class TableName_Field
{
private String tableName = null;

private List<EsbTableField> list = null;

public String getTableName()
{
return tableName;
}

public void setTableName(String tableName)
{
this.tableName = tableName;
}

public List<EsbTableField> getList()
{
return list;
}

public void setList(List<EsbTableField> list)
{
this.list = list;
}

}
package com.ruoyi.bpm.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.bpm.domain.RfProjectReport1; import org.apache.ibatis.annotations.Mapper; @Mapper public interface RfProjectReportMapper1 extends BaseMapper<RfProjectReport1> { } package com.ruoyi.bpm.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 lombok.Data; import java.util.Date; /** *@Author JimuOffice * @Description //TODO $ * @Date 2024-08-26 19:48 * @Param * @return * @Version 1.0 */ @Data @TableName("rf_project_report") public class RfProjectReport1 { @TableId(value = "id", type = IdType.AUTO) private Long id; @TableField("user_name") private String userName; @TableField("applicant") private String applicant; @TableField("department") private String department; @TableField("process_no") private String processNo; @TableField("title") private String title; @TableField("project_category") private String projectCategory; @TableField("sign_company") private String signCompany; @TableField("project_name") private String projectName; @TableField("project_no") private String projectNo; @TableField("client_company_name") private String clientCompanyName; @TableField("client_short_code") private String clientShortCode; @TableField("sales_leader") private String salesLeader; @TableField("initial_contact") private String initialContact; @TableField("contact_info") private String contactInfo; @TableField("position") private String position; @TableField("report_time") private Date reportTime; @TableField("project_location") private String projectLocation; @TableField("plan_start_time") private Date planStartTime; @TableField("plan_end_time") private Date planEndTime; @TableField("budget_amount") private String budgetAmount; @TableField("project_type") private String projectType; @TableField("after_sales_type") private String afterSalesType; @TableField("project_intro") private String projectIntro; @TableField("project_level") private String projectLevel; @TableField("remark") private String remark; @TableField("create_by") private String createBy; @TableField("create_time") private Date createTime; @TableField("update_by") private String updateBy; @TableField("update_time") private Date updateTime; } 有什么不对的吗
09-13
@Data @TableName("BIZ_MAINTENANCE_PLAN") public class BizMaintenancePlanEntity { @TableId(value ="ID" ) @JSONField(name = "id") private String id; @TableField(value = "SID" ) @JSONField(name = "sid") private Integer sid; @TableField(value = "MAINTENANCE_STATUS" ) @JSONField(name = "maintenanceStatus") private Integer maintenanceStatus; @TableField(value = "PLAN_NAME" ) @JSONField(name = "planName") private String planName; @TableField(value = "MAINTENANCE_CYCLE" ) @JSONField(name = "maintenanceCycle") private Integer maintenanceCycle; @TableField(value = "CYCLE_UNIT" ) @JSONField(name = "cycleUnit") private Integer cycleUnit; @TableField(value = "RELATED_STRATEGY_ID" ) @JSONField(name = "relatedStrategyId") private String relatedStrategyId; @TableField(fill = FieldFill.INSERT, value = "CREATED_AT") @JSONField(name = "createdAt") private Date createdAt; @TableField(fill = FieldFill.INSERT_UPDATE, value = "UPDATED_AT") @JSONField(name = "updatedAt") private Date updatedAt; @TableField(value = "DELETED_AT" ) @JSONField(name = "deletedAt") private Date deletedAt; @TableField(value = "F_TENANT_ID",fill = FieldFill.INSERT_UPDATE) @JSONField(name = "tenantId") private String tenantId; @TableField("F_FLOW_ID") @JSONField(name = "flowId") private String flowId; @TableField("F_FLOW_TASK_ID") @JSONField(name = "flowTaskId") private String flowTaskId; @TableField("MAINTENANCE_DURATION") @JSONField(name = "maintenanceDuration") private String maintenanceDuration; /** 设备id **/ @TableField("DEVICE_ID") @JSONField(name = "deviceId") private String deviceId; @TableField(exist = false) @JSONField(name = "deviceName") private String deviceName; @TableField(exist = false) @JSONField(name = "kks") private String kks; /** fmea项目对应的故障模式list **/ @TableField(exist = false) @JSONField(name = "relatedStrategyList") private List<BizMainPlanFaultModeEntity> relatedStrategyList; } */ @Data @TableName("BIZ_MAIN_PLAN_FAULT_MODE") public class BizMainPlanFaultModeEntity { @TableId(value ="ID" ) @JSONField(name = "id") private String id; @TableField(value = "REPAIR_PLAN_ID" ) @JSONField(name = "repairPlanId") private String repairPlanId; @TableField(value = "CAUSE_GROUP_DESC" ) @JSONField(name = "causeGroupDesc") private String causeGroupDesc; @TableField(value = "DET" ) @JSONField(name = "det") private Integer det; @TableField(value = "FAULT_MODE_NAME" ) @JSONField(name = "faultModeName") private String faultModeName; @TableField(value = "FUNCTION_DESC" ) @JSONField(name = "functionDesc") private String functionDesc; @TableField(value = "MAINTENANCE_CONTENT" ) @JSONField(name = "maintenanceContent") private String maintenanceContent; @TableField(value = "MAINTENANCE_STRATEGY" ) @JSONField(name = "maintenanceStrategy") private String maintenanceStrategy; @TableField(value = "OCC" ) @JSONField(name = "occ") private Integer occ; @TableField(value = "OPTIMIZATION_SUGGESTION" ) @JSONField(name = "optimizationSuggestion") private String optimizationSuggestion; @TableField(value = "PART_AFFECT_DESC" ) @JSONField(name = "partAffectDesc") private String partAffectDesc; @TableField(value = "RISK_LEVEL" ) @JSONField(name = "riskLevel") private String riskLevel; @TableField(value = "RPN" ) @JSONField(name = "rpn") private Integer rpn; @TableField(value = "STRUCTURE_CHILD_NAME" ) @JSONField(name = "structureChildName") private String structureChildName; @TableField(value = "STRUCTURE_NAME" ) @JSONField(name = "structureName") private String structureName; @TableField(value = "STRUCTURE_PARENT_NAME" ) @JSONField(name = "structureParentName") private String structureParentName; @TableField(value = "TOP_AFFECT_DESC" ) @JSONField(name = "topAffectDesc") private String topAffectDesc; @TableField(value = "F_TENANT_ID",fill = FieldFill.INSERT_UPDATE) @JSONField(name = "tenantId") private String tenantId; @TableField("F_FLOW_ID") @JSONField(name = "flowId") private String flowId; @TableField("F_FLOW_TASK_ID") @JSONField(name = "flowTaskId") private String flowTaskId; }
10-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值