| | |
| | | id, team_id, report_code, report_name, report_text, status, audit_person_id, audit_time, audit_remark, create_time, update_time, create_by, update_by, disabled |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.vo.TProjectApprovalReportVO"> |
| | | select id, team_id, report_code, report_name, report_text, status, audit_person_id, audit_time, audit_remark, create_time, update_time, create_by, update_by, disabled |
| | | select tpar.id, tpar.team_id, tpar.report_code, tpar.report_name, tpar.report_text, tpar.status, tpar.audit_person_id, |
| | | tpar.audit_time, tpar.audit_remark, tpar.create_time, tpar.update_time, tpar.create_by, tpar.update_by, tpar.disabled, |
| | | tpt.team_name as teamName |
| | | from t_project_approval_report tpar |
| | | left join t_project_team tpt on tpt.id = tpar.team_id |
| | | <where> |
| | |
| | | <if test="query.reportName != null and query.reportName != ''"> |
| | | and tpar.report_name like concat('%',#{query.reportName},'%') |
| | | </if> |
| | | <if test="query.status != null and query.status != -1"> |
| | | <if test="query.status != null"> |
| | | and tpar.status = #{query.status} |
| | | </if> |
| | | <if test="query.status == null"> |