返回顶部
摘要: https://www.cnblogs.com/luzhanshi/p/13369797.html 阅读全文
posted @ 2021-11-02 16:16 豪shr 阅读(11) 评论(0) 推荐(0) 编辑
摘要: @Aspect @Component public class ExpAspect { private static Logger logger = LoggerFactory.getLogger(ExpAspect.class); private static final String LINE_ 阅读全文
posted @ 2021-08-12 09:54 豪shr 阅读(154) 评论(0) 推荐(0) 编辑
摘要: ` @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) @Documented public @interface ExpLog { /** * 日志描述信息 */ String description() defaul 阅读全文
posted @ 2021-08-12 09:51 豪shr 阅读(56) 评论(0) 推荐(0) 编辑
摘要: /** * @param oneTime 开始时间 yyyy-mm-dd hh24:min:sec @param twoTime 结束时间 yyyy-mm-dd hh24:min:sec @param stype 返回类型: 1.SEC:相差秒数, 2.MIN:相差分钟数, 3.HH:相差小时数, 阅读全文
posted @ 2021-05-13 14:44 豪shr 阅读(428) 评论(0) 推荐(0) 编辑
摘要: SELECT s.status AS zkStatus, mat.id, mat.oc_id, mat.old_owner_code, mat.old_owner_name, mat.new_owner_code, mat.new_owner_name, mat.contract_no, mat.m 阅读全文
posted @ 2021-01-28 10:08 豪shr 阅读(440) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013521220/article/details/89948252 阅读全文
posted @ 2020-12-22 08:37 豪shr 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public class ExecutorTest { /** * 默认开启的线程数, * 最大线程数, * 所有线程都执行完毕后多长时间关闭线程池, * 时间类型(秒、毫秒), * 消息队列最大数量 */ static ThreadPoolExecutor fixedThreadPool = ne 阅读全文
posted @ 2020-11-10 08:33 豪shr 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 实体类需要先继承要复制的实体类 public class entityCope { public static void main(String[] args) throws Exception { a a = new a(); b b = new b(); b.setAddre("河北邯郸"); 阅读全文
posted @ 2020-11-10 08:27 豪shr 阅读(322) 评论(0) 推荐(0) 编辑
摘要: public class ClassUtil { //获取类的方法、返回值和参数 public void ClassPrintMethodMessage(Object obj){ //获取类类型 Class cls = obj.getClass(); System.out.println("类名:" 阅读全文
posted @ 2020-11-10 08:24 豪shr 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 年月日 String s = "2018-9-28"; Date dd = new Date(); Date ss = new Date(); try { SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");//设置日期格式 String 阅读全文
posted @ 2020-11-09 13:59 豪shr 阅读(110) 评论(0) 推荐(0) 编辑