<?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.sy.coinage.workshop.dao.CheckBackupDao">
  <resultMap id="BaseResultMap" type="com.sy.coinage.workshop.model.CheckBackup">
    <id column="id" jdbcType="INTEGER" property="id"/>
    <result column="rfid" jdbcType="VARCHAR" property="rfid"/>
    <result column="serial_number" jdbcType="VARCHAR" property="serialNumber"/>
    <result column="qty" jdbcType="INTEGER" property="qty"/>
    <result column="crown_list" jdbcType="VARCHAR" property="crownList"/>
    <result column="check_time" jdbcType="TIMESTAMP" property="checkTime"/>
    <result column="check_operator_cn" jdbcType="VARCHAR" property="checkOperatorCn"/>
    <result column="checker" jdbcType="VARCHAR" property="checker"/>
    <result column="workshop_check_in_time" jdbcType="TIMESTAMP" property="workshopCheckInTime"/>
      <result column="workshop_check_in_operator_cn" jdbcType="VARCHAR" property="workshopCheckInOperatorCn"/>
    <result column="workshop_check_in_cn" jdbcType="VARCHAR" property="workshopCheckInCn"/>
    <result column="workshop_check_out_time" jdbcType="TIMESTAMP" property="workshopCheckOutTime"/>
    <result column="workshop_check_out_operator_cn" jdbcType="VARCHAR"
      property="workshopCheckOutOperatorCn"/>
    <result column="workshop_check_out_cn" jdbcType="VARCHAR" property="workshopCheckOutCn"/>
    <result column="check_back_time" jdbcType="TIMESTAMP" property="checkBackTime"/>
    <result column="check_back_operator_cn" jdbcType="VARCHAR" property="checkBackOperatorCn"/>
    <result column="check_back_cn" jdbcType="VARCHAR" property="checkBackCn"/>
    <result column="status" jdbcType="INTEGER" property="status"/>
    <result column="return_crown_list" jdbcType="VARCHAR" property="returnCrownList"/>
    <result column="crown_prefix" jdbcType="VARCHAR" property="crownPrefix"/>
    <result column="ware_id" jdbcType="VARCHAR" property="wareId"/>
    <result column="ware_cn" jdbcType="VARCHAR" property="wareCn"/>
    <result column="dept" jdbcType="VARCHAR" property="dept"/>
    <result column="dept_id" jdbcType="INTEGER" property="deptId"/>
    <result column="area_id" jdbcType="INTEGER" property="areaId"/>
  </resultMap>
    <sql id="Base_Column_List">
      id
      , rfid, serial_number, qty, crown_list, check_time, check_operator_cn, checker, workshop_check_in_time, workshop_check_in_operator_cn, workshop_check_in_cn, workshop_check_out_time, workshop_check_out_operator_cn, workshop_check_out_cn, check_back_time, check_back_operator_cn, check_back_cn, status, return_crown_list, crown_prefix, ware_id, ware_cn, dept_id, dept, area_id
    </sql>

    <!--  <select id="queryPageList" resultType="com.sy.coinage.workshop.vo.CheckBackupVO">-->
    <!--    SELECT-->
    <!--    rfid_check_backup.*-->
    <!--    FROM-->
    <!--    rfid_check_backup-->
    <!--    LEFT JOIN-->
    <!--    rfid_check_backup-->
    <!--    ON-->
    <!--    rfid_check_backup.id = rfid_check_backup.id-->
    <!--    <if test="ew.emptyOfWhere == false">-->
    <!--      ${ew.customSqlSegment}-->
    <!--    </if>-->
    <!--  </select>-->

</mapper>

