Mybatis's <where><foreach><set> label details

In the where condition of sql statement, some security judgments are needed, such as searching by sex. If the incoming parameters are empty, then the query results are likely to be empty. Perhaps we need the parameters to be empty, which is to find all the information. This is how we can use dynamic sql to add a judgment, when the parameters ...

Posted on Thu, 20 Dec 2018 06:15:06 -0800 by hyp0r

android Learning Notes - Broadcast Receiver Receiver Receiver Receiver Broadcasting Process (ip Dialer, sd Card Status, SMS, Application Installation and Unloading)

android has built-in many system-level broadcasts, such as a broadcast when the mobile phone is turned on, a broadcast when the battery power changes, a broadcast when the time or time zone changes, and so on. To receive these broadcasts, you need to use a broadcasting receiver. Here's a basic understanding of the process. Cat ...

Posted on Thu, 20 Dec 2018 05:54:05 -0800 by moiseszaragoza

Integration of spring cloud cloud service architecture - HongHu commonservice-eureka project construction process

Now we build the following for the eureka project of HongHu cloud. The whole process of building is very simple. I will record every step of the process. I hope it can help you:1. Create a maven project named particle-common-eureka and inherit particle-commonservice. The specific pom.xml configuration file is as follows:<?xml version="1 ...

Posted on Wed, 19 Dec 2018 22:18:05 -0800 by FarhanKhalaf

docker installs ffmpeg, alpine/ubuntu installs ffmpeg

docker installs ffmpeg, alpine/Ubuntu installs ffmpeg During this period, ffmpeg was used in the project. Our project was deployed through docker. Some of my tomcat base images are Ubuntu and some are alpine. There is a problem and sometimes the installation fails. Next, I'll introduce you to the installation tutorial ...

Posted on Wed, 19 Dec 2018 18:33:04 -0800 by fiona

Android ListView, AsyncTask, GridView, CardView, Local Data Storage, SQLite Database

Copyright Statement: No Reprint without Blogger's Permission supplement In addition to the previous section, ListView is used to display list items. Using ListView requires two xml files, one is the list layout, and the other is the layout of a single list item. If we want to display all app list items in the system, we need the left app ima ...

Posted on Wed, 19 Dec 2018 01:48:04 -0800 by ixos

Add TOC(Table of content) to marked

Markdown has always been parsed using the marked library, and now I want to add TOC functionality to it. Using marked to parse markdown text is very simple, such as: marked (markdown Text) can get the parsed html content. Initialize marked import library var marked = require('marked'); Rewrite renderer.heading tocObj is introduce ...

Posted on Wed, 19 Dec 2018 01:42:04 -0800 by dv_evan

Spring Cloud Builds Micro-Service Architecture: Service Registration and Discovery (Eureka, Consul) [Dalston Edition]

It's been a long time since Spring Cloud was updated to build a micro-service architecture. Since the beginning of writing Spring Cloud's topic content, it has gained a lot of reading and recognition. Of course, there are also some criticisms, including some very pertinent opinions and in-depth issues. It's also an opportunity for me to further ...

Posted on Tue, 18 Dec 2018 16:33:04 -0800 by pucker22

Android System (57) - - Functional Introduction and UI Layout Implementation of Android System UI-System UI

Function Introduction and UI Layout Implementation of Android UI-System UI Preface Android In the process of ROM development, it is inevitable to involve the modification of SystemUI. Some work has been done in this area before. Now, I am going to introduce SystemUI according to the following chapters, so as to make a hol ...

Posted on Mon, 17 Dec 2018 20:48:04 -0800 by esukf

Canvas&Paint Knowledge Carding (2) - Canvas Preservation and Recovery

I. Signs Relating to Canvas Preservation Before we understand Canvas's preservation, let's first look at the definitions of the tags associated with preservation, which define the type of preservation. These tags are defined in Canvas.java, and there are six tags in total. /** * Restore the current matrix when restore() is called. */ ...

Posted on Mon, 17 Dec 2018 18:33:03 -0800 by riddlejk

Action System for Android Studio/Intellij IDEA Plug-in Development 2

Plug-in Development Series Android Studio/Intellij IDEA Plug-in Development 1 Plug-in Introduction and Environment ConstructionAction System for Android Studio/Intellij IDEA Plug-in Development 2 Action System contains the most basic Action, as well as Action Group. Action What is Action Our own code logic, executed in the IDE operating en ...

Posted on Mon, 17 Dec 2018 00:42:04 -0800 by Paws