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} +