浏览代码

维修测试查询框

lyhzzz 2 年之前
父节点
当前提交
18ef09b165
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/resources/mapper/sale/RepairMapper.xml

+ 3 - 0
src/main/resources/mapper/sale/RepairMapper.xml

@@ -97,6 +97,9 @@
         <if test="param.cameraSnCode != null and param.cameraSnCode != ''">
             and r.camera_sn_code like  concat ('%',#{param.cameraSnCode},'%')
         </if>
+        <if test="param.customerName != null and param.customerName != ''">
+            and c.customer_name like  concat ('%',#{param.customerName},'%')
+        </if>
         order by r.create_time desc
     </select>