feat (farm): 基地规划
- 首次进入加载所有的基地信息
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user