| <?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.zy.asrs.mapper.WrkDetlMapper"> | 
|   | 
|     <!-- 通用查询映射结果 --> | 
|     <resultMap id="BaseResultMap" type="com.zy.asrs.entity.WrkDetl"> | 
|         <result column="wrk_no" property="wrkNo" /> | 
|         <result column="io_time" property="ioTime" /> | 
|         <result column="matnr" property="matnr" /> | 
|         <result column="maktx" property="maktx" /> | 
|         <result column="specs" property="specs" /> | 
|         <result column="size" property="size" /> | 
|         <result column="color" property="color" /> | 
|         <result column="weight" property="weight" /> | 
|         <result column="bill_no" property="billNo" /> | 
|         <result column="seq_no" property="seqNo" /> | 
|         <result column="brand" property="brand" /> | 
|         <result column="anfme" property="anfme" /> | 
|         <result column="unit" property="unit" /> | 
|         <result column="zpallet" property="zpallet" /> | 
|         <result column="bname" property="bname" /> | 
|         <result column="memo" property="memo" /> | 
|         <result column="modi_user" property="modiUser" /> | 
|         <result column="modi_time" property="modiTime" /> | 
|         <result column="appe_user" property="appeUser" /> | 
|         <result column="appe_time" property="appeTime" /> | 
|     </resultMap> | 
|   | 
|     <select id="findByWorkNo" resultMap="BaseResultMap"> | 
|         select wrk_no, matnr, maktx, anfme from asr_wrk_detl where 1=1 and wrk_no = #{workNo} | 
|     </select> | 
|   | 
|     <update id="updateIoTime"> | 
|         update asr_wrk_detl | 
|         set io_time = #{ioTime} | 
|         where 1=1 | 
|         and wrk_no = #{workNo} | 
|     </update> | 
|   | 
|     <select id="selectByWrkNo" resultMap="BaseResultMap"> | 
|         select * from asr_wrk_detl where 1=1 and wrk_no = #{wrkNo} | 
|     </select> | 
|   | 
| </mapper> |