| | |
| | | "<if test='name != null and name.trim() != ""'>" + |
| | | "AND a.`name` = #{name} \n" + |
| | | " </if> " + |
| | | "<if test='releaseTimeBegin != null and releaseTimeBegin.trim() != ""'>" + |
| | | "<if test='releaseTimeBegin != null '>" + |
| | | "AND a.create_at BETWEEN #{releaseTimeBegin} \n" + |
| | | "AND #{releaseTimeEnd} \n" + |
| | | " </if> " + |
| | | "<if test='activityTimeBegin != null and activityTimeBegin.trim() != ""'>" + |
| | | "<if test='activityTimeBegin != null '>" + |
| | | "AND a.activity_time_begin BETWEEN #{activityTimeBegin} \n" + |
| | | "AND #{activityTimeEnd}" + |
| | | " </if> " + |
| | |
| | | "<if test='partyBuildingActivityVO.status != null and partyBuildingActivityVO.status != 0'>" + |
| | | "AND `status` = #{partyBuildingActivityVO.status} \n" + |
| | | " </if> " + |
| | | "<if test='partyBuildingActivityVO.releaseTimeBegin != null and partyBuildingActivityVO.releaseTimeBegin.trim() != ""'>" + |
| | | "<if test='partyBuildingActivityVO.releaseTimeBegin != null '>" + |
| | | "AND release_time BETWEEN #{partyBuildingActivityVO.releaseTimeBegin} \n" + |
| | | "AND #{partyBuildingActivityVO.releaseTimeEnd} \n" + |
| | | " </if> " + |
| | | "<if test='partyBuildingActivityVO.activityTimeBegin != null and partyBuildingActivityVO.activityTimeBegin.trim() != ""'>" + |
| | | "<if test='partyBuildingActivityVO.activityTimeBegin != null '>" + |
| | | "AND activity_time_begin BETWEEN #{partyBuildingActivityVO.activityTimeBegin} \n" + |
| | | "AND #{partyBuildingActivityVO.activityTimeEnd}" + |
| | | " </if> " + |