2
0

2 Ревизии c051bb9c30 ... fb1ad7bd91

Автор SHA1 Съобщение Дата
  lin fb1ad7bd91 Merge remote-tracking branch 'origin/20210716' into 20210716 преди 3 години
  lin 9ec974065e 小区code преди 3 години
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      zoniot-rmcp/zoniot-rmcp-core/src/main/java/com/zcxk/rmcp/core/mapper/CommunityMapper.xml

+ 1 - 2
zoniot-rmcp/zoniot-rmcp-core/src/main/java/com/zcxk/rmcp/core/mapper/CommunityMapper.xml

@@ -232,9 +232,8 @@
   </select>
 
   <select id="getMaxCodeBySiteId" resultType="java.lang.String">
-        select  MAX(ifnull(code,0))+1 code
+        select  MAX(ifnull(id,0))+1 code
         from rmcp_community
-        where tenant_id = #{tenantId}
   </select>
   
   <select id="findCommunity" resultType="com.zcxk.rmcp.core.entity.Community">