MaterialWarningMapper.xml 1.89 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.materialWarnning.mapper.MaterialWarningMapper">
    
    <resultMap type="com.huaheng.pc.config.materialWarnning.domain.MaterialWarning" id="materialWarningResult">
        <result property="id"    column="id"    />
        <result property="alarmType"    column="alarmType"    />
        <result property="warehouseCode"    column="warehouseCode"    />
        <result property="companyCode"    column="companyCode"    />
        <result property="materialCode"    column="materialCode"    />
        <result property="materialName"    column="materialName"    />
        <result property="materialSpec"    column="materialSpec"    />
        <result property="materialUnit"    column="materialUnit"    />
        <result property="max"    column="max"    />
        <result property="min"    column="min"    />
        <result property="upper"    column="upper"    />
        <result property="lower"    column="lower"    />
        <result property="remark"    column="remark"    />
        <result property="created"    column="created"    />
        <result property="createdBy"    column="createdBy"    />
        <result property="lastUpdated"    column="lastUpdated"    />
        <result property="lastUpdatedBy"    column="lastUpdatedBy"    />
        <result property="userId"    column="userId"    />
        <result property="userName"    column="userName"    />
        <result property="email"    column="email"    />
    </resultMap>
	<sql id="selectmaterialWarningVo">
        select id, alarmType, warehouseCode, companyCode, materialCode, materialName, materialSpec, materialUnit, max, min, upper, lower, remark, created, createdBy, lastUpdated, lastUpdatedBy, userId, userName, email from material_warning
    </sql>
    
</mapper>