码迷,mamicode.com
首页 > 其他好文 > 详细

2020-02-25

时间:2020-02-26 01:33:49      阅读:57      评论:0      收藏:0      [点我收藏+]

标签:set   zookeeper   服务   find   www   dtd   use   values   微服务   

庚子鼠年 戊寅月 戊戌日

描述

springboot练习

随笔

整合Druid

JDBCTemplate的使用 https://blog.csdn.net/qq_23329167/article/details/81841996

参考博客:https://www.cnblogs.com/SimpleWu/p/10049825.html

整合mybatis

https://blog.csdn.net/qq_40674583/article/details/104499926

<?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="chang.mapper.UserMapper">

    <insert id="addUser" parameterType="user">
        insert into user(xh,username,sex,banji,xb) values (#{xh},#{username},#{sex},#{banji},#{xb});
    </insert>

    <delete id="deleteUser">
        delete from user where xh = #{xh}
    </delete>

    <update id="updataUser" parameterType="map">
        <if test="#{xh} != null">
            update user
            <set>
                <if test="#{username} != null">username = #{username},</if>
                <if test="#{sex} != null">sex = #{sex},</if>
                <if test="#{banji} != null">username = #{banji},</if>
                <if test="#{xb} != null">xb = #{xb},</if>
            </set>
            where xh = #{xh}
        </if>
    </update>

    <select id="findOneByXh" resultType="user">
        select * from user where xh = #{xh}
    </select>
</mapper>

spring安全

swagger

异步任务

邮件任务

分布式RPC

微服务

Dubbo和Zookeeper

Dubbo-admin

2020-02-25

标签:set   zookeeper   服务   find   www   dtd   use   values   微服务   

原文地址:https://www.cnblogs.com/chang1024/p/12364692.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!