Mysql -- stored procedure
A stored Procedure is a set of SQL statements that are compiled and stored in a database to complete a specific function. The user can execute it by specifying the name of the stored Procedure and giving parameters.
Stored procedures can contain logical control statements and data manipulation statements, which can accept para ...
Posted by storyteller on Tue, 31 Dec 2019 03:05:39 -0800
[JeeSite] role and permission modification (secondary development code analysis)
@RequiresPermissions("sys:role:edit")
@RequestMapping(value = "save")
public String save(Role role, Model model, RedirectAttributes redirectAttributes) {
if(!UserUtils.getUser().isAdmin()&&role.getSysData().equals(Global.YES)){
addMessage(redirectAttributes, "Unauthorized operation, only super adminis ...
Posted by alan007 on Mon, 30 Dec 2019 23:56:53 -0800
python pandas dataframe row and column selection, slicing operation
python pandas dataframe row and column selection, slicing operation
In SQL, select is based on the column name; panda is more flexible. It can be selected not only based on the column name, but also based on the position of the column (number, in the row and column, note that the position of the panda column starts from 0). Th ...
Posted by mikeylikesyou on Mon, 30 Dec 2019 20:28:11 -0800
How does the dao interface of mybatis relate to sql in the xml file?Step by step analysis
Preface
Before you begin the body, explain how the Dao interface corresponds to the SQL in the XML file.
At the end of a sentence, mybatis parses these xml files, establishes a relationship with Dao through the namespace ins id e the xml file, and then associates each sql in the xml with an interface in dao.
The question then arises:'If I have ...
Posted by mike_at_hull on Mon, 30 Dec 2019 17:47:17 -0800
Use Oracle for all to see what kinds of insert s are available
Environment: 11g
create table emp_copy
as
select empno, ename, job, hiredate from emp where 1 = 2;
1.Whole
--Abbreviation
declare
cursor c_emps is
select empno, ename, job, hiredate from emp;
type emp_aat is table of c_emps%rowtype
index by pls_integer;
aa_emps emp_aat;
begin
open c_emps ...
Posted by camdagr81 on Sun, 29 Dec 2019 08:39:01 -0800
Source Explanation for Ajax Actual Projects (Quick Start Example) Github Source
Author| Jeskson
Source|Dada Front End Bistro
Source address:
https://github.com/huangguangda/Ajaxitm
What is Ajax technology?Use Ajax technology in the real world, understand the way the front and back end interact, understand the mode of the mobile end, understand the new technology of H5, understand the use of CSS3, and the use of JQuery.
Aj ...
Posted by ody on Sat, 28 Dec 2019 11:45:40 -0800
Mybats related pits (I)
1, Note the use of sql relationship symbols such as > =, < =, < and so on
The following code:
<select id="queryGoodsList" resultType="com.sanbang.vo.GoodsInfo" parameterType="java.util.Map">
select g.id,
g.name,
IFNULL((select s.salePrice from ezs_goods_audit_process s where s.goods_id = g.id and s.delete ...
Posted by lovely on Fri, 27 Dec 2019 08:15:38 -0800
EMQ X plug-in persistence series PostgreSQL data persistence
This chapter uses the actual example in CentOS 7.2 to show how to store relevant information through PostgreSQL.
As an important member of the open-source relational database, PostgreSQL boasts that it is the most advanced open-source database in the world. Compared with other open-source relational databases such as MySQL, PostgreSQL is a comm ...
Posted by del753 on Thu, 26 Dec 2019 22:58:37 -0800
Good helper of MySQL DBA -- dbm
Guidance:
Author: at present, Jiang lexing MySQL DBA maintains two sets of MySQL open-source tools & DBM (DBM agent DBM Center) on github, and has some experience in machine learning and programmed transaction.
Catalog
Using dbm to liberate productivity
Install & initialize DBM agent
One line command to solve the problem of inst ...
Posted by project18726 on Thu, 26 Dec 2019 19:57:17 -0800
Android Chapter 3 SQLite database
1. Use execSQL API to operate the database.
Step 1: create the Class MyOpenHelper implementation interface SQLiteOpenHelper, copy the constructor, onCreate and onUpgrade methods;
Step 2, after creating the myOpenHelper object myOpenHelper, use the relevant API of myOpenHelper to operate the database.
package com.xiaohui.create ...
Posted by janey on Thu, 26 Dec 2019 13:24:13 -0800