You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
692 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.udidl.admin.dao.info.FileInfoDao">
<select id="list" resultType="com.glxp.udidl.admin.entity.info.FileInfoEntity">
select * from fileInfo order by createTime DESC
</select>
<insert id="insert" parameterType="com.glxp.udidl.admin.entity.info.FileInfoEntity">
insert into fileInfo (type, fileName,downloadType,startDate,endDate, count,fileSize,createTime)
values (#{type},#{fileName},#{downloadType},#{startDate},#{endDate},#{count},#{fileSize},#{createTime})
</insert>
</mapper>