|
@@ -47,7 +47,7 @@
|
|
|
|
|
|
<select id="selectListPage" resultType="com.ims.eval.entity.EvaluationDeptBusinessAssessment">
|
|
|
select * from evaluation_dept_business_assessment edba
|
|
|
- left join evaluation_dept ed on edba.dept_id = ed.dept_id
|
|
|
+ left join evaluation_dept ed on edba.dept_id = ed.dept_id and ed.del_flag = '1'
|
|
|
<where>
|
|
|
<if test="deptId != null and deptId != ''">
|
|
|
AND edba.dept_id = #{deptId}
|
|
@@ -64,6 +64,7 @@
|
|
|
<if test="stage != null and stage != ''">
|
|
|
AND edba.stage = #{stage}
|
|
|
</if>
|
|
|
+
|
|
|
</where>
|
|
|
order by edba.appraisal_year desc, ed.serial_number asc
|
|
|
</select>
|