farm模块-基础信息通过租号获取

This commit is contained in:
顾君禹
2025-08-22 15:08:03 +08:00
parent dcfd52b9bd
commit 63d972e3bc
5 changed files with 54 additions and 70 deletions

View File

@@ -9,4 +9,11 @@
文档可见:https://www.iocoder.cn/MyBatis/x-plugins/
-->
<select id="selectByTenantId" parameterType="Long"
resultType="cn.iocoder.yudao.module.farm.dal.dataobject.foundationinfo.FoundationInfoDO">
select *
from farm_foundation_info
where tenant_id = #{tenantId}
and deleted = 0
</select>
</mapper>