电商数据,新增是否上传照片以及需求方字段存值展示,打印

This commit is contained in:
2026-03-26 11:38:41 +08:00
parent 516434b28e
commit b6bb2e4a3a
4 changed files with 40 additions and 2 deletions

View File

@@ -168,7 +168,12 @@
<if test="isDelete != null and isDelete != ''">
AND ri.is_delete = #{isDelete}
</if>
<if test="isUploadPhoto != null ">
AND ri.is_upload_photo = #{isUploadPhoto}
</if>
<if test="demandDeptName != null and demandDeptName != ''">
AND ri.demand_dept_name = #{demandDeptName}
</if>
<if test="startDate != null">
AND ri.operation_time &gt;= #{startDate}
</if>
@@ -280,6 +285,12 @@
<if test="remark != null and remark != ''">
AND ri.remark LIKE CONCAT('%', #{remark}, '%')
</if>
<if test="isUploadPhoto != null ">
AND ri.is_upload_photo = #{isUploadPhoto}
</if>
<if test="demandDeptName != null and demandDeptName != ''">
AND ri.demand_dept_name = #{demandDeptName}
</if>
</where>
</select>
@@ -701,6 +712,9 @@
<if test="isUploadPhoto != null">
is_upload_photo = #{isUploadPhoto},
</if>
<if test="demandDeptName != null">
demand_dept_name = #{demandDeptName},
</if>
</set>
WHERE bill_no = #{billNo}
</update>