cloud-server-other/src/main/resources/mapper/BannerMapper.xml
@@ -38,10 +38,11 @@ </insert> <select id="getHistory" resultType="com.dsh.other.entity.GetHistoryDto"> SELECT hs.insertTime,hs.passPic,hs.pleasePic,us.`name` SELECT hs.insertTime as date,hs.passPic,hs.pleasePic,us.`name` as createBy from t_usetime_history hs LEFT JOIN sys_user us on hs.createBy = us.id where hs.studentId = #{studentId} </select> </mapper>