Commit b1c45723 authored by 蔡镇泽's avatar 蔡镇泽

为实体类指定id

parent 97392bde
package com.hungraim.ltc.pojo.entity.eval;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName("CH_APR_EMP")
@KeySequence(value = "SEQ_CH_APR_EMP")
public class ChAprEmp {
@TableId(value = "emp_id", type = IdType.INPUT)
private Integer empId;
private Integer eduId;
private String aprempTypeNameF;
......
package com.hungraim.ltc.pojo.entity.eval;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
......@@ -7,10 +10,12 @@ import java.util.Date;
@Data
@TableName("CH_APR_REPORT_EVALUATE")
@KeySequence(value = "SEQ_CH_APR_REPORT_EVALUATE")
public class ChAprReportEvaluate {
/**
* 评定ID
*/
@TableId(value = "evaluate_id", type = IdType.INPUT)
private Integer evaluateId;
/**
......
package com.hungraim.ltc.pojo.entity.eval;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName("CH_APR_TASK")
@KeySequence(value = "SEQ_CH_APR_REPORT_EVALUATE")
public class ChAprTask {
@TableId(value = "task_id", type = IdType.INPUT)
private Integer taskId;
private java.util.Date assignTime;
private Integer taskStatus;
......
......@@ -21,7 +21,7 @@ public class ChAprTaskPush implements Serializable {
/**
* 任务推送ID(年月日+串码6)
*/
@TableId(type = IdType.INPUT)
@TableId(value = "task_push_id", type = IdType.INPUT)
private Long taskPushId;
/**
......
package com.hungraim.ltc.pojo.entity.eval;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName("CH_CFG_APR_GROUP_DETAIL")
@KeySequence("SEQ_CH_APR_TASK_PUSH")
public class ChCfgAprGroupDetail {
/**
* 评定参数列表ID
*/
@TableId(value = "detail_id", type = IdType.INPUT)
private Integer detailId;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment