buhuazhen
9 天以前 f50da3afc73bc458640677c198bb7c99de5b2fe5
src/main/resources/mapper/safe/SafeTrainingDetailsMapper.xml
@@ -30,7 +30,7 @@
                 left join safe_training st on std.safe_training_id = st.id
        where std.user_id = #{c.userId}
        <if test="c.trainingDate != null">
            and st.training_date = #{c.trainingDate}
            and st.training_date = date_format(#{c.trainingDate},'%Y%m%d')
        </if>
    </select>