08 2020 档案

SQL---表内容查询
摘要:1、查询表的字段及字段类型 select column_name columnName, column_type columnType from information_schema.columns where table_name = '表名' and column_name = '字段名' 2、 阅读全文

posted @ 2020-08-28 15:53 anpeiyong 阅读(374) 评论(0) 推荐(0) 编辑

SQL---修改表
摘要:1、修改字段类型长度 ALTER TABLE test_demo MODIFY COLUMN name varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL; 阅读全文

posted @ 2020-08-28 10:20 anpeiyong 阅读(242) 评论(0) 推荐(0) 编辑

SQL-Mysql-琐事
摘要:1、将字符串的数字值 转换为 数字 eg:SELECT CAST('80' AS SIGNED); 阅读全文

posted @ 2020-08-21 14:24 anpeiyong 阅读(59) 评论(0) 推荐(0) 编辑

SQL-Mysql-数据操作
摘要:1、replace into replace into 跟 insert 功能类似,不同点在于:replace into 首先尝试插入数据到表中, 1. 如果发现表中已经有此行数据(根据主键或者唯一索引判断)则先删除此行数据,然后插入新的数据。 2. 否则,直接插入新数据。 MySQL replac 阅读全文

posted @ 2020-08-20 16:18 anpeiyong 阅读(85) 评论(0) 推荐(0) 编辑

SQL---String Functions(字符串函数)
摘要:1、group_concat( [DISTINCT] 要连接的字段 [Order BY ASC/DESC 排序字段] [Separator '分隔符'] ) 字符串拼接 https://www.iteye.com/blog/hchmsguo-555543 阅读全文

posted @ 2020-08-19 13:33 anpeiyong 阅读(253) 评论(0) 推荐(0) 编辑

SQL---Date and Time Functions(日期函数)
摘要:1、DATE_ADD(date,INTERVAL expr type) 向日期添加指定的时间间隔; date: 参数是合法的日期表达式 expr: 参数是您希望添加的时间间隔 type:时间单位 2、TIMESTAMPDIFF(unit,time1,time2) 返回指定时间单位的 时间差 unit 阅读全文

posted @ 2020-08-19 10:16 anpeiyong 阅读(206) 评论(0) 推荐(0) 编辑

Activiti---流程部署
摘要:package com.an.processdeploy; import org.activiti.engine.ProcessEngine; import org.activiti.engine.ProcessEngines; import org.activiti.engine.Reposito 阅读全文

posted @ 2020-08-09 22:12 anpeiyong 阅读(296) 评论(0) 推荐(0) 编辑

Activiti---demo
摘要:【请假流程】 0、初始化表 1、画流程图 1.1、画流程图 1.2、设置办理人 1.3、设置流程id、name 【空白区域】 2、部署流程定义 2.1、将流程图重命名为.xml文件,再保存png文件,再将.xml文件改回bpmn文件; 3、启动流程 4、查询任务 5、办理任务 <?xml versi 阅读全文

posted @ 2020-08-09 14:15 anpeiyong 阅读(268) 评论(0) 推荐(0) 编辑

Activiti---Ecilpse插件安装
摘要:1、Help >Install New Software >add > name:Activiti BPMN Designer(自定义) Location:http://activiti.org/designer/update/ >select all >Details部分 选中 Contact a 阅读全文

posted @ 2020-08-05 17:30 anpeiyong 阅读(209) 评论(0) 推荐(0) 编辑

Activiti---核心API
摘要:1、ProcessEngine 获取方式: a,ProcessEngineConfiguration configuration=ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration(); ProcessEngin 阅读全文

posted @ 2020-08-05 16:49 anpeiyong 阅读(129) 评论(0) 推荐(0) 编辑

Activiti---概述
摘要:1、工作流引擎 ProcessEngine对象,是Activiti工作的核心; 负责 生成流程运行时的各种实例及数据、 监控和管理流程的运行; 2、BPMN 流程图 3、数据库 re:包含 流程定义、流程静态资源(流程图...); hi:历史数据; ru:正在执行的流程数据; id:包含 身份信息( 阅读全文

posted @ 2020-08-04 21:45 anpeiyong 阅读(152) 评论(0) 推荐(0) 编辑

SpringSecurity---认证、授权
摘要:1、概述 1.1、Spring Security支持 各种来源的用户数据,包括内存、数据库、LDAP等。 它们被抽象为一个UserDetailsService接口,任何实现了UserDetailsService 接口的对象都可以作为 认证数据源; eg:InMemoryUserDetailsMana 阅读全文

posted @ 2020-08-03 11:22 anpeiyong 阅读(283) 评论(0) 推荐(0) 编辑

SpringSecurity---简介
摘要:1、概述 1.1、应用程序的 安全性 通常体现在两个方面:认证和授权 认证: 确认某主体(用户、设备、系统...)在某系统中是否合法、可用; 授权: 当主体通过认证之后,是否允许其执行某项操作; 1.2、Spring Security 的前身是 Acegi Security,在被收纳为Spring 阅读全文

posted @ 2020-08-02 22:11 anpeiyong 阅读(274) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示