- 博客(12)
- 资源 (13)
- 问答 (2)
- 收藏
- 关注
原创 group by sql 怎么进行修改
select t.rowid,t.xxx from xxxx t where xxx=xxxx group by t.xxx , t.rowid
2018-10-31 09:09:30 479
原创 创建一个新的服务器运行Java项目(springboot)
1、磁盘管理-分出新磁盘2、安装jdk -系统配置3、开端口 -80先占4、装项目运行
2018-10-24 14:32:19 388
原创 Java 缓存设置
1、@Cacheable(key = "#vo.toString()", value="licence") //载入缓存2、@CacheEvict(key = "#vo.toString()",value="licence") //清除缓存3、缓存设置在service层生效4、config目录下建ehcache.xml5、ehcache.xml配置如下<ehcache x...
2018-10-17 16:51:56 1761
原创 Java 获取当前年 、当前月
1、String year = String.valueOf(cal.get(Calendar.YEAR));//当前年2、int month = cal.get(Calendar.MONTH )+1;
2018-10-17 16:45:34 18701 1
原创 filter的配置 支持跨域
/** * @copy right Dossp Company All rights reserved * @Title: CORSFilter.java * @Date: 2018-07-04 14:21 * @Package com.dossp.common.filter */package com.dossp.common.filter;import org.springfr...
2018-10-17 16:39:16 838
转载 java系统高并发的解决方案
https://blog.csdn.net/qqyb2000/article/details/78095976?locationNum=8&fps=1
2018-10-17 16:15:56 120
原创 log4j.properties 配置 切换DEBUG 、 info
1、DEBUG 模式log4j.rootCategory=DEBUG, stdout#DEBUG, stdout#log4j.appender.stdout=org.apache.log4j.ConsoleAppender#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout#log4j.appender.stdout...
2018-10-17 15:53:46 2489
原创 sql 求和 、同比
<select id="getExport" resultMap="BaseResultMap" parameterType="com.dossp.licence.importantgoods.vo.ImportantGoodsVo"> select a.jck,a.zslb,a.cd_cat_c_na,a.cd_unit,a.f...
2018-10-17 15:50:37 1958
原创 springboot mybatis 定时器 @EnableScheduling这种方式 service 与 mapper 是不能正常调用的
1、Application启动项上加入@EnableScheduling 实现类上加入@Component 、@Scheduled (cron = "0/10 * * * * ?") 确实能正常的实现定时的操作 ,但是...... 这个操作只是一些简单的输出 ,如果想调取service 与 mapper层的方法 那就悲剧了。2、那要怎么解决这个问题呢,我经过查询了解到定时任务不受...
2018-10-11 18:10:03 3215 2
nutz 达梦数据库连接 报错:非法的事务隔离级
2021-06-04
nutz 达梦数据库连接 报错:非法的事务隔离级
2021-06-04
TA创建的收藏夹 TA关注的收藏夹
TA关注的人