diff --git a/ruiyi-carpool/src/main/resources/mapper/carpool/POrderMapper.xml b/ruiyi-carpool/src/main/resources/mapper/carpool/POrderMapper.xml index d8ebf6606..bf13c6044 100644 --- a/ruiyi-carpool/src/main/resources/mapper/carpool/POrderMapper.xml +++ b/ruiyi-carpool/src/main/resources/mapper/carpool/POrderMapper.xml @@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <if test="departure != null and departure != ''"> and A.departure = #{departure}</if> <if test="destination != null and destination != ''"> and A.destination = #{destination}</if> <if test="departureTime != null "> and A.departure_time = #{departureTime}</if> - <if test="member != null "> and A.member = #{member}</if> + <if test="member != null "> and <![CDATA[ A.member <= #{member} ]]> </if> <if test="state != null "> and A.state = #{state}</if> <if test="isdelete != null "> and A.isDelete = #{isdelete}</if> <if test="isTake != null "> and A.is_take = #{isTake}</if>