Explorar el Código

维修测试查询框

lyhzzz hace 2 años
padre
commit
18ef09b165
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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>