multi-system/src/main/resources/mapper/system/StandingBookMapper.xml
@@ -6,9 +6,10 @@ <select id="getStandingBooks" parameterType="com.gkhy.exam.system.domain.StandingBook" resultType="com.gkhy.exam.system.domain.StandingBook"> select a.*,b.dept_name as deptName from standing_book a select a.*,b.dept_name as deptName,c.name as personResponsibleName from standing_book a left join sys_dept b on a.dept_id = b.dept_id where del_flag = 0 left join sys_user c on a.person_responsible = c.id where a.del_flag = 0 <if test="companyId != null"> and a.company_id = #{companyId} </if>