src/main/resources/mapper/XlsReportMapper.xml
@@ -63,4 +63,12 @@ from yssh_qxsh where time like #{time} and name = #{name}; </select> <!-- 根据时间查询溯源 --> <select id="selectSuYuanByTime" resultType="com.yssh.entity.SuYuan700"> select * from suyuan_46 where su_yuan_id = #{id} and create_time between #{start} and #{end} order by time; </select> </mapper>