Commit 0e8bc019 authored by lixuan's avatar lixuan

feat: 房源

parent fecad878
Pipeline #145489 failed with stages
......@@ -24,6 +24,8 @@ public class HouseResourcePageQuery extends PageDomain {
private Integer wgType;
private List<Integer> wgTypes;
private Integer hireStatus;
private String houseNumber;
......
......@@ -140,6 +140,12 @@
<if test="query.wgType != null">
and t1.type = #{query.wgType}
</if>
<if test="query.wgTypes != null and query.wgTypes.size() > 0">
and t1.type in
<foreach item="item" index="index" collection="query.wgTypes" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="query.two != null and query.two != ''">
and t1.two = #{query.two}
</if>
......@@ -301,6 +307,12 @@
<if test="query.wgType != null">
and t1.type = #{query.wgType}
</if>
<if test="query.wgTypes != null and query.wgTypes.size() > 0">
and t1.type in
<foreach item="item" index="index" collection="query.wgTypes" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="query.two != null and query.two != ''">
and t1.two = #{query.two}
</if>
......@@ -456,6 +468,12 @@
<if test="query.wgType != null">
and t1.type = #{query.wgType}
</if>
<if test="query.wgTypes != null and query.wgTypes.size() > 0">
and t1.type in
<foreach item="item" index="index" collection="query.wgTypes" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="query.two != null and query.two != ''">
and t1.two = #{query.two}
</if>
......@@ -635,6 +653,12 @@
<if test="query.wgType != null">
and t1.type = #{query.wgType}
</if>
<if test="query.wgTypes != null and query.wgTypes.size() > 0">
and t1.type in
<foreach item="item" index="index" collection="query.wgTypes" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="query.two != null and query.two != ''">
and t1.two = #{query.two}
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment