02 2021 档案

摘要:1、js端方法调用 <a href="../xx/pdfDownload!exportToPdfReport.action?oid=123" target="_blank"><span>导出PDF</span></a> 2、后端方法 public void exportToPdfReport() t 阅读全文
posted @ 2021-02-26 17:48 Caesar_the_great 阅读(87) 评论(0) 推荐(0) 编辑
摘要:1、applicationContext.xml配置 <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> <property name="driverClass 阅读全文
posted @ 2021-02-26 17:25 Caesar_the_great 阅读(55) 评论(0) 推荐(0) 编辑
摘要:function ClosePage(){ if(navigator.userAgent.indexOf("MSIE") > 0){ if(navigator.userAgent.indexOf("MSIE 6.0") > 0) { window.opener = null; window.clos 阅读全文
posted @ 2021-02-26 17:11 Caesar_the_great 阅读(1190) 评论(0) 推荐(0) 编辑
摘要:1、分组:Map<String, List<Student>> map = list.stream().collect(Collectors.groupingBy(Student::getClassName)) 解释:对studentList按照班级分组,结果是一个map<List>,map中的ke 阅读全文
posted @ 2021-02-26 16:54 Caesar_the_great 阅读(252) 评论(0) 推荐(0) 编辑
摘要:1、两种实现方式:1 xml 2 注解 注解式:三个核心注解 (不需要额外配置文件) 类上的:@Component & @EnableScheduling 定时执行的方法上的:@Scheduled(cron="0 0/10 * * * ?") XML式:applicationContext.xml中 阅读全文
posted @ 2021-02-26 16:32 Caesar_the_great 阅读(1573) 评论(0) 推荐(0) 编辑
摘要:1、-- create database link create database link ORCL.ABC.DEF connect to USER1 using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 阅读全文
posted @ 2021-02-08 15:31 Caesar_the_great 阅读(73) 评论(0) 推荐(0) 编辑
摘要:select prodSeqNo, placeNo, sum(replaceTimes) from (select * from xxx where prodSeqNo in ('xxx','xxx','vvv')) temp where xxx='xxx' and yyy='yyy' group 阅读全文
posted @ 2021-02-08 15:18 Caesar_the_great 阅读(1551) 评论(0) 推荐(0) 编辑
摘要://定义list集合 List<P> list = Arrays.asList(new P(1, "哈哈"), new P(2, "嘿嘿"), new P(3, "呵呵")); //从list集合中,取出字段name的列表并去重 List<String> names = list.stream(). 阅读全文
posted @ 2021-02-08 15:01 Caesar_the_great 阅读(18765) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示