All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mapper.DashboardFileDao.xml Maven / Gradle / Ivy

There is a newer version: 1.0.1.2024062701
Show newest version
<?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.gccloud.dashboard.core.module.file.dao.DashboardFileDao">

    <!--  更新文件下载次数  -->
    <update id="updateDownloadCount">
        update dashboard_file
        set download_count=download_count + #{addCount}
        where id = #{id};
    </update>

    <select id="getAllExtension" resultType="java.lang.String">
        select distinct extension from dashboard_file
    </select>

</mapper>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy