| | |
| | | where |
| | | type=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | where |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | where |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | where |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | and belong_type = #{belongType} |
| | | </if> |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | and kind = #{kind} |
| | | </if> |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | where |
| | | order_time is not null and solve_time is not null and belong_type in (2,3) |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | select id from new_fight_need_problem_inventory where |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | where |
| | | dyn_type =1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | SELECT COUNT( id ) FROM com_pb_check_unit |
| | | WHERE 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | LEFT JOIN com_pb_check_unit as cpcu ON m.check_unit_id = cpcu.id |
| | | WHERE m.audit_result = 1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and m.community_id in = #{communityId} |
| | | and m.community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and m.community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | t1.type=#{type} |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | from com_act_easy_photo |
| | | <where> add_type = 1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | from com_act_micro_wish |
| | | <where> |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test=" communityId !=null and communityId != '' "> |
| | | and community_id in = #{communityId} |
| | | and community_id in ( #{communityId} ) |
| | | </if> |
| | | <if test=" communityId == null and streetId !=null and streetId != '' "> |
| | | and community_id in (select community_id from com_act where street_id=#{streetId} and app_id="wx118de8a734d269f0") |