将多条记录的某个字段合并成一条记录 group_concat : 将某字段多条记录合并,默认逗号分隔 select group_concat(c.invoice_no) from ibc_comm_invoice c where c.settle_nos like concat('%',m.sett ...
分类:
数据库 时间:
2021-03-31 12:35:16
阅读次数:
0
Linux命令 1.Linux文件相关的命令 1.1 find 查找文件或目录 语法:find [搜索范围][匹配条件] 参数说明 -name:按文件名称查找 -user:按文件拥有者查找 -size:按照文件大小查找(+n大于,-n小于,n等于) [root@localhost ~]# find ...
分类:
系统相关 时间:
2021-03-31 12:14:17
阅读次数:
0
网上很多帖子有在Linux上安装Redis的分享,这里我就不再多介绍。 redis在centos7中的开机自启在系统服务目录里创建redis.service文件 vi /etc/systemd/system/redis.service 写入以下内容:[Unit]Description=redis-s ...
分类:
系统相关 时间:
2021-03-31 12:13:38
阅读次数:
0
HTML页面: <div class=" row t1" style="text-align:center;"> <div class="form-group col-xs-2 col-md-offset-1"> <div class="panel panel-danger" style="back ...
分类:
编程语言 时间:
2021-03-31 12:12:55
阅读次数:
0
创建用户create user pidms_user identified by 'pidms_user';添加权限grant all privileges on *.* to pidms_user@'%' identified by 'kcm123456'; flush privileges; ...
分类:
数据库 时间:
2021-03-31 12:06:09
阅读次数:
0
Android系统启动:Init篇 原文:http://gityuan.com/2016/02/05/android-init/ 概述 init进程是Linux系统中用户空间的第一个进程,进程号固定为1。Kernel启动后,在用户空间启动init进程,并调用init中的main()方法执行init进 ...
分类:
移动开发 时间:
2021-03-31 12:02:01
阅读次数:
0
在剧本中设置循环信息 vim test04.yml hosts: all remote_user: root tasks: name: Add Users user: name={{ item.name }} groups={{ item.groups }} state=present with_i ...
分类:
其他好文 时间:
2021-03-31 11:52:29
阅读次数:
0
文档链接 https://docs.ansible.com/ansible/latest/reference_appendices/config.html 配置文件 [defaults] inventory = /etc/ansible/hosts sudo_user=root remote_por ...
分类:
其他好文 时间:
2021-03-30 13:37:18
阅读次数:
0
Springboot项目Java轻松实现Excel导出 一、需求背景 要求Java后端实现一个Excel导出功能。 二、工程包引入 implementation group: 'org.apache.poi', name: 'poi', version: '4.0.1' implementation ...
分类:
编程语言 时间:
2021-03-30 13:36:58
阅读次数:
0
import contextlib import pyhdfs class HdfsUtil(object): def __init__(self, hosts='namenode1:9870,namenode2:9870', user_name='hdfs'): self.hosts = host ...
分类:
编程语言 时间:
2021-03-30 13:29:22
阅读次数:
0