|
@@ -39,7 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
t_cut_off_water_extra
|
|
|
WHERE
|
|
|
del_flag = 0
|
|
|
- AND neighborhood_id = ( SELECT ID FROM t_neighborhood WHERE del_flag = 0 AND `name` LIKE concat('%', #{neighbourhoodName}, '%') ))</if>
|
|
|
+ AND neighborhood_id in ( SELECT ID FROM t_neighborhood WHERE del_flag = 0 AND `name` LIKE concat('%', #{neighbourhoodName}, '%') ))</if>
|
|
|
<if test="status != null ">
|
|
|
<choose>
|
|
|
<when test="status == 1">and now() < time_begin </when>
|