- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 List排序问题
首先按部门进行排序,如果部门相同,则按ID进行排序。Collections.sort(list,Comparator.comparing(Users::getDept).thenComparing(Users::getId));
2022-02-15 17:05:41
370
1
原创 ORACLE存在就修改 不存在就新增(注意更新和新增语法不同于常规语法)
MERGE into k_mingd_ncc_log t1 USING (select #{pkName} as pkName from dual) t2 ON (t1.pkName=t2.pkName) when matched then update set t1.code=#{code},t1.ResultMsg=#{ResultMsg}, t1.RequestBody=#{RequestBody},t1.lastTime
2022-02-15 16:55:18
3593
原创 JAVA获取当前时间(yyyy-MM-dd HH:mm:ss)
Date date = new Date();SimpleDateFormat dtf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");String last_time = dtf.format(date);
2022-02-15 16:52:26
3540
1
原创 NCC restful接口笔记
ncc 发布restful接口如环境中没有启用uapws模块,添加vm参数:-Duap.hotwebs=lfw,portal,fs,uapws1、新建组件模块及接口类,继承AbstractUAPRestResourcepackage nc.kq.md.rest;import javax.ws.rs.Consumes;import javax.ws.rs.POST;import javax.ws.rs.GET;import javax.ws.rs.Path;import javax.ws
2021-12-02 13:46:23
2238
1
原创 关于Smartbi配置Sql Server数据源调用HTTP请求
关于Smartbi配置Sql Server数据源调用HTTP请求 要求利用存储过程调用http接口,并返回报表!笔记 1、开启Sql Server通讯配置sp_configure 'show advanced options', 1;GORECONFIGURE;GOsp_configure 'Ole Automation procedures', 1;GORECONFIGURE;GOexec sp_configure 'Ole Automation Procedures';GO
2020-06-05 16:18:28
1742
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人