摘要: 之前公司做报表要在后面加小计和总计,都是用代码解决的,没想到mysql有自带的,真的太菜逼了,有需要的快来看看 SELECT CASE WHEN (CONCAT(t2.stock_name_) = 1) THEN 'ALL' ELSE IFNULL(t2.stock_name_, 'UNKNOWN' 阅读全文
posted @ 2022-07-18 17:04 仙子说 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1.下载jdk1.8 https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 我选的是jdk-8u301-linux-x64.tar.gz,可以根据自己需求选择 2.将下载好的包上传通过 阅读全文
posted @ 2021-07-26 21:08 仙子说 阅读(1400) 评论(0) 推荐(0) 编辑
摘要: 外文官方网站:https://www.netsarang.com/download/free_license.html 阅读全文
posted @ 2021-04-26 16:23 仙子说 阅读(71) 评论(0) 推荐(0) 编辑
摘要: @Data@EqualsAndHashCode(callSuper =true)@ApiModel(value = "AccountCaptionVo", description = "会计科目")public class AccountCaptionVo extends BaseModel { @ 阅读全文
posted @ 2020-01-07 11:28 仙子说 阅读(4661) 评论(0) 推荐(0) 编辑
摘要: 集合一:List<ReplaceGoods> replaceGoodsList1=new ArrayList<>();ReplaceGoods ReplaceGood1=new ReplaceGoods();ReplaceGood1.setGoodsId(Long.valueOf(1111));re 阅读全文
posted @ 2019-12-30 14:11 仙子说 阅读(1837) 评论(0) 推荐(0) 编辑
摘要: LocalDateTime使用DateTimeFormatter dateTimeFormatter=DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");//获取当前时间LocalDateTime date=LocalDateTime.now();S 阅读全文
posted @ 2019-12-02 15:06 仙子说 阅读(7449) 评论(0) 推荐(0) 编辑
摘要: 链接: https://pan.baidu.com/s/1yb9IVfT9ugTCpFIYhxqUkQ 提取码: nbf4 阅读全文
posted @ 2019-12-01 16:45 仙子说 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 在项目的开发过程中前后端一般会遇到很多的异常,这些异常的处理后端通常会通过throw出一个对象,前端再将接收到的异常对象code和message进行二次判断 或直接将message显示给用户,用户再去操作界面。 后端对于异常的定义及处理 一.首先定义一个返回的异常对象 public class Ba 阅读全文
posted @ 2019-11-20 20:18 仙子说 阅读(24503) 评论(0) 推荐(0) 编辑
摘要: 1.git log 查看版本日志记录 2.git reset e4390dabf5b400672a46ff144cbb6eeb504ad41f 回滚到指定的版本 commit e4390dabf5b400672a46ff144cbb6eeb504ad41f Author: DESKTOP-IG72H 阅读全文
posted @ 2019-05-30 10:44 仙子说 阅读(1752) 评论(0) 推荐(0) 编辑
摘要: 修改之前:第一次代码实现: @RequestMapping(path="/getByStoreAndTypeAndSn/{storeId}/{versionType}/{terminalSn}", method=RequestMethod.GET ) public TerminalSet getLi 阅读全文
posted @ 2019-04-13 10:13 仙子说 阅读(10041) 评论(0) 推荐(0) 编辑