MaintenanceTaskMapper.xml 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.zksy.base.mapper.MaintenanceTaskMapper">
  6. <resultMap id="BaseResultMap" type="com.zksy.base.domain.MaintenanceTask">
  7. <id property="taskId" column="task_id" jdbcType="BIGINT"/>
  8. <result property="taskNo" column="task_no" jdbcType="VARCHAR"/>
  9. <result property="deptId" column="dept_id" jdbcType="BIGINT"/>
  10. <result property="dispatchUserId" column="dispatch_user_id" jdbcType="BIGINT"/>
  11. <result property="receiveUserId" column="receive_user_id" jdbcType="BIGINT"/>
  12. <result property="taskDesc" column="task_desc" jdbcType="VARCHAR"/>
  13. <result property="taskLevel" column="task_level" jdbcType="TINYINT"/>
  14. <result property="taskStatus" column="task_status" jdbcType="TINYINT"/>
  15. <result property="planStartTime" column="plan_start_time" jdbcType="TIMESTAMP"/>
  16. <result property="planEndTime" column="plan_end_time" jdbcType="TIMESTAMP"/>
  17. <result property="realStartTime" column="real_start_time" jdbcType="TIMESTAMP"/>
  18. <result property="realEndTime" column="real_end_time" jdbcType="TIMESTAMP"/>
  19. <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
  20. <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
  21. </resultMap>
  22. <sql id="Base_Column_List">
  23. task_id,task_no,dept_id,
  24. dispatch_user_id,receive_user_id,task_desc,
  25. task_level,task_status,plan_start_time,
  26. plan_end_time,real_start_time,real_end_time,
  27. create_time,update_time
  28. </sql>
  29. </mapper>