| | |
| | | and appUserId = #{appUserId} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="listAll" resultType="com.dsh.other.entity.SiteBooking"> |
| | | select * from t_site_booking t1 |
| | | <where> |
| | | <if test="amount!=null and amount!= ''"> |
| | | and t1.payMoney <= #{amount} |
| | | </if> |
| | | <if test="query.userIds != null and query.userIds.size()>0"> |
| | | AND t1.appUserId IN |
| | | <foreach collection="query.userIds" separator="," item="id" open="(" close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | <if test="sTime !=null and sTime!= '' and eTime !=null and eTime!= ''"> |
| | | and t1.insertTime between #{sTime} and #{eTime} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |