Skip to content

Commit

Permalink
[INLONG-9337][Manager] Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
fuweng11 committed Nov 28, 2023
1 parent fe7cc5a commit 2c6fe68
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@
<if test="request.inlongStreamId != null and request.inlongStreamId != ''">
and inlong_stream_id = #{request.inlongStreamId, jdbcType=VARCHAR}
</if>
<if test="request.operationType != null and request.operationType != ''">
and operation_type = #{request.operationType, jdbcType=VARCHAR}
</if>
<if test="request.operationTarget != null and request.operationTarget != ''">
and operation_target = #{request.operationTarget, jdbcType=VARCHAR}
</if>
<if test="request.startDate != null and request.startDate != '' and request.endDate != null and request.endDate != ''">
and request_time &gt;= #{request.startDate, jdbcType=VARCHAR}
and request_time &lt; #{request.endDate, jdbcType=VARCHAR}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ public class OperationLogRequest extends PageRequest {
@ApiModelProperty("Inlong stream id")
private String inlongStreamId;

@ApiModelProperty("Operation type")
private String operationType;

@ApiModelProperty("Operation target")
private String operationTarget;

@ApiModelProperty(value = "query start date, format by 'yyyy-MM-dd'", required = false, example = "2022-01-01")
private String startDate;

Expand Down

0 comments on commit 2c6fe68

Please sign in to comment.