ProjectFileMapper.xml 1.0 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.hssx.cloudmodel.mapper.ProjectFileMapper">
  4. <!-- 通用查询映射结果 -->
  5. <resultMap id="BaseResultMap" type="com.hssx.cloudmodel.entity.ProjectFile">
  6. <id column="id" property="id" />
  7. <result column="project_id" property="projectId" />
  8. <result column="uploader_id" property="uploaderId" />
  9. <result column="uploader" property="uploader" />
  10. <result column="file_name" property="fileName" />
  11. <result column="url" property="url" />
  12. <result column="file_type" property="fileType" />
  13. <result column="file_size" property="fileSize" />
  14. <result column="indate" property="indate" />
  15. </resultMap>
  16. <!-- 通用查询结果列 -->
  17. <sql id="Base_Column_List">
  18. id, project_id, uploader_id, uploader, file_name, url, file_type, file_size, indate
  19. </sql>
  20. </mapper>