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