Tag:Definition
-
Unified solution for converting code items by spring boot enumeration
Define structure and interface public class CodeItem { private String _itemText; private Object _itemValue; public CodeItem(){ } public CodeItem(String itemText, Object itemValue){ _itemText = itemText; _itemValue = itemValue; } public String get_itemText() { return _itemText; } public void set_itemText(String _itemText) { this._itemText = _itemText; } public Object get_itemValue() { return _itemValue; } public void set_itemValue(Object […]
-
Database stored procedure
What is a database stored procedure? In fact, the definition is very simple: it is a defined SQL code that can be called repeatedlyWe can also define stored procedures that can accept parameters, so that we can deal with requirements more flexibly. grammar CREATE PROCEDURE procedure_name AS sql_statement GO; EXEC procedure_name; example CREATE PROCEDURE SelectAllCustomers […]
-
C + + pointer type function
The following essay will describe the functions of C + + pointer type. Original link: https://www.cnblogs.com/iFrank/p/14444379.html Pointer type function If the return value of a function is a pointer, the function is a pointer type function. Definition form of pointer function Storage type * data type * function name () {// function body statement } […]
-
Uncover the core technology of a large factory’s approval process engine for enterprise digital transformation
1. Definitions On the road of enterprise digital transformation, an essential item is the online approval process. We all need to build our own approval system, and the core of the approval system is the approval process engine What is an approval process engine? It is a toolkit used to drive the execution of approval […]
-
Vue cli packaging NPM component key point record
First create the project Vue create project name(Vue init is an old version) Then sort the catalogue into the following examplesFor local testingpackagesIt stores the developed components Then organize the package json If you have an entry file on the NPM command line, you don’t have tovue.config.jsThe entry file is defined on enclosedvue.config.jsConfiguration scheme Vue […]
-
Best practices for typescript version 2021
Now more and more of our projects use typescript and enjoy the benefits it brings. In order to use it more efficiently, we can follow some rulesBest practices, the following principles are what I use and recommend Use the correct type declaration (avoid any) Type declaration is a great advantage of typescript, especially in the […]
-
C + + function pointer description
The following essay explains the usage of function pointers. Definition of function pointer: Definition form: Storage type data type (* function pointer name) () meaning: The function pointer points to the program code storage area Typical use of function pointer —– implement function callback Function called through function pointer For example, the pointer of a […]
-
Spring boot implements redis switching dbindex
preface During the actual use of spring boot integrated redis, different types of business data may exist in different dbindexes. For example, token stores db0 and redis global lock stores dbindex1. We need to extend the redistemplate operation to support different dbindexes in a single operation programme When the system loads, initialize the corresponding number […]
-
Vue3 and the latest version of element plus are international, multilingual and highly encapsulated. Language files are distinguished by module to adapt to large projects. Reduce conflict.
1、 Download il8n plug-ins. Currently, the il8n version downloaded through NPM install vue-il8n cannot support vue3 0, so use NPM install Vue- [email protected] To get the latest version. 2、 Introduction component The vuei18 document applicable to vue3 is here, and there is no Chinese version at present. If you see the Chinese version, it should […]
-
Study hard go: 5 Constants and operators
Series articles: Study hard go: 1 Learning lead Study hard go: 2 Environment construction Study hard go: 3 Environment construction – gomod learning Study hard go: 4 Variables and data types Study hard go: 5 Constants and operators Study hard go: 6 Process control Study hard go: 7 Built in collection array Study hard go: […]
-
[C + + advanced path] three methods for C + + to prevent header files from being repeatedly introduced!
Previously, we introduced in detail how to use macro definition (#ifndef / #define / #endif) in C language to effectively avoid repeated #include of header files. This method is also commonly used in C + + multi file programming. For example, the following is a C + + project with school H and student H […]
-
Redux pit entry notes
Redux is simply an event distributor and globalstateConsole. Redux has a globalstate, by wrapping the root componentProvider, willstoreDistributed to all subcomponents, and subcomponents passconnectMethod, getdispatchEvent distribution function and requiredprops(it can also be passed if necessaryconnectPass in the information you want to distribute to the child componentsaction) Define constants, States, and actions // Reducer/ConstValue.js export const […]