Dynamic Assignment Tasks for Activiti Development Cases
Flow chart
The above is a leave flow chart. The following is a description of the process task node:
Employees initiate leave process
Departmental Manager Approval
Consent goes into personnel examination and approval
Refusal adjusts the application or closes the process directly
Personnel examination and approval will enter the stage of sell ...
Posted by fnbcprog on Sun, 06 Oct 2019 00:22:43 -0700
MyBatis Plus-3-Universal CRUD
General CRUD
1.1 Create the interface EmployeeMapper and inherit BaseMapper<T>
public interface EmployeeMapper extends BaseMapper<Employee> {
/*
* Mapper Interface
*
* Based on Mybatis: Writing CRUD-related methods in Mapper interface provides corresponding SQL mapping files and corresponding SQL statements for Ma ...
Posted by callesson on Sat, 05 Oct 2019 18:08:08 -0700
SQLite in Python: How to use the SQLite database in Python
sqlite3 can integrate with Python using sqlite3 module. The sqlite3 module is written by Gerhard Haring. It provides a SQL interface compatible with the DB-API 2.0 specification described in PEP 249. You don't need to install the module separately, because the Python 2.5.x version or above defaults to have the module.
Use the "chinook&quo ...
Posted by Kookedoh on Fri, 04 Oct 2019 20:43:11 -0700
python connects mysql server
python connects mysql clients
import pymysql # Import module
conn = pymysql.connect(
host='127.0.0.1', # Host module
port=3306, # Port number
user='root',# User name
password='123', # Password
database='db', # Libraries that need to be connected
charset='utf8' # Specify code utf8
)
cursor = conn.cursor() # Get cursor
# ...
Posted by alexrait1 on Fri, 04 Oct 2019 18:26:08 -0700
How to operate database with eql statement
Query database with eql statement
string sql = " SELECT * FROM XX x";
string[] wheres;
if(c.length)//(string type)
{
wheres ~= "x.c '%" ~ c ~ "%'";//% "~"% is used to concatenate strings
}
if (z)
{
wheres ~= "x.z = :z";
}
if (where ...
Posted by ahsanmani on Fri, 04 Oct 2019 15:16:04 -0700
Linux Centos 7 - MySQL 5.7 Offline Installation
The internal network is installed by offline package.
First, Download
Download address: https://dev.mysql.com/downloads/mysql/
After entering the page, click the link on the right.
Download the corresponding version.
Upload to the server through xftp6 and other tools.
II. Installation and Configuration
2.1 Query and uninstall Ma ...
Posted by thoand on Fri, 04 Oct 2019 13:08:04 -0700
MySQL Data Synchronizes Process to ES Search Engine in Full and Incremental Way
This article source code: GitHub. Click here || GitEE. Click here
I. Detailed Configuration
Scenario Description: MySQL tables synchronize with Elastic Search search engines in a full and incremental manner.
1. Download Content
Elastic search version 6.3.2
logstash Version 6.3.2
mysql-connector-java-5.1.13.jar
2. Core configuration
Path: / ...
Posted by beboo002 on Fri, 04 Oct 2019 11:12:52 -0700
Several Ways to Realize Tree Structure by mybatis Single Table Self-Association
The javaBean is as follows:
public class Permission implements Serializable {
private Integer id;
private String name;
private String icon;
private String url;
private boolean open;//Are the leaves open?
private Integer pid;//Father id
private boolean checked;//Is it selected ...
Posted by notionlogic on Fri, 04 Oct 2019 07:57:15 -0700
java.sql.SQLException: No suitable driver solution (due to your own carelessness)
java.sql.SQLException: No suitable driver solution
warning: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@5466b465 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allo ...
Posted by graham23s on Fri, 04 Oct 2019 05:27:50 -0700
Selenium 2 Java uses mysq to resolve token expiration when inserting cookies into browsers
When I study selenium 2 Java and insert cookies into the browser to simulate user login, I found a problem, that is, the token value expired. Later, I learned selenium 2 java to connect to the database and found a better solution. Every time you insert cookies, you always get the latest token from the database, which perfectly solves the proble ...
Posted by jameslloyd on Fri, 04 Oct 2019 04:29:29 -0700