feat (farm): 基地规划

- 首次进入加载所有的基地信息
This commit is contained in:
达富斌
2025-08-27 17:26:00 +08:00
parent 83a2828d0d
commit 36091b8368
8 changed files with 256 additions and 54 deletions

View File

@@ -9,4 +9,14 @@
文档可见:https://www.iocoder.cn/MyBatis/x-plugins/
-->
<select id="getSpeciesCount" parameterType="Long" resultType="java.lang.Integer">
SELECT count(*)
FROM farm_species_library
<where>
deleted = 0
<if test="tenantId != null and tenantId !=''">AND tenant_id = #{tenantId}</if>
<if test="baseId != null and baseId !=''">AND base_id = #{baseId}</if>
</where>
</select>
</mapper>