| | |
| | | <if test="query.status != null "> |
| | | and t1.status = #{query.status} |
| | | </if> |
| | | <if test="query.isWarning != null and query.isWarning = 1"> |
| | | <if test="query.isWarning != null and query.isWarning == 1"> |
| | | and t1.total < t7.frameThreshold |
| | | </if> |
| | | <if test="query.isWarning != null and query.isWarning = 2"> |
| | | <if test="query.isWarning != null and query.isWarning == 2"> |
| | | and t1.total >= t7.frameThreshold |
| | | </if> |
| | | <if test="query.startCount != null and query.endCount != null"> |
| | | and t1.total between #{query.startCount} and #{query.endCount} |
| | | </if> |
| | | and t1.isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} |
| | | and t1.isDelete = 0 |
| | | |
| | | order by t1.id |
| | | </select> |