From 5e6a136bc61524175a2eea8edeb4b69bcc3752c9 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Mon, 6 May 2024 18:27:40 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E5=94=AE=E5=90=8E=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E5=94=AE=E5=90=8E=E5=AE=A2=E8=AF=89=E9=80=9A=E7=9F=A5=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A2=E8=AF=89=E9=80=9A=E7=9F=A5=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=B1=95=E7=A4=BA=E7=9A=84=E6=95=B0=E6=8D=AE=E6=9D=A5?= =?UTF-8?q?=E6=BA=90=EF=BC=8C=E5=B1=95=E7=A4=BA=E5=AE=A2=E8=AF=89=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E8=AF=A6=E6=83=85=E4=B8=AD=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AftersalesComplaintNoticeController.java | 4 +- .../AftersalesComplaintNoticeDetailMapper.xml | 43 +++++-------------- .../aftersales/complaintNotice/add.html | 37 ++++++++-------- 3 files changed, 30 insertions(+), 54 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/controller/AftersalesComplaintNoticeController.java b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/controller/AftersalesComplaintNoticeController.java index 3f8d9906..b612781e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/controller/AftersalesComplaintNoticeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/controller/AftersalesComplaintNoticeController.java @@ -54,10 +54,10 @@ public class AftersalesComplaintNoticeController extends BaseController @RequiresPermissions("aftersales:complaintNotice:list") @PostMapping("/list") @ResponseBody - public TableDataInfo list(AftersalesComplaintNotice aftersalesComplaintNotice) + public TableDataInfo list(AftersalesComplaintNoticeDetail complaintNoticeDetail) { startPage(); - List list = aftersalesComplaintNoticeService.selectAftersalesComplaintNoticeList(aftersalesComplaintNotice); + List list = complaintNoticeDetailService.selectAftersalesComplaintNoticeDetailList(complaintNoticeDetail); return getDataTable(list); } diff --git a/ruoyi-admin/src/main/resources/mapper/aftersales/AftersalesComplaintNoticeDetailMapper.xml b/ruoyi-admin/src/main/resources/mapper/aftersales/AftersalesComplaintNoticeDetailMapper.xml index b0b64ccc..232d624f 100644 --- a/ruoyi-admin/src/main/resources/mapper/aftersales/AftersalesComplaintNoticeDetailMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/aftersales/AftersalesComplaintNoticeDetailMapper.xml @@ -40,43 +40,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select complaint_notice_detail_id, complaint_notice_code, make_no, user_id, delivery_goods_num, emergency_degree, complaint_problem, closing_procedures, adverse_report_url, customer_id, customer_name, device_model_code, device_model_name, sn_code, device_running_number, material_no, material_name, material_type, material_photoUrl, material_brand, material_unit, material_describe, material_process_method, shipped_goods_sum, material_sum, enterprise_sum, create_by, create_time, update_by, update_time, remark from aftersales_complaint_notice_detail + + and complaint_notice_code = #{complaintNoticeCode} + and make_no = #{makeNo} + and emergency_degree = #{emergencyDegree} + and closing_procedures = #{closingProcedures} + and material_no = #{materialNo} + and material_name like concat('%', #{materialName}, '%') + and create_time between #{params.beginCreateTime} and #{params.endCreateTime} +