潘志宝
2024-12-12 3374d19db03cce97572c3a294f137d1ea70b307f
提交 | 用户 | 时间
449017 1 <?xml version="1.0" encoding="UTF-8" ?>
D 2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.iailab.module.model.mpk.dao.ProjectDao">
4
5     <resultMap id="projectModel" type="com.iailab.module.model.mpk.dto.ProjectDTO">
6         <id property="id" column="id"/>
7         <result property="projectName" column="project_name"/>
8         <result property="projectCode" column="project_code"/>
9         <result property="createTime" column="create_time"/>
10         <collection property="models" ofType="com.iailab.module.model.mpk.dto.MpkFileDTO">
11             <id property="id" column="model_id"/>
12             <result property="pyName" column="py_name"/>
13         </collection>
14     </resultMap>
15 </mapper>