Take a minute to learn about MyBatis's dynamic SQL!

One of the powerful features of MyBatis is its dynamic SQL. Spaces that used to be important when splicing, commas at the end of lists, and so on, can now be removed from manual processing. MyBatis is implemented using powerful OGNL-based expressions, which are described below. 1. if label if is the most common judgment statement and is mainly ...

Posted on Wed, 20 Nov 2019 22:45:49 -0500 by EagerWolf

Refinement guide for typescript

outline This chapter mainly talks about data types, involving the following: (Easy to remember QAQ~ which is divided according to my own understanding) Raw data type: boolean number string void null undefined Special data type: any unknown nerver Other data types: array tuple object enum Raw Data Type Boolean type const bool: boolean = true ...

Posted on Wed, 20 Nov 2019 21:06:16 -0500 by xhelle

mock.js simulates ajax data requests

Reprint: https://www.cnblogs.com/xieyong25/p/9596550.html In our development process, there is a situation that the front-end page ui is completed, but there is no interface for joint debugging data. Now we will introduce the use of mock.js to complete the data request. In this way, we only need to change the name of the reque ...

Posted on Wed, 20 Nov 2019 13:00:03 -0500 by gibbo1715

Details of PowerShell format table (AutoSize and Wrap parameters)

When we use format table to display output information, we usually find that if a property field is long, it cannot be displayed normally, as shown below. PS> Get-Process -Name powershell | Format-Table -Property Company,Name,Id,Path -AutoSize Company Name Id Path ------- ---- -- ---- Microsoft Corporation powershell 2836 C:\Program File ...

Posted on Wed, 20 Nov 2019 11:46:45 -0500 by nomad9

Spring framework learning notes: Spring Boot implementation upload and download

Recently, I'm too busy to write a blog. I've done a project, realized the download function, and didn't use upload. By the way, I've also learned how to upload, upload and download, and made a note download There are mainly two ways: Implemented through ResponseEntity By writing the OutputStream of HttpServletResponse I only tested that the ...

Posted on Wed, 20 Nov 2019 04:45:14 -0500 by kiosklim

AWTK control focus related issues

Control focus related issues I. enable tab stop In addition to the edit control, if other controls need the focus staying function, you can specify the focusable property of the control to be true. In XML, you can specify: <button ... focusable="true"/> In the C code, you can specify as follows: widget_set_prop_bool(widget, WIDGET_PROP ...

Posted on Wed, 20 Nov 2019 03:53:23 -0500 by cosminb

Learn a little about Vue's data responsiveness (Vue2 and Vue3)

What is data responsive When using Vue from the beginning, for the previous jq development, a big difference is that there is basically no manual operation of dom, and the data declared in data will automatically re render the relevant dom after the state changes.In other words, Vue knows which data state has changed and where it is useful to m ...

Posted on Tue, 19 Nov 2019 12:08:00 -0500 by bobicles2

Talk about the pullBatchSize of rocketmq

order In this paper, I just want to study the pullBatchSize of rocketmq pullBatchSize rocketmq-client-4.5.2-sources.jar!/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java public class DefaultMQPushConsumer extends ClientConfig implements MQPushConsumer { private final InternalLogger log = ClientLogger.getLog(); //...... ...

Posted on Tue, 19 Nov 2019 12:01:52 -0500 by hc

The definition of class in ts

① class defined in ts: class Person{ name:string; //public keyword omitted before attribute constructor(n:string){ //Method triggered when the constructor instantiates the class this.name=n; } run():void{ alert(this.name); } } var p=new Person('Zhang San'); p.run() (2) implementation ...

Posted on Tue, 19 Nov 2019 09:16:52 -0500 by tunage

Properties of object properties and defineProperty methods in JavaScript

The object is a collection of unordered attributes, and these attributes are all created with some eigenvalues (which can be understood as attributes of attributes, naturally brought in). These eigenvalues are used to implement the JavaScript engine, so JavaScript cannot directly access them. JavaScript uses these eigenvalues to define the beha ...

Posted on Tue, 19 Nov 2019 08:43:02 -0500 by retro