| | |
| | | <sql id="Base_Column_List"> |
| | | id, create_time, update_time, create_by, update_by, disabled, warning_type, task_id |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.vo.system.TaskWarningVO"> |
| | | select t1.* from t_early_warning t1 |
| | | where 1=1 |
| | | <if test="query.taskIds != null and query.taskIds.size() > 0"> |
| | | <foreach collection="query.taskIds" item="taskId" separator=" OR " open="AND (" close=")"> |
| | | FIND_IN_SET(#{taskId}, t1.task_id) |
| | | </foreach> |
| | | </if> |
| | | <if test="query.startTime != null and startTime != ''"> |
| | | and (t1.create_time between #{startTime} and #{endTime}) |
| | | </if> |
| | | and t1.`disabled` = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </select> |
| | | |
| | | </mapper> |