文章分类 -  java开发

摘要:0.045*天数*人数 mysql 命令 创建用户:create user 'xy_item_rw'@'%' identified by 'Item@8IwrTO_';grant SELECT on xiangyangpolicy_policy.policy to 'xy_item_rw'@'%'; 阅读全文
posted @ 2022-06-27 09:49 全琪俊 阅读(261) 评论(0) 推荐(0) 编辑
摘要:package com.govmade.gds.common.utils;import com.baomidou.mybatisplus.core.mapper.Mapper;import org.apache.commons.lang3.StringUtils;import java.util.M 阅读全文
posted @ 2022-01-20 17:20 全琪俊 阅读(31) 评论(0) 推荐(0) 编辑
摘要://今天上次的文件夹String nowYearMonth = now.get(Calendar.YEAR) + ((now.get(Calendar.MONTH) + 1 < 10) ? "0" + (now.get(Calendar.MONTH) + 1) : "" + (now.get(Cal 阅读全文
posted @ 2022-01-18 17:00 全琪俊 阅读(13) 评论(0) 推荐(0) 编辑
摘要:菜单权限@PreAuthorize("@pms.hasPermission('sys_dept_edit')") 如何控制菜单权限控制在后台菜单管理中给指定菜单添加 按钮节点 需要指定 权限标志 例如: sys_file_add、sys_file_del、sys_file_edit前端CRUD 会自 阅读全文
posted @ 2022-01-18 16:22 全琪俊 阅读(222) 评论(0) 推荐(0) 编辑
摘要://获取当前权限GovmadeUser user = SecurityUtils.getUser(); @Resourceprivate HttpSessionService httpSessionService; Integer userIdSession=Integer.valueOf(http 阅读全文
posted @ 2022-01-18 16:16 全琪俊 阅读(34) 评论(0) 推荐(0) 编辑
摘要:List<JSONObject> tableData = new ArrayList(1); tableData = tableData.stream().sorted(Comparator.comparing(jsonObject -> StringNullUtil.isNotBlank((jso 阅读全文
posted @ 2022-01-18 16:14 全琪俊 阅读(2423) 评论(0) 推荐(0) 编辑
摘要:eq.last(" group by DATE_FORMAT(benchmark_date,'%Y-%m')"); QueryWrapper<AssessmentDeptTask> wrapper = new QueryWrapper<>();LambdaQueryWrapper<QuesAnswe 阅读全文
posted @ 2022-01-18 16:12 全琪俊 阅读(1027) 评论(0) 推荐(0) 编辑
摘要:str=str.trim().replaceAll("\\u00A0",""); // 四舍五入,保留2位小数BigDecimal bg = new BigDecimal(String.valueOf(allNum)).setScale(2, BigDecimal.ROUND_HALF_UP); / 阅读全文
posted @ 2022-01-18 16:05 全琪俊 阅读(32) 评论(0) 推荐(0) 编辑
摘要:contains就是包含(abc中包含a) equals就是相等(完全一样).<![CDATA[<=]]> jav8特性:Map<String, SysDept> sysDeptMap=sysDeptList.stream().collect(Collectors.toMap(SysDept::ge 阅读全文
posted @ 2022-01-18 15:57 全琪俊 阅读(380) 评论(0) 推荐(0) 编辑

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