|
@@ -16,9 +16,12 @@
|
|
|
<result property="pricecrType" column="pricecr_type"/>
|
|
|
<result property="pricecr" column="pricecr"/>
|
|
|
<result property="ifNeedInvCr" column="if_need_inv_cr"/>
|
|
|
+ <result property="transProp" column="trans_prop"/>
|
|
|
<result property="carnolist" column="carnolist"/>
|
|
|
<result property="planDate" column="plan_date"/>
|
|
|
<result property="planreMarks" column="planre_marks"/>
|
|
|
+ <result property="freightPriceDr" column="freight_price_dr"/>
|
|
|
+ <result property="freightPriceCr" column="freight_price_cr"/>
|
|
|
<result property="acceptDate" column="accept_date"/>
|
|
|
<result property="acceptRemarks" column="accept_remarks"/>
|
|
|
<result property="billStatus" column="bill_status"/>
|
|
@@ -31,7 +34,9 @@
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectftmsorderbillsplansVo">
|
|
|
- select id, p_id, org_id, cntr_id, cntr_qty, car_qty, plan_cntr_qty, carcor_pid, pricecr_type, pricecr, if_need_inv_cr, carnolist, plan_date, planre_marks, accept_date, accept_remarks, bill_status, del_flag, create_by, create_time, update_by, update_time, remarks from F_TMSORDERBILLSPLANS
|
|
|
+ select id, p_id, org_id, cntr_id, cntr_qty, car_qty, plan_cntr_qty, carcor_pid, pricecr_type, pricecr, if_need_inv_cr, trans_prop, carnolist,
|
|
|
+ plan_date, planre_marks, accept_date, accept_remarks, bill_status, del_flag, create_by, create_time, freight_price_dr, freight_price_cr,
|
|
|
+ update_by, update_time, remarks from F_TMSORDERBILLSPLANS
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectftmsorderbillsplansList" parameterType="ftmsorderbillsplans"
|
|
@@ -48,6 +53,7 @@
|
|
|
<if test="pricecrType != null and pricecrType != ''">and pricecr_type = #{pricecrType}</if>
|
|
|
<if test="pricecr != null ">and pricecr = #{pricecr}</if>
|
|
|
<if test="ifNeedInvCr != null and ifNeedInvCr != ''">and if_need_inv_cr = #{ifNeedInvCr}</if>
|
|
|
+ <if test="transProp != null and transProp != ''">and trans_prop = #{transProp}</if>
|
|
|
<if test="carnolist != null and carnolist != ''">and carnolist = #{carnolist}</if>
|
|
|
<if test="planDate != null ">and plan_date = #{planDate}</if>
|
|
|
<if test="planreMarks != null and planreMarks != ''">and planre_marks = #{planreMarks}</if>
|
|
@@ -196,6 +202,7 @@
|
|
|
<if test="pricecrType != null">pricecr_type,</if>
|
|
|
<if test="pricecr != null">pricecr,</if>
|
|
|
<if test="ifNeedInvCr != null">if_need_inv_cr,</if>
|
|
|
+ <if test="transProp != null">trans_prop,</if>
|
|
|
<if test="carnolist != null">carnolist,</if>
|
|
|
<if test="planDate != null">plan_date,</if>
|
|
|
<if test="planreMarks != null">planre_marks,</if>
|
|
@@ -208,6 +215,8 @@
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="remarks != null">remarks,</if>
|
|
|
+ <if test="freightPriceDr != null">freight_price_dr,</if>
|
|
|
+ <if test="freightPriceCr != null">freight_price_cr,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
@@ -221,6 +230,7 @@
|
|
|
<if test="pricecrType != null">#{pricecrType},</if>
|
|
|
<if test="pricecr != null">#{pricecr},</if>
|
|
|
<if test="ifNeedInvCr != null">#{ifNeedInvCr},</if>
|
|
|
+ <if test="transProp != null">#{transProp},</if>
|
|
|
<if test="carnolist != null">#{carnolist},</if>
|
|
|
<if test="planDate != null">#{planDate},</if>
|
|
|
<if test="planreMarks != null">#{planreMarks},</if>
|
|
@@ -233,6 +243,8 @@
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="remarks != null">#{remarks},</if>
|
|
|
+ <if test="freightPriceDr != null">#{freightPriceDr},</if>
|
|
|
+ <if test="freightPriceCr != null">#{freightPriceCr},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -249,8 +261,11 @@
|
|
|
<if test="pricecrType != null">pricecr_type = #{pricecrType},</if>
|
|
|
<if test="pricecr != null">pricecr = #{pricecr},</if>
|
|
|
<if test="ifNeedInvCr != null">if_need_inv_cr = #{ifNeedInvCr},</if>
|
|
|
+ <if test="transProp != null">trans_prop = #{transProp},</if>
|
|
|
<if test="carnolist != null">carnolist = #{carnolist},</if>
|
|
|
<if test="planDate != null">plan_date = #{planDate},</if>
|
|
|
+ <if test="freightPriceDr != null">freight_price_dr = #{freightPriceDr},</if>
|
|
|
+ <if test="freightPriceCr != null">freight_price_cr = #{freightPriceCr},</if>
|
|
|
<if test="planreMarks != null">planre_marks = #{planreMarks},</if>
|
|
|
<if test="acceptDate != null">accept_date = #{acceptDate},</if>
|
|
|
<if test="acceptRemarks != null">accept_remarks = #{acceptRemarks},</if>
|