电商数据,新增是否上传照片以及需求方字段存值展示,打印
This commit is contained in:
@@ -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 >= #{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>
|
||||
|
||||
Reference in New Issue
Block a user