You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
5.2 KiB
XML

<?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.op.mes.mapper.MesReportWorksMapper">
<resultMap type="MesReportWork" id="MesReportWorkResult">
<result property="id" column="id"/>
<result property="reportType" column="report_type"/>
<result property="reportCode" column="report_code"/>
<result property="workorderCode" column="workorder_code"/>
<result property="workorderCodeSap" column="workorder_code_sap"/>
<result property="productCode" column="product_code"/>
<result property="productName" column="product_name"/>
<result property="spec" column="spec"/>
<result property="unit" column="unit"/>
<result property="quantity" column="quantity"/>
<result property="quantityFeedback" column="quantity_feedback"/>
<result property="quantityQualified" column="quantity_qualified"/>
<result property="quantityUnqualified" column="quantity_unqualified"/>
<result property="userName" column="user_name"/>
<result property="nickName" column="nick_name"/>
<result property="feedbackChannel" column="feedback_channel"/>
<result property="feedbackTime" column="feedback_time"/>
<result property="recordUser" column="record_user"/>
<result property="status" column="status"/>
<result property="remark" column="remark"/>
<result property="workTime" column="work_time"/>
<result property="useMan" column="use_man"/>
<result property="machineCode" column="machine_code"/>
<result property="machineName" column="machine_name"/>
<result property="teamCode" column="team_code"/>
<result property="shiftCode" column="shift_code"/>
<result property="attr1" column="attr1"/>
<result property="attr2" column="attr2"/>
<result property="attr3" column="attr3"/>
<result property="attr4" column="attr4"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateTime" column="update_time"/>
<result property="updateBy" column="update_by"/>
<result property="uploadTime" column="upload_time"/>
<result property="uploadStatus" column="upload_status"/>
<result property="uploadMsg" column="upload_msg"/>
<result property="orderCode" column="order_code"/>
<result property="batch" column="batch"/>
<result property="materialCode" column="material_code"/>
<result property="materialName" column="material_name"/>
<result property="materialNameUnit" column="material_name_unit"/>
</resultMap>
<resultMap type="com.op.system.api.domain.mes.ProOrderWorkorderDTO" id="ProOrderWorkorderDTOResult">
<result property="workorderId" column="workorder_id"/>
<result property="workorderCode" column="workorder_code"/>
<result property="workorderName" column="workorder_name"/>
<result property="orderId" column="order_id"/>
<result property="orderCode" column="order_code"/>
<result property="productId" column="product_id"/>
<result property="productCode" column="product_code"/>
<result property="productName" column="product_name"/>
<result property="productSpc" column="product_spc"/>
<result property="unit" column="unit"/>
<result property="quantityProduced" column="quantity_produced"/>
<result property="quantitySplit" column="quantity_split"/>
<result property="routeCode" column="route_code"/>
<result property="prodLineCode" column="prod_line_code"/>
<result property="productDate" column="product_date"/>
<result property="shiftId" column="shift_id"/>
<result property="parentOrder" column="parent_order"/>
<result property="ancestors" column="ancestors"/>
<result property="status" column="status"/>
<result property="remark" column="remark"/>
<result property="attr1" column="attr1"/>
<result property="attr2" column="attr2"/>
<result property="attr3" column="attr3"/>
<result property="attr4" column="attr4"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="prodType" column="prod_type"/>
<result property="factoryCode" column="factory_code"/>
<result property="endFlag" column="end_flag"/>
<result property="carNum" column="car_num"/>
<result property="sortNo" column="sort_no"/>
<result property="workorderCodes" column="workorderCodes"/>
<result property="productCodes" column="productCodes"/>
<result property="productNames" column="productNames"/>
<result property="quantitySplits" column="quantitySplits"/>
<result property="units" column="units"/>
</resultMap>
<!-- <select id="getReportWorkList" resultMap="MesReportWorkResult" parameterType="MesReportWork">-->
<!-- </select>-->
</mapper>