我的狗叫乐乐八岁了
码龄7年
关注
提问 私信
  • 博客:208,824
    社区:2
    208,826
    总访问量
  • 70
    原创
  • 683,513
    排名
  • 17
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:甘肃省
  • 加入CSDN时间: 2018-01-18
博客简介:

Heyll__的博客

查看详细资料
个人成就
  • 获得32次点赞
  • 内容获得24次评论
  • 获得139次收藏
创作历程
  • 1篇
    2023年
  • 4篇
    2021年
  • 5篇
    2020年
  • 14篇
    2019年
  • 60篇
    2018年
成就勋章
兴趣领域 设置
  • 大数据
    mysql
  • 服务器
    linux
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

342人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

mysql按月分组并补齐

selecta.month,fromselectunionselectunionselectunionselectunionselectunionselectunionselectunionselectunionselectunionselectunionselectunionselect) aselectfromonwhere。
原创
发布博客 2023.09.21 ·
485 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

java 两个不同list<map> 取差集 并相互补全

public static BatchMetric list(BatchMetric metric, List<Map<Object,Object>> list1, List<Map<Object,Object>> list2){ System.out.println("#---------前"+list1); System.out.println("#---------前"+list2); Map<Ob.
原创
发布博客 2021.07.17 ·
1818 阅读 ·
2 点赞 ·
1 评论 ·
3 收藏

java8List集合根据对象的属性去重

@RequiresPermissions("system:statistical:list") @PostMapping("/list") @ResponseBody public TableDataInfo list(AttPrimary attPrimary) { List rs = new ArrayList(); Map mapRs = HkApiPerson.getOrgListByParent("root000000","1...
原创
发布博客 2021.07.17 ·
459 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

java8多个list对象用lambda求差集

@RequiresPermissions("system:statistical:list")@PostMapping("/getStuListNotClockIn/{orgIndexCode}/{accessTime}")@ResponseBodypublic TableDataInfo getStuListNotClockIn(@PathVariable String orgIndexCode,@PathVariable String accessTime){ AttPrimary a.
原创
发布博客 2021.07.17 ·
482 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

JSONObject转换成需要的对象类型

{ "name": "小名", "age":19 "subTradeList": [ { "balance": "2083.63", "money": "0.01", "tradeDesc": "工资", "tradeTime": "2018-12-07 11:51:01", "tradeType": "1", "queryT...
原创
发布博客 2021.07.17 ·
3889 阅读 ·
1 点赞 ·
0 评论 ·
4 收藏

mysql 按时间分组统计

/*** 每小时统计*/SELECT a.hour hour, ifnull(b.count, 0) count FROM (SELECT 0 hour UNION ALL SELECT 1 hour UNION ALL SELECT 2 hour UNION ALL SELECT 3 hour UNION ALL SELECT 4 hour UNION ALL SELECT 5 hour UNION ALL SELECT 6 hour UNION ALL SELECT 7 hour UNION..
原创
发布博客 2020.11.13 ·
390 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

java excel导出

package com.ruoyi.primary.utils;import cn.hutool.core.collection.CollUtil;import java.io.IOException;import java.io.OutputStreamWriter;import java.io.PrintWriter;import java.lang.reflect.Field...
原创
发布博客 2020.04.24 ·
195 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

xmlHelper

package com.gszcn.gsrssj.utils;import net.sf.json.JSONObject;import org.dom4j.Document;import org.dom4j.DocumentHelper;import org.dom4j.Element;import java.util.*;public class XMLHelper { ...
原创
发布博客 2020.04.01 ·
320 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

java httpclient byxml json

package com.gszcn.gsrssj.utils;import java.io.IOException;import java.net.URI;import java.security.KeyManagementException;import java.security.KeyStoreException;import java.security.NoSuchAlgor...
原创
发布博客 2020.04.01 ·
196 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

java excel 导出简单封装

package com.liyankun.api.utils;import cn.hutool.core.collection.CollUtil;import cn.hutool.core.date.DateUtil;import cn.hutool.core.util.RandomUtil;import cn.hutool.poi.excel.BigExcelWriter;impor...
原创
发布博客 2020.03.16 ·
264 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

nodejs mysql 操作

const db = require('../config/db')let show = (table) => { return new Promise((resolve, reject) => { db.query(`select * from ${table}`, (err, rows) => { if (err) { ...
原创
发布博客 2019.10.23 ·
205 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

golang struct 转 json

package mainimport ( "fmt" "reflect" "time")type Persion struct { Id int Name string}func StructToMapViaReflect() { m := make(map[interface{}]interface{}) t := time.Now() person ...
原创
发布博客 2019.10.11 ·
314 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

golang 导出excel封装2

func ExcelExportData360(db *gorm.DB, config config.Config, header []interface{}, data [][]interface{}, sheetName string) string { timeStr := time.Now().Format("2006-01-02 15:04:05") f := excelize....
原创
发布博客 2019.09.25 ·
502 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Golang excel 封装导出功能

package myutilsimport ( "feinail/of_capital/config" "fmt" "github.com/jinzhu/gorm" "github.com/tealeg/xlsx" "strconv" "time")func ExcelExportData(db *gorm.DB, config config.Config, header ...
原创
发布博客 2019.09.19 ·
1246 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

golang json 配置文件

//config.go:package configimport ( "reflect")type Config struct { Values map[string]interface{}}func New(fileName string) *Config { return NewJson(fileName, nil)}func config() *...
原创
发布博客 2019.09.03 ·
250 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

golang excel 导出功能

package myutilsimport ( "feinail/app/config" "github.com/jinzhu/gorm" "github.com/tealeg/xlsx" "strconv" "time")func ExcelExportData(db *gorm.DB, config config.Config, header []st...
原创
发布博客 2019.08.29 ·
3127 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

golang gorm 自定义 json,time.Time 格式

package utilsimport ( "bytes" "errors" "database/sql/driver")//自定义json类型type JSON []bytefunc (j JSON) Value() (driver.Value, error) { if j.IsNull() { return nil, nil } return string(...
原创
发布博客 2019.08.29 ·
4638 阅读 ·
0 点赞 ·
0 评论 ·
3 收藏

python 级别联动实现

from utils.httputil import Httpfrom utils.dbQry import MyDbUtilhttp = Http()mydb = MyDbUtil()def query_interface(): list = mydb.select_some("systems", "switch", 1) nodes = mydb.select_...
原创
发布博客 2019.06.10 ·
876 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

python3 pymysql 常用操做封装

import pymysqlfrom config import DB_CONFIGclass MyDbUtil(object): def __init__(self): self._conn = pymysql.connect(host=DB_CONFIG[0].get("master")["host"], ...
原创
发布博客 2019.06.03 ·
3004 阅读 ·
1 点赞 ·
0 评论 ·
10 收藏

deepin/ubuntu 系统 安装rtl8821ce 无线驱动

git clonehttps://github.com/tomaspinho/rtl8821cecd rtl8821cemakesudo make installsudo modprobe -a 8821ce
原创
发布博客 2019.05.28 ·
8056 阅读 ·
3 点赞 ·
2 评论 ·
16 收藏
加载更多