|
|
@@ -1,7 +1,34 @@
|
|
|
<?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.sckw.transport.dao.KwtLogisticsOrderGoodsUnitMapper">
|
|
|
-
|
|
|
+ <resultMap id="BaseResultMap" type="com.sckw.transport.model.KwtLogisticsOrderGoodsUnit">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ <!--@Table kwt_logistics_order_goods_unit-->
|
|
|
+ <id column="id" jdbcType="BIGINT" property="id" />
|
|
|
+ <result column="l_order_id" jdbcType="BIGINT" property="lOrderId" />
|
|
|
+ <result column="goods_id" jdbcType="BIGINT" property="goodsId" />
|
|
|
+ <result column="from_unit" jdbcType="VARCHAR" property="fromUnit" />
|
|
|
+ <result column="to_unit" jdbcType="VARCHAR" property="toUnit" />
|
|
|
+ <result column="conversion_value" jdbcType="DECIMAL" property="conversionValue" />
|
|
|
+ <result column="unit" jdbcType="VARCHAR" property="unit" />
|
|
|
+ <result column="unload_amount" jdbcType="DECIMAL" property="unloadAmount" />
|
|
|
+ <result column="load_amount" jdbcType="DECIMAL" property="loadAmount" />
|
|
|
+ <result column="total_load_amount" jdbcType="DECIMAL" property="totalLoadAmount" />
|
|
|
+ <result column="total_unload_amount" jdbcType="DECIMAL" property="totalUnloadAmount" />
|
|
|
+ <result column="remark" jdbcType="VARCHAR" property="remark" />
|
|
|
+ <result column="status" jdbcType="INTEGER" property="status" />
|
|
|
+ <result column="create_by" jdbcType="BIGINT" property="createBy" />
|
|
|
+ <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="update_by" jdbcType="BIGINT" property="updateBy" />
|
|
|
+ <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
+ <result column="del_flag" jdbcType="INTEGER" property="delFlag" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ id, l_order_id, goods_id, from_unit, to_unit, conversion_value, unit, unload_amount,
|
|
|
+ load_amount, total_load_amount, total_unload_amount, remark, `status`, create_by,
|
|
|
+ create_time, update_by, update_time, del_flag
|
|
|
+ </sql>
|
|
|
<select id="findGoodsUnit" resultType="com.sckw.transport.model.KwtLogisticsOrderGoodsUnit" parameterType="java.util.Map" >
|
|
|
SELECT
|
|
|
id, l_order_id lOrderId, goods_id goodsId, from_unit fromUnit, to_unit toUnit,
|