添加参数

This commit is contained in:
huangzj
2023-11-24 11:28:12 +08:00
parent 44832df878
commit 92107c12b2
2 changed files with 4 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ public class CsConfigurationParm {
@Data @Data
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
public static class CsConfigurationQueryParam extends BaseParam { public static class CsConfigurationQueryParam extends BaseParam {
private String id;
} }

View File

@@ -33,6 +33,9 @@
<if test="temp!=null and temp.searchBeginTime != null and temp.searchBeginTime !=''"> <if test="temp!=null and temp.searchBeginTime != null and temp.searchBeginTime !=''">
AND a.create_time &gt;= #{temp.searchBeginTime} AND a.create_time &gt;= #{temp.searchBeginTime}
</if> </if>
<if test="temp!=null and temp.id != null and temp.id !=''">
AND a.id = #{temp.id}
</if>
order by a.order_by asc,create_time desc order by a.order_by asc,create_time desc
</select> </select>