9月3日 分布式缓存 周一

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/helloworld_1996/article/details/82391679
<?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.ICustomerMapper">
    <select id="findCustomerList" resultType="com.hao.dto.Customer">
        select * from t_customer order by datetime
    </select>
    <select id="mohuList" parameterType="String" resultType="com.hao.dto.Customer">
        select * from t_customer where datetime=#{mohu}
    </select>

    <select id="getCustomer" parameterType="int" resultType="com.hao.dto.Customer">
        select * from t_customer where id = #{id}
    </select>

    <update id="update" parameterType="com.hao.dto.Customer">
        update t_customer set datetime=#{datetime},name=#{name},tel=#{tel},name2=#{name2},dept=#{dept},high=#{high} where id=#{id}
    </update>

    <insert id="add" parameterType="com.hao.dto.Customer">
        insert into t_customer values(#{id},#{datetime},#{name},#{tel},#{name2},#{dept},#{high})
    </insert>

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

    <!-- <select id="findStudentById" parameterType="int" resultType="com.bw.dto.Student">
        select * from t_student where id = #{id}
    </select>
    <insert id="toadd" parameterType="com.bw.dto.Student">
        insert into t_student (id,name,sex,hobby,birthday) values (byinsert.nextval,#{name},#{sex},#{hobby},#{birthday})
    </insert>

    <delete id="del" parameterType="com.bw.dto.Student">
        delete from t_student where id=#{id}
    </delete>
    <select id="create">
    create sequence byinsert
    </select> -->
</mapper>

**活着便是受苦,要活下去,便要由痛苦中找出意义。如果人生真有一点目的,痛苦和死亡必定有其目的。
“懂得‘为何’而活的人,差不多‘任何’痛苦都忍受得住。**

——弗兰克尔《追寻生命的意义》

猜你喜欢

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