fix(tenant): 修正代理租户套餐MyBatis映射及VO类型错误

This commit is contained in:
2025-11-24 21:18:15 +08:00
parent 43dd7cf768
commit d05ce7336c
6 changed files with 28 additions and 9 deletions

View File

@@ -8,5 +8,19 @@
代码生成器暂时只生成 Mapper XML 文件本身,更多推荐 MybatisX 快速开发插件来生成查询。
文档可见https://www.iocoder.cn/MyBatis/x-plugins/
-->
<resultMap id="TenantAgencyPackageResultMap" type="cn.iocoder.yudao.module.system.dal.dataobject.tenantagencypackage.TenantAgencyPackageDO">
<id property="id" column="id" />
<result property="name" column="name" />
<result property="price" column="price" />
<result property="status" column="status" />
<result property="remark" column="remark" />
<result property="menuIds" column="menu_ids" typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler" />
<result property="createTime" column="create_time" />
</resultMap>
<select id="selectWithXml"
resultMap="TenantAgencyPackageResultMap">
select * from system_tenant_agency_package where id = #{id}
</select>
</mapper>