Skip to content

Commit

Permalink
Fix daemon errr (DataLinkDC#2560)
Browse files Browse the repository at this point in the history
* Optimize the process

* fix daemon err

* fix daemon err

* fix daemon err
  • Loading branch information
gaoyan1998 authored Nov 21, 2023
1 parent 3d217dd commit 16f634d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ public class History implements Serializable {
@ApiModelProperty(hidden = true)
private String clusterName;

@TableField(value = "count(*)", insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
@TableField(
value = "count(*)",
select = false,
insertStrategy = FieldStrategy.NEVER,
updateStrategy = FieldStrategy.NEVER)
@ApiModelProperty(value = "Group by count", dataType = "Integer")
private Long count;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ public class JobInstance implements Serializable {
@ApiModelProperty(value = "Operator", required = true, dataType = "Integer", example = "Operator")
private Integer operator;

@TableField(value = "count(*)", insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
@TableField(
value = "count(*)",
select = false,
insertStrategy = FieldStrategy.NEVER,
updateStrategy = FieldStrategy.NEVER)
@ApiModelProperty(value = "Group by count", dataType = "Integer")
private Long count;
}

0 comments on commit 16f634d

Please sign in to comment.