电商数据,新增是否上传照片以及需求方字段存值展示,打印
This commit is contained in:
@@ -68,6 +68,8 @@
|
||||
<result property="isUpdate" column="is_update"/>
|
||||
<result property="scene" column="scene"/>
|
||||
<result property="sceneName" column="sceneName"/>
|
||||
<result property="isUploadPhoto" column="is_upload_photo"/>
|
||||
<result property="demandDeptName" column="demand_dept_name"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- ========================= 公共查询 SQL(联表完整版) ========================= -->
|
||||
@@ -275,6 +277,9 @@
|
||||
<if test="endDate != null">
|
||||
AND ri.operation_time <= #{endDate}
|
||||
</if>
|
||||
<if test="remark != null and remark != ''">
|
||||
AND ri.remark LIKE CONCAT('%', #{remark}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@@ -309,7 +314,7 @@
|
||||
is_delivery,
|
||||
fycde_1, fycde_2,
|
||||
is_update,
|
||||
create_by, create_time, is_delete,scene
|
||||
create_by, create_time, is_delete,scene,is_upload_photo,demand_dept_name
|
||||
)
|
||||
VALUES (
|
||||
#{operationType}, #{bizType}, #{wlType}, #{cangku}, #{operationTime}, #{operator},
|
||||
@@ -327,7 +332,7 @@
|
||||
#{isDelivery},
|
||||
#{fycde1}, #{fycde2},
|
||||
#{isUpdate},
|
||||
#{createBy}, #{createTime}, #{isDelete},#{scene}
|
||||
#{createBy}, #{createTime}, #{isDelete},#{scene},#{isUploadPhoto},#{demandDeptName}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -383,7 +388,9 @@
|
||||
<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="scene != null">scene = #{scene}</if>
|
||||
<if test="scene != null">scene = #{scene},</if>
|
||||
<if test="isUploadPhoto != null">is_upload_photo = #{isUploadPhoto},</if>
|
||||
<if test="demandDeptName != null">demand_dept_name = #{demandDeptName},</if>
|
||||
</trim>
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
@@ -691,6 +698,9 @@
|
||||
<if test="isDelivery != null">
|
||||
is_delivery = #{isDelivery},
|
||||
</if>
|
||||
<if test="isUploadPhoto != null">
|
||||
is_upload_photo = #{isUploadPhoto},
|
||||
</if>
|
||||
</set>
|
||||
WHERE bill_no = #{billNo}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user