| | |
| | | <if test="query.status == null"> |
| | | AND t1.status != -1 |
| | | </if> |
| | | <if test="query.teamIds != null and query.teamIds > 0"> |
| | | <if test="query.teamIds != null and query.teamIds.size() > 0"> |
| | | AND t1.team_id in |
| | | <foreach collection="query.teamIds" item="id" open="(" separator="," close=")"> |
| | | #{id} |
| | |
| | | <if test="query.userId != null"> |
| | | and tedp.user_id = #{query.userId} |
| | | </if> |
| | | <if test="query.userId != null"> |
| | | and trwe.user_id = #{query.userId} |
| | | </if> |
| | | <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''"> |
| | | AND trwe.evaluate_time BETWEEN #{query.startTime} AND #{query.endTime} |
| | | </if> |
| | |
| | | <if test="query.userId != null"> |
| | | and tedp.user_id = #{query.userId} |
| | | </if> |
| | | <if test="query.userId != null"> |
| | | and trwe.user_id = #{query.userId} |
| | | </if> |
| | | <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''"> |
| | | AND trwe.evaluate_time BETWEEN #{query.startTime} AND #{query.endTime} |
| | | </if> |