|
@@ -519,6 +519,7 @@
|
|
<if test="customerId != null"> and sd.customer_id = #{customerId}</if>
|
|
<if test="customerId != null"> and sd.customer_id = #{customerId}</if>
|
|
<if test="valveStatus != null and valveStatus != 2"> and swmed.valve_status = #{valveStatus}</if>
|
|
<if test="valveStatus != null and valveStatus != 2"> and swmed.valve_status = #{valveStatus}</if>
|
|
<if test="valveStatus != null and valveStatus == 2"> and sdt.is_valve = 0</if>
|
|
<if test="valveStatus != null and valveStatus == 2"> and sdt.is_valve = 0</if>
|
|
|
|
+ <if test="registerStatus != null"> and sd.register_status = #{registerStatus}</if>
|
|
<if test="days != null">
|
|
<if test="days != null">
|
|
<choose>
|
|
<choose>
|
|
<when test="days == 0">
|
|
<when test="days == 0">
|