|
@@ -42,10 +42,14 @@
|
|
|
<result property="remark" column="remark"/>
|
|
|
<result property="fBusinessType" column="f_business_type"/>
|
|
|
<result property="fOriginalbilldate" column="f_originalbilldate"/>
|
|
|
+ <result property="fLocalcntrno" column="f_localcntrno"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTWhgenlegVo">
|
|
|
- select f_id, f_accyear, f_accmonth, f_corpid, f_mblno, f_originalbillno, f_warehouse_locationid, f_goodsid, f_trademodeid, f_preqty, f_pregrossweight, f_warehouseid, f_prenetweight, f_chargedate, f_volumnD, f_qtyD, f_billingway, f_grossweightD, f_netweightD, f_volumnC, f_qtyC, f_grossweightC, f_qtyblc, f_grossweightblc, f_netweightC, f_netweightblc, f_cntrno, f_status, del_flag, f_marks, create_by, create_time, update_by, f_volumnblc, update_time, remark, f_business_type, f_originalbilldate from t_whgenleg
|
|
|
+ select f_id, f_accyear, f_accmonth, f_corpid, f_mblno, f_originalbillno, f_warehouse_locationid, f_goodsid, f_trademodeid, f_preqty,
|
|
|
+ f_pregrossweight, f_warehouseid, f_prenetweight, f_chargedate, f_volumnD, f_qtyD, f_billingway, f_grossweightD, f_netweightD, f_volumnC,
|
|
|
+ f_qtyC, f_grossweightC, f_qtyblc, f_grossweightblc, f_netweightC, f_netweightblc, f_cntrno, f_status, del_flag, f_marks, create_by,
|
|
|
+ create_time, update_by, f_volumnblc, update_time, remark, f_business_type, f_originalbilldate, f_localcntrno from t_whgenleg
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTWhgenlegList" parameterType="TWhgenleg" resultMap="TWhgenlegResult">
|
|
@@ -143,6 +147,7 @@
|
|
|
<if test="remark != null">remark,</if>
|
|
|
<if test="fBusinessType != null">f_business_type,</if>
|
|
|
<if test="fOriginalbilldate != null">f_originalbilldate,</if>
|
|
|
+ <if test="fLocalcntrno != null">f_localcntrno,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="fAccyear != null">#{fAccyear},</if>
|
|
@@ -182,6 +187,7 @@
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
<if test="fBusinessType != null">#{fBusinessType},</if>
|
|
|
<if test="fOriginalbilldate != null">#{fOriginalbilldate},</if>
|
|
|
+ <if test="fLocalcntrno != null">#{fLocalcntrno},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -225,6 +231,7 @@
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
<if test="fBusinessType != null">f_business_type = #{fBusinessType},</if>
|
|
|
<if test="fOriginalbilldate != null">f_originalbilldate = #{fOriginalbilldate},</if>
|
|
|
+ <if test="fLocalcntrno != null">f_localcntrno = #{fLocalcntrno},</if>
|
|
|
</trim>
|
|
|
where f_id = #{fId}
|
|
|
</update>
|
|
@@ -490,6 +497,7 @@
|
|
|
leg.f_chargedate AS fChargedate,
|
|
|
leg.f_grossweightblc AS fGrossweightblc,
|
|
|
leg.f_netweightblc AS fNetweightblc,
|
|
|
+ leg.f_localcntrno AS fLocalcntrno,
|
|
|
dict.dict_label AS fBusinessTypes,
|
|
|
leg.f_marks AS fMarks,
|
|
|
DATE_FORMAT( leg.create_time, '%Y-%m-%d' ) AS createTime,
|