performance-server/src/main/resources/mapper/PerformanceShiftMapper.xml
@@ -12,7 +12,8 @@
    <select id="performanceShiftPage" resultMap="performanceShiftPageMap">
        SELECT
        u2.name name,
        GROUP_CONCAT(s.work_time, ':', s.shift, ':', s.id order by s.work_time SEPARATOR ';') AS shift_time, u2.id user_id
        GROUP_CONCAT(s.work_time, ':', s.shift, ':',IFNULL(s.annotation_text,''), ':',s.id order by s.work_time SEPARATOR ';') AS shift_time,
        u2.id user_id
        FROM performance_shift s
        LEFT JOIN (SELECT distinct u.* from
        user u
@@ -25,8 +26,8 @@
         ) u2    on u2.id = s.user_id
        <where>
            name is not null
            <if test="time != null and time != ''">
                and DATE_FORMAT(s.work_time, '%Y-%m') = DATE_FORMAT(#{time}, '%Y-%m' )
            <if test="firstDayOfMonth != null and lastDayOfMonth != null">
                AND s.work_time BETWEEN #{firstDayOfMonth} AND #{lastDayOfMonth}
            </if>
            <if test="userName != null and userName != ''">
                and u2.name like concat('%', #{userName}, '%')