lyhzzz 2 月之前
父节点
当前提交
0a80129257
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/agent/AgentNewLogMapper.xml

+ 1 - 1
src/main/resources/mapper/agent/AgentNewLogMapper.xml

@@ -43,7 +43,7 @@
             and u.create_time between #{param.startTimeUser} and #{param.endTimeUser}
         </if>
         <if test="param.orderSn !=null and param.orderSn !='' ">
-            and l.order_sn like #{param.orderSn}
+            and l.order_sn like concat ('%', #{param.orderSn},'%')
         </if>
         order by id desc
     </select>