Skip to content

Instantly share code, notes, and snippets.

View xtulnx's full-sized avatar

jason.liao xtulnx

View GitHub Profile
@xtulnx
xtulnx / DateUtil.java
Created April 24, 2019 01:58
辅助工具,日期计算
package org.jar.tools.util;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
@xtulnx
xtulnx / unwxapkg.py
Created June 9, 2022 06:44 — forked from Integ/unwxapkg.py
A useful tool for unpack wxapkg file with python3 surport.
# coding: utf-8
# py2 origin author lrdcq
# usage python3 unwxapkg.py filename
__author__ = 'Integ: https://github.com./integ'
import sys, os
import struct
class WxapkgFile(object):
@xtulnx
xtulnx / MoreQueryWrapper.java
Last active August 22, 2022 02:00
mybatis-plus 的查询增强:多个子查询
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.Data;
import java.util.HashMap;
import java.util.Map;
/**
* mybatis 多查询封装。引用示例