| | |
| | | <if test="dto.reportPerson != null "> |
| | | and report.report_user = #{dto.reportPerson} |
| | | </if> |
| | | <if test="dto.startTime != null and dto.startTime !='' "> |
| | | and report.report_time >= #{dto.startTime} |
| | | </if> |
| | | <if test="dto.endTime != null and dto.endTime !='' "> |
| | | and report.report_time <= #{dto.endTime} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="queryPageListAll" resultType="cn.gistack.sm.sg.VO.SgProgressReportVO"> |
| | |
| | | </if> |
| | | AND userR.approval_order != 0 |
| | | </if> |
| | | <if test="dto.startTime != null and dto.startTime !='' "> |
| | | and report.report_time >= #{dto.startTime} |
| | | </if> |
| | | <if test="dto.endTime != null and dto.endTime !='' "> |
| | | and report.report_time <= #{dto.endTime} |
| | | </if> |
| | | <choose > |
| | | <when test="dto.approvalStatus != null and dto.approvalStatus == 0"> |
| | | and report.audit_person = #{dto.userId} and (report."STATUS" = 0 or report."STATUS" = 1) |