1.大哥筛选添加国家选项
This commit is contained in:
@@ -41,10 +41,14 @@
|
||||
sbr.host_display_id,sbr.create_time from
|
||||
server_big_brother sbr left join server_country_info ci ON sbr.region = ci.country_name
|
||||
where sbr.tenant_id=#{dto.tenantId}
|
||||
and sbr.deleted = 0
|
||||
<!-- 大哥所属国家筛选 -->
|
||||
<if test="dto.region!= '' and dto.region != null">
|
||||
and ci.country_group_name =#{dto.region,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dto.countryName != null and dto.countryName != ''">
|
||||
and sbr.region = #{dto.countryName}
|
||||
</if>
|
||||
<!-- 大哥入库时间筛选 -->
|
||||
<if test="dto.createTimeStart != null and dto.createTimeEnd != null">
|
||||
and sbr.create_time BETWEEN #{dto.createTimeStart,jdbcType=TIMESTAMP} and #{dto.createTimeEnd,jdbcType=TIMESTAMP}
|
||||
|
||||
Reference in New Issue
Block a user