heheng
2025-11-27 af31f0a78ec1932cec1a7e99482e7d850e60576e
multi-system/src/main/resources/mapper/system/StandingBookMapper.xml
@@ -6,12 +6,16 @@
    <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
                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>
        <if test="deviceType != null">
            and a.device_type = #{deviceType}
        </if>
        order by a.create_time desc
    </select>