소스 검색

退款管理和驾校报表

Althars123 2 년 전
부모
커밋
bda8f96eed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jsjp-service/src/main/resources/mapper/order/OrderInfoMapper.xml

+ 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}