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