@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="qualityOrderReportType != null and qualityOrderReportType != ''"> and quality_order_report_type = #{qualityOrderReportType}</if>
<iftest="qualityOrderReportType != null and qualityOrderReportType != ''"> and quality_order_report_type = #{qualityOrderReportType}</if>
<iftest="materialName != null and materialName != ''"> and material_name like concat('%', #{materialName}, '%')</if>
<iftest="materialName != null and materialName != ''"> and material_name like concat('%', #{materialName}, '%')</if>
<iftest="qualityStorageStatus != null and qualityStorageStatus != ''"> and quality_storage_status = #{qualityStorageStatus}</if>
<iftest="qualityStorageStatus != null and qualityStorageStatus != ''"> and quality_storage_status = #{qualityStorageStatus}</if>
<iftest="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<iftest="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and Date(create_time) between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<iftest="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
<iftest="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
<iftest="applyUser != null and applyUser != ''"> and apply_user = #{applyUser}</if>
<iftest="applyUser != null and applyUser != ''"> and apply_user = #{applyUser}</if>
</where>
</where>
@ -293,4 +293,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update quality_order_report set del_flag = '0' where quality_order_report_id = #{qualityOrderReportId}
update quality_order_report set del_flag = '0' where quality_order_report_id = #{qualityOrderReportId}