liding
4 天以前 17a7a0c0df3dbc3e6225dddb55f6332deccdb201
src/main/resources/mapper/collaborativeApproval/SealApplicationManagementMapper.xml
@@ -4,7 +4,7 @@
    <select id="listPage" resultType="com.ruoyi.collaborativeApproval.dto.SealApplicationManagementDTO">
        select sam.*, su.user_name as create_user_name, d.dept_name as department,
        select sam.*, su.user_name as create_user_name, GROUP_CONCAT(d.dept_name SEPARATOR ',') as department,
        su1.nick_name as approveUserName
        from seal_application_management sam
        left join sys_user su on sam.create_user = su.user_id
@@ -22,5 +22,7 @@
                and sam.status = #{ew.status}
            </if>
        </where>
        group by sam.id, sam.application_num, sam.title, sam.status, sam.create_user, sam.approve_user_id,
        sam.create_time,  su.user_name, su1.nick_name
    </select>
</mapper>