Browse Source

查询修改

xiewenjie 3 years ago
parent
commit
415a47e0be
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sxz-core/src/main/resources/mapper/LogMapper.xml

+ 2 - 2
sxz-core/src/main/resources/mapper/LogMapper.xml

@@ -41,13 +41,13 @@
         WHERE A.rec_status = 'A'
         <trim prefix="AND (" suffix=")" prefixOverrides="AND">
             <if test="log.methodName != null and log.methodName != ''">
-                AND A.method_name like concat('%', #{log.methodName}, '%')
+                AND A.method_name like concat( #{log.methodName}, '%')
             </if>
             <if test="log.traceId != null and log.traceId != ''">
                 AND a.trace_id = #{log.traceId}
             </if>
             <if test="log.url != null and log.url != ''">
-                AND A.url like concat(, #{log.url}, '%')
+                AND A.url like concat( #{log.url}, '%')
             </if>
             <if test="log.logType != null and log.logType != ''">
                 AND A.log_type = #{log.logType}