|
@@ -10,10 +10,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="skuType" column="sku_type" />
|
|
|
<result property="skuTypeFlag" column="sku_type_flag" />
|
|
|
<result property="qty" column="qty" />
|
|
|
+ <result property="qtyRange" column="qty_range" />
|
|
|
<result property="qtyFlag" column="qty_flag" />
|
|
|
<result property="weight" column="weight" />
|
|
|
+ <result property="weightRange" column="weight_range" />
|
|
|
<result property="weightFlag" column="weight_flag" />
|
|
|
<result property="supplier" column="supplier" />
|
|
|
+ <result property="supplierRange" column="supplier_range" />
|
|
|
<result property="supplierFlag" column="supplier_flag" />
|
|
|
<result property="locationFrom" column="location_from" />
|
|
|
<result property="locationFromFlag" column="location_from_flag" />
|
|
@@ -34,10 +37,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="skuType" column="sku_type" />
|
|
|
<result property="skuTypeFlag" column="sku_type_flag" />
|
|
|
<result property="qty" column="qty" />
|
|
|
+ <result property="qtyRange" column="qty_range" />
|
|
|
<result property="qtyFlag" column="qty_flag" />
|
|
|
<result property="weight" column="weight" />
|
|
|
+ <result property="weightRange" column="weight_range" />
|
|
|
<result property="weightFlag" column="weight_flag" />
|
|
|
<result property="supplier" column="supplier" />
|
|
|
+ <result property="supplierRange" column="supplier_range" />
|
|
|
<result property="supplierFlag" column="supplier_flag" />
|
|
|
<result property="locationFrom" column="location_from" />
|
|
|
<result property="locationFromFlag" column="location_from_flag" />
|
|
@@ -99,6 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectFlowConfigHeaderById" parameterType="Long" resultMap="FlowConfigHeaderFlowConfigDetailsResult">
|
|
|
select a.id, a.flow_name, a.sku_type, a.sku_type_flag, a.qty, a.qty_flag, a.weight, a.weight_flag, a.supplier, a.supplier_flag, a.location_from,a.location_from_flag, a.location_from_device, a.location_to,a.location_to_flag, a.location_to_device, a.create_by, a.create_time, a.update_by, a.update_time, a.remark,
|
|
|
+ a.qty_range,a.weight_range,a.supplier_range,
|
|
|
b.id as sub_id, b.header_id as sub_header_id, b.lotatt_id as sub_lotatt_id,cf.lotatt_name as sub_lotatt_name, b.lotatt_flag as sub_lotatt_flag, b.create_by as sub_create_by, b.create_time as sub_create_time, b.update_by as sub_update_by, b.update_time as sub_update_time, b.remark as sub_remark
|
|
|
from flow_config_header a
|
|
|
left join flow_config_details b on b.header_id = a.id
|
|
@@ -113,10 +120,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="skuType != null">sku_type,</if>
|
|
|
<if test="skuTypeFlag != null">sku_type_flag,</if>
|
|
|
<if test="qty != null">qty,</if>
|
|
|
+ <if test="qtyRange != null">qty_range,</if>
|
|
|
<if test="qtyFlag != null">qty_flag,</if>
|
|
|
<if test="weight != null">weight,</if>
|
|
|
+ <if test="weightRange != null">weight_range,</if>
|
|
|
<if test="weightFlag != null">weight_flag,</if>
|
|
|
<if test="supplier != null">supplier,</if>
|
|
|
+ <if test="supplierRange != null">supplier_range,</if>
|
|
|
<if test="supplierFlag != null">supplier_flag,</if>
|
|
|
<if test="locationFrom != null">location_from,</if>
|
|
|
<if test="locationFromFlag != null">location_from_flag,</if>
|
|
@@ -135,10 +145,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="skuType != null">#{skuType},</if>
|
|
|
<if test="skuTypeFlag != null">#{skuTypeFlag},</if>
|
|
|
<if test="qty != null">#{qty},</if>
|
|
|
+ <if test="qtyRange != null">#{qtyRange},</if>
|
|
|
<if test="qtyFlag != null">#{qtyFlag},</if>
|
|
|
<if test="weight != null">#{weight},</if>
|
|
|
+ <if test="weightRange != null">#{weightRange},</if>
|
|
|
<if test="weightFlag != null">#{weightFlag},</if>
|
|
|
<if test="supplier != null">#{supplier},</if>
|
|
|
+ <if test="supplierRange != null">#{supplierRange},</if>
|
|
|
<if test="supplierFlag != null">#{supplierFlag},</if>
|
|
|
<if test="locationFrom != null">#{locationFrom},</if>
|
|
|
<if test="locationFromFlag != null">#{locationFromFlag},</if>
|