BomDetailMapper.xml 2.68 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.config.bom.mapper.BomDetailMapper">
  <resultMap id="BaseResultMap" type="com.huaheng.pc.config.bom.domain.BomDetail">
    <!--@mbg.generated-->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="warehouseCode" jdbcType="VARCHAR" property="warehouseCode" />
    <result column="companyCode" jdbcType="VARCHAR" property="companyCode" />
    <result column="bomId" jdbcType="INTEGER" property="bomId" />
    <result column="materialCode" jdbcType="VARCHAR" property="materialCode" />
    <result column="materialName" jdbcType="VARCHAR" property="materialName" />
    <result column="materialUnit" jdbcType="VARCHAR" property="materialUnit" />
    <result column="buildLevel" jdbcType="INTEGER" property="buildLevel" />
    <result column="buildSequence" jdbcType="INTEGER" property="buildSequence" />
    <result column="qty" jdbcType="INTEGER" property="qty" />
    <result column="allocationRule" jdbcType="VARCHAR" property="allocationRule" />
    <result column="fromLocation" jdbcType="VARCHAR" property="fromLocation" />
    <result column="enable" jdbcType="BIT" property="enable" />
    <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="userDef4" jdbcType="VARCHAR" property="userDef4" />
    <result column="userDef5" jdbcType="VARCHAR" property="userDef5" />
    <result column="userDef6" jdbcType="VARCHAR" property="userDef6" />
    <result column="userDef7" jdbcType="VARCHAR" property="userDef7" />
    <result column="userDef8" jdbcType="VARCHAR" property="userDef8" />
    <result column="processStamp" jdbcType="VARCHAR" property="processStamp" />
  </resultMap>
  <sql id="Base_Column_List">
    <!--@mbg.generated-->
    id, warehouseCode, companyCode, bomId, materialCode, materialName, materialUnit, 
    buildLevel, buildSequence, qty, allocationRule, fromLocation, `enable`, created, 
    createdBy, lastUpdated, lastUpdatedBy, version, userDef1, userDef2, userDef3, userDef4, 
    userDef5, userDef6, userDef7, userDef8, processStamp
  </sql>
</mapper>