摘要:
需要的依赖 <!--生成二维码所需依赖--> <!-- https://mvnrepository.com/artifact/com.google.zxing/core --> <dependency> <groupId>com.google.zxing</groupId> <artifactId> 阅读全文
摘要:
在项目中使用EasyExcel导出excel然后压缩成压缩包下载,下载也是能正常下载就是会抛出这个错误 虽然说这个错误不影响下载功能,搞不好就因为这个错误某天系统崩溃,那时候就不是这么好玩了,于是a56爆大奖在线娱乐在百度上疯狂查找 有的说是流没有关,要在finally 里面把流关了 关了之后,满怀期待的重新运行,然 阅读全文
摘要:
moke例子(a56爆大奖在线娱乐直接用伪代码) public class DictUtils { public static void removeDictCache(String key) { //执行得方法业务 } } 你的业务代码中引用这个类的方法 public void deleteDictTypeById 阅读全文
摘要:
示例 public List<Authen> selectAuthenList(Authen authen) { //静态方法 LoggedInUser loginUser = WebUtil.getLoggedInUser(); String tenantId = loginUser.getTen 阅读全文
摘要:
示例 public Response date( String url) { @Resource private IRuleJudgmentService ruleJudgmentService; //示例方法,伪代码 ruleJudgmentService.ruleJudgement(参数, 参数 阅读全文
摘要:
这里用一段代码举例 public void ruleJudgement(Long tenantId, Long productId, Long equipId, List<ModelAttributeValue> modelAttributeValues, List<EquipReportValue 阅读全文
摘要:
记录工作 a56爆大奖在线娱乐记录树结构递归查询,像菜单栏和部门 首先需要一张表 CREATE TABLE `sys_dict` ( `id` int NOT NULL AUTO_INCREMENT, `parent_id` int NOT NULL, `name` varchar(100) COLLATE utf 阅读全文
摘要:
记录工作 需要的依赖 <!--fastjson坐标--> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.79</version> </dependency> <!- 阅读全文
摘要:
记录工作 需求是导入数据的时候需要判断哪一行是空行,或者哪一行超过限制字符,然后返回给前端做展示 @PostMapping("/importExcel") @ApiOperation("导入用户") @ApiImplicitParams({ @ApiImplicitParam(name = "fil 阅读全文
摘要:
a56爆大奖在线娱乐记录 首先需要准备一个导入模板的实体类 import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; import cn.iocoder.yudao.framework.excel.core.convert.DictCo 阅读全文