|
@@ -58,10 +58,11 @@ public class DmInformation extends BaseEntity implements Serializable {
|
|
|
private String status;
|
|
|
|
|
|
@ApiModelProperty(value = "审批人")
|
|
|
- @OneToOne(fetch = FetchType.LAZY,cascade = {CascadeType.REFRESH})
|
|
|
- @NotFound(action = NotFoundAction.IGNORE)
|
|
|
- @JoinColumn(name = "approval_user",referencedColumnName = "id")
|
|
|
- private DmUser approvalUser;
|
|
|
+ @Column(name = "approval_user")
|
|
|
+// @OneToOne
|
|
|
+// @NotFound(action = NotFoundAction.IGNORE)
|
|
|
+// @JoinColumn(name = "approval_user",referencedColumnName = "id")
|
|
|
+ private String approvalUser;
|
|
|
|
|
|
@Column(name = "task_id")
|
|
|
@ApiModelProperty(value = "任务ID act_ru_task")
|
|
@@ -72,10 +73,11 @@ public class DmInformation extends BaseEntity implements Serializable {
|
|
|
private String procInstId;
|
|
|
|
|
|
@ApiModelProperty(value = "发起人")
|
|
|
- @OneToOne(fetch = FetchType.LAZY,cascade = {CascadeType.REFRESH})
|
|
|
- @NotFound(action = NotFoundAction.IGNORE)
|
|
|
- @JoinColumn(name = "request_user",referencedColumnName = "id")
|
|
|
- private DmUser requestUser;
|
|
|
+// @OneToOne
|
|
|
+// @NotFound(action = NotFoundAction.IGNORE)
|
|
|
+// @JoinColumn(name = "request_user",referencedColumnName = "id")
|
|
|
+ @Column(name = "request_user")
|
|
|
+ private String requestUser;
|
|
|
|
|
|
@Column(name = "release_time")
|
|
|
@ApiModelProperty(value = "发布时间")
|
|
@@ -87,6 +89,7 @@ public class DmInformation extends BaseEntity implements Serializable {
|
|
|
|
|
|
@Column(name = "title")
|
|
|
@ApiModelProperty(value = "发布标题")
|
|
|
+ @NotBlank
|
|
|
private String title;
|
|
|
|
|
|
@Column(name = "approval_remark")
|