Browse Source

人防概览下钻接口bug修改

master
sunyuchao 3 years ago
parent
commit
304fd62c86
  1. 2
      epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcHouseDao.xml
  2. 8
      epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

2
epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcHouseDao.xml

@ -629,7 +629,7 @@
) )
</otherwise> </otherwise>
</choose> </choose>
GROUP BY ORDER BY
a.sort, a.sort,
CONVERT(c.NEIGHBOR_HOOD_NAME using gbk), CONVERT(c.NEIGHBOR_HOOD_NAME using gbk),
CONVERT(b.BUILDING_NAME USING gbk), CONVERT(b.BUILDING_NAME USING gbk),

8
epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

@ -1313,6 +1313,12 @@
del_flag = '0' del_flag = '0'
AND status = '0' AND status = '0'
AND customer_id = #{customerId} AND customer_id = #{customerId}
<if test='null != type and type.trim() != "" and type == "cz" '>
AND is_floating = '0'
</if>
<if test='null != type and type.trim() != "" and type == "ld" '>
AND (is_floating != '0' or is_floating is null)
</if>
<choose> <choose>
<when test='orgType == "agency"'> <when test='orgType == "agency"'>
AND (agency_id = #{orgId} OR pids LIKE CONCAT('%', #{orgId}, '%')) AND (agency_id = #{orgId} OR pids LIKE CONCAT('%', #{orgId}, '%'))
@ -1334,7 +1340,7 @@
AND village_id = #{orgId} AND village_id = #{orgId}
</otherwise> </otherwise>
</choose> </choose>
GROUP BY `name` ASC ORDER BY `name` ASC
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save