src/main/resources/mapper/safe/SafeTrainingMapper.xml
@@ -45,7 +45,7 @@ <if test="c.trainingDate != null "> AND DATE_FORMAT(st.training_date, '%Y%m%d') = DATE_FORMAT(#{c.trainingDate}, '%Y%m%d') </if> GROUP BY st.id, su.nick_name order BY st.id desc </select> <select id="getSafeTraining" resultType="com.ruoyi.safe.dto.SafeTrainingDto"> select st.*,