| | |
| | | AND spf.type = #{vo.postType} |
| | | </if> |
| | | <if test="vo.checkTime != null and vo.checkTime !='' "> |
| | | AND date_format(scr.check_time,'%Y-%m-%d') = #{vo.checkTime} |
| | | AND date_format(scr.check_time,'%Y-%m-%d') = date_format(#{vo.checkTime},'%Y-%m-%d') |
| | | </if> |
| | | |
| | | <if test="vo.postId != null and vo.postId !='' "> |
| | | AND scr.post_id = #{vo.postId} |
| | | </if> |
| | | <if test="vo.userName != null and vo.userName !='' "> |
| | | AND bu.real_name LIKE CONCAT('%',#{vo.userName},'%') |
| | | </if> |
| | | <if test="vo.status != null and vo.status !='' "> |
| | | AND scr.status = #{vo.status} |
| | | </if> |
| | | ORDER BY scr.check_time DESC |
| | | |
| | | </select> |
| | | </mapper> |