dao layer and xml parameter binding in mybatis 3.5.0/mybatis plus 3.x is complete (unlike older versions)

Mode 1 (not recommended) Single parameter mode @Mapper public interface UserDao extends BaseMapper<User> { User selectList1(String username, String phone); } <select id="selectList1" resultMap="BaseResultMap"> select * from user where username= #{arg0} and phone=#{arg1} </select> Note: select * from user where us ...

Posted by redbrad0 on Sat, 31 Aug 2019 06:26:49 +0200

The Principle of Routing

First, Routing Principles 1. Definition: End-to-end transport path 2. Routing structure protocal: protocol header hostname: domain name Port: port Pathname: pathname search: query parameters hash: hash, locate the anchor, and it will not be transmitted to the server 3. Query routing information: window.location 4. Routing front-end routing a ...

Posted by pcw on Fri, 30 Aug 2019 10:37:07 +0200

Monorepo 15 minutes to experience lerna

hello! hello, everyone, I am a front-end development, committed to sharing technology with you in the simplest and straightforward way of introduction, looking forward to common progress of good young people, ha ha ha In this article, I will elaborate the following points according to my own project experience: Why use lerna for project manag ...

Posted by MikeSnead on Fri, 30 Aug 2019 10:13:13 +0200

SpringBoot Integrated WebSocket+Socketjs Heart Reconnection Implementation

I. Basic concepts 1. Unicast: point-to-point, private chat 2. Multicast, also known as Multicast (Special Crowds): Multi-person chat, publish and subscribe 3. Broadcast (everyone): Game announcements, publishing and subscribing 2. Springboot Inte ...

Posted by JsusSalv on Fri, 30 Aug 2019 07:35:47 +0200

VScode plug-in recommendation and C/C++ configuration

The following are the VScode plug-ins I often use. Because the plug-in itself has detailed configuration and introduction, the installation configuration of the plug-in itself is not explained, and only the main functions of these plug-ins are expended. It is strongly recommended to see the instructions after installing the plug-in. Most of the ...

Posted by Beauford on Thu, 29 Aug 2019 16:45:42 +0200

Python crawler framework: scrapy crawls college entrance examination data

Links to the original text: https://www.cnblogs.com/happymeng/p/10330023.html 1. College Entrance Examination School College Data - Write in front Finally, scrapy crawler framework has been written. This framework can be said to be the mos ...

Posted by iknownothing on Thu, 29 Aug 2019 14:24:50 +0200

What is Json and how to use it

JavaScript Object Notation: Object representation of javascript. This is a grammar that can pass objects, such as key-value pairs, arrays, and other objects.   Lightweight data transmission method. json format: Key:{key:{key:[{key: value, key: value}]} is flexible. {}: Represents a collection, container[]: Install arrays, collectionsKey- ...

Posted by LarryK on Thu, 29 Aug 2019 09:39:33 +0200

Ajax call.net WCF

The experiment has been repeated many times, but it is actually simpler, but we have taken a lot of detours. To sum up now,Environment: VS2015 Creating.net WCF is easy. I use IIS as service support to add new WCF directly to my web application project. 2. Add a service interface (which I'm used to) that defines several methods that need to ...

Posted by Wolphie on Tue, 27 Aug 2019 18:14:38 +0200

Four Content Negotiation Ways with Built-in Support of Spring MVC

Every sentence Ten bald heads, nine rich, and the last one will cut down trees Preface I wonder if you were "surprised" when using Spring Boot: the same interface (the same URL) in the case of interface error, if you use rest access, it returns you a json string; but if you use browser access, it returns you a section of html. Just ...

Posted by kenslate on Tue, 27 Aug 2019 15:56:02 +0200

Concurrent programming for python learning

Catalog I. Multiple Processes of Concurrent Programming 1. Introduction of multiprocessing module 2. Introduction of Process Class 3. Use of Process Class 3.1 Two ways to create sub-processes 3.2 Getting process pid 3.3 Spatial isolation between validation processes 3.4 join Method fo ...

Posted by ElectricRain on Tue, 27 Aug 2019 14:41:08 +0200