<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.newfiber.modules.inspection.dao.EquMaintenanceWorkOrderDao"> <!-- 可根据自己的需求,是否要使用 --> <resultMap type="com.newfiber.modules.inspection.entity.EquMaintenanceWorkOrderEntity" id="equMaintenanceWorkOrderMap"> <result property="id" column="id"/> <result property="workOrderNo" column="work_order_no"/> <result property="repairTime" column="repair_time"/> <result property="repairPersonnel" column="repair_personnel"/> <result property="repairPersonnelName" column="repair_personnel_name"/> <result property="equNo" column="equ_no"/> <result property="equName" column="equ_name"/> <result property="pumpNo" column="pump_no"/> <result property="faultPhenomenon" column="fault_phenomenon"/> <result property="workOrderType" column="work_order_type"/> <result property="distributionType" column="distribution_type"/> <result property="templateNo" column="template_no"/> </resultMap> </mapper>