Pārlūkot izejas kodu

退款管理和驾校报表

Althars123 2 gadi atpakaļ
vecāks
revīzija
bda8f96eed

+ 1 - 1
jsjp-service/src/main/resources/mapper/order/OrderInfoMapper.xml

@@ -49,7 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         from order_info
         where is_share =1
         <if test="schoolName != null  and schoolName != ''">
-            and  t1.openid in (select openid from user_info where school_name = #{schoolName})
+            and school_name like concat('%', #{schoolName}, '%')
         </if>
         <if test="startTime != null">
             and DATE_FORMAT(t1.create_time,'%Y-%m-%d')<![CDATA[ >= ]]> #{startTime}