|
|
@@ -24,10 +24,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="isDelete" column="is_delete" />
|
|
|
+ <result property="entrustName" column="entrust_Name" />
|
|
|
+ <result property="beentrustName" column="beentrust_Name" />
|
|
|
+ <result property="bId" column="b_Id" />
|
|
|
+ <result property="carNumber" column="car_Number" />
|
|
|
+ <result property="year" column="year" />
|
|
|
+ <result property="month" column="month" />
|
|
|
+ <result property="day" column="day" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectOrderFileVo">
|
|
|
- select order_id,delivery_number,shipment_number,ware_house_code,ware_house_name,code,message, flow_id,chains_code,customers_code,signer_id,signer_name, file_url, create_by, create_time, update_by, update_time, is_delete from ssb_order_file
|
|
|
+ select order_id,delivery_number,shipment_number,ware_house_code,ware_house_name,code,message, flow_id,chains_code,customers_code,signer_id,signer_name, file_url, create_by, create_time, update_by, update_time, is_delete ,entrust_Name,beentrust_Name,b_Id,car_Number from ssb_order_file
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectOrderFileList" parameterType="OrderFile" resultMap="OrderFileResult">
|
|
|
@@ -44,6 +51,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
of.update_by,
|
|
|
of.update_time,
|
|
|
of.is_delete,
|
|
|
+ of.entrust_Name,
|
|
|
+ of.beentrust_Name,
|
|
|
+ of.b_Id,
|
|
|
+ of.car_Number,
|
|
|
+ of.year,
|
|
|
+ of.month,
|
|
|
+ of.day,
|
|
|
c.chains_name AS chainsName
|
|
|
FROM
|
|
|
ssb_order_file AS of
|
|
|
@@ -96,6 +110,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="isDelete != null">is_delete,</if>
|
|
|
+ <if test="entrustName != null">entrust_Name,</if>
|
|
|
+ <if test="beentrustName != null">beentrust_Name,</if>
|
|
|
+ <if test="bId != null">b_Id,</if>
|
|
|
+ <if test="carNumber != null">car_Number,</if>
|
|
|
+ <if test="year != null">#{year},</if>
|
|
|
+ <if test="month != null">#{month},</if>
|
|
|
+ <if test="day != null">#{day},</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderId != null">#{orderId},</if>
|
|
|
@@ -116,6 +137,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="isDelete != null">#{isDelete},</if>
|
|
|
+ <if test="entrustName != null">#{entrustName},</if>
|
|
|
+ <if test="beentrustName != null">#{beentrustName},</if>
|
|
|
+ <if test="bId != null">#{bId},</if>
|
|
|
+ <if test="carNumber != null">#{carNumber},</if>
|
|
|
+ <if test="year != null">#{year},</if>
|
|
|
+ <if test="month != null">#{month},</if>
|
|
|
+ <if test="day != null">#{day},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -133,6 +161,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="isDelete != null">is_delete = #{isDelete},</if>
|
|
|
+ <if test="entrustName != null">entrust_Name = #{entrustName},</if>
|
|
|
+ <if test="beentrustName != null">beentrust_Name = #{beentrustName},</if>
|
|
|
+ <if test="bId != null">b_Id = #{bId},</if>
|
|
|
+ <if test="carNumber != null">car_Number = #{carNumber},</if>
|
|
|
</trim>
|
|
|
where order_id = #{orderId}
|
|
|
</update>
|
|
|
@@ -151,6 +183,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="isDelete != null">is_delete = #{isDelete},</if>
|
|
|
+ <if test="entrustName != null">entrust_Name = #{entrustName},</if>
|
|
|
+ <if test="beentrustName != null">beentrust_Name = #{beentrustName},</if>
|
|
|
+ <if test="bId != null">b_Id = #{bId},</if>
|
|
|
+ <if test="carNumber != null">car_Number = #{carNumber},</if>
|
|
|
</trim>
|
|
|
where flow_id = #{flowId}
|
|
|
</update>
|