فهرست منبع

fix 更新appId

tjf 3 سال پیش
والد
کامیت
66694f6a79

+ 1 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/QueryController.java

@@ -17,6 +17,7 @@ import com.ruoyi.system.domain.*;
 import com.ruoyi.system.service.*;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/MiniprogramQueryLogMapper.xml

@@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectMiniprogramQueryLogVo"/>
         <where>
             is_del = 'N'
-            <if test="reportNumber != null  and reportNumber != ''"> and report_number = #{reportNumber}</if>
+            <if test="reportNumber != null  and reportNumber != ''">and report_number like concat('%', #{reportNumber}, '%')</if>
             <if test="queryPhone != null  and queryPhone != ''"> and query_phone = #{queryPhone}</if>
         </where>
     </select>