9月10日 分布式缓存 周一

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/helloworld_1996/article/details/82597646
<?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.hao.mapper.IShowMapper">
    <select id="findShowList" resultType="map">
        select * from show0910  order by id
    </select>

    <select id="findTypeList" resultType="map">
        select * from t_showtype0910
    </select>

    <insert id="add" parameterType="com.hao.dto.Show">
        insert into show0910 values(seq_t_show0910.nextval,#{showtime},#{showtype},#{showman},#{shownum},#{showcontent})
    </insert>

    <select id="getObj" parameterType="int" resultType="com.hao.dto.Show">
        select * from show0910 where id = #{id}
    </select>

    <update id="update" parameterType="com.hao.dto.Show">
        update show0910 set showtime=#{showtime},showtype=#{showtype},showman=#{showman},shownum=#{shownum},showcontent=#{showcontent} where id = #{id}
    </update>

    <delete id="del" parameterType="int">
        delete from show0910 where id=#{id}
    </delete>


</mapper>

“得不高不低之位,争不荣不辱之地,才得长久平安。”
《如懿传》

猜你喜欢

转载自blog.csdn.net/helloworld_1996/article/details/82597646
今日推荐