| | |
| | | <if test="dto.approvalStatus != null"> |
| | | and userR.approval_status = #{dto.approvalStatus} |
| | | </if> |
| | | <choose > |
| | | <when test="dto.approvalStatus != null and dto.approvalStatus == 0"> |
| | | and report.audit_person = #{dto.approvalStatus} |
| | | </when> |
| | | </choose> |
| | | </select> |
| | | <select id="countList" resultType="java.lang.Long"> |
| | | select count(1) from ywxt.SG_PROGRESS_REPORT report |
| | |
| | | <if test="dto.approvalStatus != null "> |
| | | and userR.approval_status = #{dto.approvalStatus} |
| | | </if> |
| | | <choose > |
| | | <when test="dto.approvalStatus != null and dto.approvalStatus == 0"> |
| | | and report.audit_person = #{dto.approvalStatus} |
| | | </when> |
| | | </choose> |
| | | </select> |
| | | <select id="selectByDeviceId" resultType="cn.gistack.sm.sg.VO.SgStepReportVO"> |
| | | SELECT |