|
@@ -72,10 +72,10 @@
|
|
<if test="roomNumber != null">
|
|
<if test="roomNumber != null">
|
|
and roomNumber = #{roomNumber}
|
|
and roomNumber = #{roomNumber}
|
|
</if>
|
|
</if>
|
|
- <if test="roomState == 0 or roomState == 1">
|
|
|
|
|
|
+ <if test="roomState != null">
|
|
and roomState = #{roomState}
|
|
and roomState = #{roomState}
|
|
</if>
|
|
</if>
|
|
- <if test="investmentState == 0 or investmentState == 1">
|
|
|
|
|
|
+ <if test="investmentState != null">
|
|
and investmentState = #{investmentState}
|
|
and investmentState = #{investmentState}
|
|
</if>
|
|
</if>
|
|
<if test="invocationDate != null">
|
|
<if test="invocationDate != null">
|
|
@@ -149,10 +149,10 @@
|
|
<if test="roomNumber != null">
|
|
<if test="roomNumber != null">
|
|
and roomNumber = #{roomNumber}
|
|
and roomNumber = #{roomNumber}
|
|
</if>
|
|
</if>
|
|
- <if test="roomState == 0 or roomState == 1">
|
|
|
|
|
|
+ <if test="roomState != null">
|
|
and roomState = #{roomState}
|
|
and roomState = #{roomState}
|
|
</if>
|
|
</if>
|
|
- <if test="investmentState == 0 or investmentState == 1">
|
|
|
|
|
|
+ <if test="investmentState != null">
|
|
and investmentState = #{investmentState}
|
|
and investmentState = #{investmentState}
|
|
</if>
|
|
</if>
|
|
<if test="invocationDate != null">
|
|
<if test="invocationDate != null">
|
|
@@ -211,10 +211,10 @@
|
|
<if test="p.roomNumber != null">
|
|
<if test="p.roomNumber != null">
|
|
and roomNumber = #{p.roomNumber}
|
|
and roomNumber = #{p.roomNumber}
|
|
</if>
|
|
</if>
|
|
- <if test="p.roomState == 0 or p.roomState == 1">
|
|
|
|
|
|
+ <if test="p.roomState != null">
|
|
and roomState = #{p.roomState}
|
|
and roomState = #{p.roomState}
|
|
</if>
|
|
</if>
|
|
- <if test="p.investmentState == 0 or p.investmentState == 1">
|
|
|
|
|
|
+ <if test="p.investmentState != null">
|
|
and investmentState = #{p.investmentState}
|
|
and investmentState = #{p.investmentState}
|
|
</if>
|
|
</if>
|
|
<if test="p.invocationDate != null">
|
|
<if test="p.invocationDate != null">
|
|
@@ -260,8 +260,8 @@
|
|
<if test="roomTypeId!=0">roomTypeId=#{roomTypeId},</if>
|
|
<if test="roomTypeId!=0">roomTypeId=#{roomTypeId},</if>
|
|
<if test="roomNumber!=null">roomNumber=#{roomNumber},</if>
|
|
<if test="roomNumber!=null">roomNumber=#{roomNumber},</if>
|
|
<if test="area!=null">area=#{area},</if>
|
|
<if test="area!=null">area=#{area},</if>
|
|
- <if test="roomState!=0">roomState=#{roomState},</if>
|
|
|
|
- <if test="investmentState!=0">investmentState=#{investmentState},</if>
|
|
|
|
|
|
+ <if test="roomState!=null">roomState=#{roomState},</if>
|
|
|
|
+ <if test="investmentState!=null">investmentState=#{investmentState},</if>
|
|
<if test="invocationDate!=null">invocationDate=#{invocationDate},</if>
|
|
<if test="invocationDate!=null">invocationDate=#{invocationDate},</if>
|
|
<if test="decoration!=0">decoration=#{decoration},</if>
|
|
<if test="decoration!=0">decoration=#{decoration},</if>
|
|
<if test="propertyCertificateNumber!=null">propertyCertificateNumber=#{propertyCertificateNumber},</if>
|
|
<if test="propertyCertificateNumber!=null">propertyCertificateNumber=#{propertyCertificateNumber},</if>
|