TaskDetailMapper.xml 5.63 KB
<?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.huaheng.pc.task.taskDetail.mapper.TaskDetailMapper">
  <resultMap id="BaseResultMap" type="com.huaheng.pc.task.taskDetail.domain.TaskDetail">
    <!--@mbg.generated-->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="taskId" jdbcType="INTEGER" property="taskId" />
    <result column="taskType" jdbcType="INTEGER" property="taskType" />
    <result column="internalTaskType" jdbcType="INTEGER" property="internalTaskType" />
    <result column="warehouseCode" jdbcType="VARCHAR" property="warehouseCode" />
    <result column="companyCode" jdbcType="VARCHAR" property="companyCode" />
    <result column="materialCode" jdbcType="VARCHAR" property="materialCode" />
    <result column="materialName" jdbcType="VARCHAR" property="materialName" />
    <result column="materialSpec" jdbcType="VARCHAR" property="materialSpec" />
    <result column="materialUnit" jdbcType="VARCHAR" property="materialUnit" />
    <result column="qty" jdbcType="INTEGER" property="qty" />
    <result column="weights" jdbcType="DECIMAL" property="weights" />
    <result column="fromLocation" jdbcType="VARCHAR" property="fromLocation" />
    <result column="toLocation" jdbcType="VARCHAR" property="toLocation" />
    <result column="containerCode" jdbcType="VARCHAR" property="containerCode" />
    <result column="fromZone" jdbcType="VARCHAR" property="fromZone" />
    <result column="toZone" jdbcType="VARCHAR" property="toZone" />
    <result column="attributeId" jdbcType="INTEGER" property="attributeId" />
    <result column="referenceCode" jdbcType="VARCHAR" property="referenceCode" />
    <result column="referenceLineId" jdbcType="INTEGER" property="referenceLineId" />
    <result column="assignedUser" jdbcType="VARCHAR" property="assignedUser" />
    <result column="attribute1" jdbcType="VARCHAR" property="attribute1" />
    <result column="attribute2" jdbcType="VARCHAR" property="attribute2" />
    <result column="attribute3" jdbcType="VARCHAR" property="attribute3" />
    <result column="batch" jdbcType="VARCHAR" property="batch" />
    <result column="lot" jdbcType="VARCHAR" property="lot" />
    <result column="projectNo" jdbcType="VARCHAR" property="projectNo" />
    <result column="qcCheck" jdbcType="VARCHAR" property="qcCheck" />
    <result column="manufactureDate" jdbcType="DATE" property="manufactureDate" />
    <result column="expirationDate" jdbcType="DATE" property="expirationDate" />
    <result column="agingDate" jdbcType="DATE" property="agingDate" />
    <result column="inventorySts" jdbcType="VARCHAR" property="inventorySts" />
    <result column="waveId" jdbcType="INTEGER" property="waveId" />
    <result column="fromInventoryId" jdbcType="INTEGER" property="fromInventoryId" />
    <result column="toInventoryId" jdbcType="INTEGER" property="toInventoryId" />
    <result column="confirmedBy" jdbcType="VARCHAR" property="confirmedBy" />
    <result column="groupNum" jdbcType="INTEGER" property="groupNum" />
    <result column="groupIndex" jdbcType="INTEGER" property="groupIndex" />
    <result column="created" jdbcType="TIMESTAMP" property="created" />
    <result column="createdBy" jdbcType="VARCHAR" property="createdBy" />
    <result column="lastUpdated" jdbcType="TIMESTAMP" property="lastUpdated" />
    <result column="lastUpdatedBy" jdbcType="VARCHAR" property="lastUpdatedBy" />
    <result column="version" jdbcType="INTEGER" property="version" />
    <result column="userDef1" jdbcType="VARCHAR" property="userDef1" />
    <result column="userDef2" jdbcType="VARCHAR" property="userDef2" />
    <result column="userDef3" jdbcType="VARCHAR" property="userDef3" />
    <result column="processStamp" jdbcType="VARCHAR" property="processStamp" />
    <result column="containQty" jdbcType="INTEGER" property="containQty" />
    <result column="sn" jdbcType="VARCHAR" property="sn" />
    <result column="electricQuantity" jdbcType="DECIMAL" property="electricQuantity" />
    <result column="materialNetWeight" jdbcType="DECIMAL" property="materialNetWeight" />
    <result column="materialTareWeight" jdbcType="DECIMAL" property="materialTareWeight" />
    <result column="materialGrossWeight" jdbcType="DECIMAL" property="materialGrossWeight" />
    <result column="batteryQty" jdbcType="DECIMAL" property="batteryQty" />
    <result column="batteryPackType" jdbcType="VARCHAR" property="batteryPackType" />
    <result column="batteryTypes" jdbcType="VARCHAR" property="batteryTypes" />
    <result column="completeness" jdbcType="VARCHAR" property="completeness" />
    <result column="batteryPackTwoCode" jdbcType="VARCHAR" property="batteryPackTwoCode" />
    <result column="dischargeReview" jdbcType="INTEGER" property="dischargeReview" />
    <result column="materialIsBattery" jdbcType="INTEGER" property="materialIsBattery" />
  </resultMap>
  <sql id="Base_Column_List">
    <!--@mbg.generated-->
    id, taskId, taskType, internalTaskType, warehouseCode, companyCode, materialCode,
    materialName, materialSpec, materialUnit, qty, fromLocation, toLocation, containerCode, 
    fromZone, toZone, attributeId, referenceCode, referenceId, referenceLineId,sn,weights,
    assignedUser, attribute1, attribute2, attribute3, attribute4, batch, lot, projectNo, 
    qcCheck, manufactureDate, expirationDate, agingDate, inventorySts, waveId, fromInventoryId, 
    toInventoryId, confirmedBy, groupNum, groupIndex, created, createdBy, lastUpdated,electricQuantity,
    lastUpdatedBy, version, userDef1, userDef2, userDef3, processStamp, containQty,materialNetWeight,materialTareWeight,materialGrossWeight
  </sql>
</mapper>