|
@@ -49,10 +49,12 @@
|
|
|
<result property="fBillingQty" column="f_billing_qty"/>
|
|
|
<result property="fBilltype" column="f_billtype"/>
|
|
|
<result property="fBillingway" column="f_billingway"/>
|
|
|
+ <result property="fBsdate" column="f_bsdate"/>
|
|
|
+ <result property="fOriginalbilldate" column="f_originalbilldate"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTWarehousebillsfeesVo">
|
|
|
- select f_id, f_pid, f_lineno, f_corpid, f_feeid, f_feeUnitid, f_qty, f_unitprice, f_amount, f_currency, f_exrate, f_taxrate, f_dc, f_billstatus, f_review_date, f_accamount, f_statement_no, f_stlamount, f_invnos, f_accamount_date, f_invamount, f_stlamount_no, f_askamount, f_status, f_stlamount_date, del_flag, create_by, create_time, update_by, update_time, remark, src_id, src_bill_no, f_mblno, f_product_name, f_marks, f_chargedate, f_billing_deadline, f_inventory_days, f_amt, f_billing_days, f_billing_qty, f_billtype, f_billingway from t_warehousebillsfees
|
|
|
+ select f_id, f_pid, f_lineno, f_corpid, f_feeid, f_feeUnitid, f_qty, f_unitprice, f_amount, f_currency, f_exrate, f_taxrate, f_dc, f_billstatus, f_review_date, f_statement_no, f_accamount, f_stlamount, f_accamount_date, f_invnos, f_invamount, f_stlamount_no, f_askamount, f_status, f_stlamount_date, del_flag, create_by, create_time, update_by, update_time, remark, src_id, src_bill_no, f_mblno, f_product_name, f_marks, f_chargedate, f_billing_deadline, f_inventory_days, f_amt, f_billing_days, f_billing_qty, f_billtype, f_billingway, f_bsdate, f_originalbilldate from t_warehousebillsfees
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTWarehousebillsfeesList" parameterType="TWarehousebillsfees" resultMap="TWarehousebillsfeesResult">
|
|
@@ -72,11 +74,11 @@
|
|
|
<if test="fDc != null and fDc != ''"> and f_dc = #{fDc}</if>
|
|
|
<if test="fBillstatus != null and fBillstatus != ''"> and f_billstatus = #{fBillstatus}</if>
|
|
|
<if test="fReviewDate != null "> and f_review_date = #{fReviewDate}</if>
|
|
|
- <if test="fAccamount != null "> and f_accamount = #{fAccamount}</if>
|
|
|
<if test="fStatementNo != null and fStatementNo != ''"> and f_statement_no = #{fStatementNo}</if>
|
|
|
+ <if test="fAccamount != null "> and f_accamount = #{fAccamount}</if>
|
|
|
<if test="fStlamount != null "> and f_stlamount = #{fStlamount}</if>
|
|
|
- <if test="fInvnos != null and fInvnos != ''"> and f_invnos = #{fInvnos}</if>
|
|
|
<if test="fAccamountDate != null "> and f_accamount_date = #{fAccamountDate}</if>
|
|
|
+ <if test="fInvnos != null and fInvnos != ''"> and f_invnos = #{fInvnos}</if>
|
|
|
<if test="fInvamount != null "> and f_invamount = #{fInvamount}</if>
|
|
|
<if test="fStlamountNo != null and fStlamountNo != ''"> and f_stlamount_no = #{fStlamountNo}</if>
|
|
|
<if test="fAskamount != null "> and f_askamount = #{fAskamount}</if>
|
|
@@ -95,6 +97,8 @@
|
|
|
<if test="fBillingQty != null "> and f_billing_qty = #{fBillingQty}</if>
|
|
|
<if test="fBilltype != null and fBilltype != ''"> and f_billtype = #{fBilltype}</if>
|
|
|
<if test="fBillingway != null "> and f_billingway = #{fBillingway}</if>
|
|
|
+ <if test="fBsdate != null "> and f_bsdate = #{fBsdate}</if>
|
|
|
+ <if test="fOriginalbilldate != null "> and f_originalbilldate = #{fOriginalbilldate}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -121,11 +125,11 @@
|
|
|
<if test="fDc != null">f_dc,</if>
|
|
|
<if test="fBillstatus != null">f_billstatus,</if>
|
|
|
<if test="fReviewDate != null">f_review_date,</if>
|
|
|
- <if test="fAccamount != null">f_accamount,</if>
|
|
|
<if test="fStatementNo != null">f_statement_no,</if>
|
|
|
+ <if test="fAccamount != null">f_accamount,</if>
|
|
|
<if test="fStlamount != null">f_stlamount,</if>
|
|
|
- <if test="fInvnos != null">f_invnos,</if>
|
|
|
<if test="fAccamountDate != null">f_accamount_date,</if>
|
|
|
+ <if test="fInvnos != null">f_invnos,</if>
|
|
|
<if test="fInvamount != null">f_invamount,</if>
|
|
|
<if test="fStlamountNo != null">f_stlamount_no,</if>
|
|
|
<if test="fAskamount != null">f_askamount,</if>
|
|
@@ -150,6 +154,8 @@
|
|
|
<if test="fBillingQty != null">f_billing_qty,</if>
|
|
|
<if test="fBilltype != null">f_billtype,</if>
|
|
|
<if test="fBillingway != null">f_billingway,</if>
|
|
|
+ <if test="fBsdate != null">f_bsdate,</if>
|
|
|
+ <if test="fOriginalbilldate != null">f_originalbilldate,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="fPid != null">#{fPid},</if>
|
|
@@ -166,11 +172,11 @@
|
|
|
<if test="fDc != null">#{fDc},</if>
|
|
|
<if test="fBillstatus != null">#{fBillstatus},</if>
|
|
|
<if test="fReviewDate != null">#{fReviewDate},</if>
|
|
|
- <if test="fAccamount != null">#{fAccamount},</if>
|
|
|
<if test="fStatementNo != null">#{fStatementNo},</if>
|
|
|
+ <if test="fAccamount != null">#{fAccamount},</if>
|
|
|
<if test="fStlamount != null">#{fStlamount},</if>
|
|
|
- <if test="fInvnos != null">#{fInvnos},</if>
|
|
|
<if test="fAccamountDate != null">#{fAccamountDate},</if>
|
|
|
+ <if test="fInvnos != null">#{fInvnos},</if>
|
|
|
<if test="fInvamount != null">#{fInvamount},</if>
|
|
|
<if test="fStlamountNo != null">#{fStlamountNo},</if>
|
|
|
<if test="fAskamount != null">#{fAskamount},</if>
|
|
@@ -195,6 +201,8 @@
|
|
|
<if test="fBillingQty != null">#{fBillingQty},</if>
|
|
|
<if test="fBilltype != null">#{fBilltype},</if>
|
|
|
<if test="fBillingway != null">#{fBillingway},</if>
|
|
|
+ <if test="fBsdate != null">#{fBsdate},</if>
|
|
|
+ <if test="fOriginalbilldate != null">#{fOriginalbilldate},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -215,11 +223,11 @@
|
|
|
<if test="fDc != null">f_dc = #{fDc},</if>
|
|
|
<if test="fBillstatus != null">f_billstatus = #{fBillstatus},</if>
|
|
|
<if test="fReviewDate != null">f_review_date = #{fReviewDate},</if>
|
|
|
- <if test="fAccamount != null">f_accamount = #{fAccamount},</if>
|
|
|
<if test="fStatementNo != null">f_statement_no = #{fStatementNo},</if>
|
|
|
+ <if test="fAccamount != null">f_accamount = #{fAccamount},</if>
|
|
|
<if test="fStlamount != null">f_stlamount = #{fStlamount},</if>
|
|
|
- <if test="fInvnos != null">f_invnos = #{fInvnos},</if>
|
|
|
<if test="fAccamountDate != null">f_accamount_date = #{fAccamountDate},</if>
|
|
|
+ <if test="fInvnos != null">f_invnos = #{fInvnos},</if>
|
|
|
<if test="fInvamount != null">f_invamount = #{fInvamount},</if>
|
|
|
<if test="fStlamountNo != null">f_stlamount_no = #{fStlamountNo},</if>
|
|
|
<if test="fAskamount != null">f_askamount = #{fAskamount},</if>
|
|
@@ -244,6 +252,8 @@
|
|
|
<if test="fBillingQty != null">f_billing_qty = #{fBillingQty},</if>
|
|
|
<if test="fBilltype != null">f_billtype = #{fBilltype},</if>
|
|
|
<if test="fBillingway != null">f_billingway = #{fBillingway},</if>
|
|
|
+ <if test="fBsdate != null">f_bsdate = #{fBsdate},</if>
|
|
|
+ <if test="fOriginalbilldate != null">f_originalbilldate = #{fOriginalbilldate},</if>
|
|
|
</trim>
|
|
|
where f_id = #{fId}
|
|
|
</update>
|