| | |
| | | <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''"> |
| | | AND tpp.create_time BETWEEN #{query.startTime} AND #{query.endTime} |
| | | </if> |
| | | <if test="query.auditStatus != null"> |
| | | <if test="query.auditStatus != null and query.auditStatus != -1"> |
| | | AND tpp.audit_status = #{query.auditStatus} |
| | | </if> |
| | | <if test="query.auditStatus == null"> |
| | | AND tpp.audit_status != -1 |
| | | </if> |
| | | AND tpp.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | ORDER BY tpp.create_time DESC |