过年啦
摘要: 今天德化因为一个评估时间的问题,犯了大错。 最大的问题,就是不该把这个问题捅到客户那边去,做项目的,最重要的就是客户。 如果你觉得时间不合理,那么你就要提出来。 我的问题: 我虽然很短暂的意识到时间有问题了,特别是测试要一周,但是我没有提出来这个质疑。没有问他们为什么要这么长的时间,这些时间没有细化 阅读全文
posted @ 2026-05-12 11:42 一只快乐的柠檬精J 阅读(4) 评论(0) 推荐(0)
摘要: import random import pandas as pd from faker import Faker from sqlalchemy import create_engine from datetime import datetime, timedelta 初始化Faker对象,用于生 阅读全文
posted @ 2024-12-01 22:43 一只快乐的柠檬精J 阅读(47) 评论(0) 推荐(0)
摘要: private int calculateProduct(String str) { return Arrays.stream(str.split(",")) .filter(this::checkIsEmpty) .mapToInt(Integer::parseInt) .reduce(1, (a 阅读全文
posted @ 2024-11-25 10:46 一只快乐的柠檬精J 阅读(21) 评论(0) 推荐(0)
摘要: private Map<Integer, Long> calculateCount(String str) { return Arrays.stream(str.split(",")) .filter(this::checkIsEmpty) .mapToInt(Integer::parseInt). 阅读全文
posted @ 2024-11-25 10:41 一只快乐的柠檬精J 阅读(12) 评论(0) 推荐(0)
摘要: 报错,然后我把mapper上的@repository删掉就好了,为什么 ChatGPT 说: ChatGPT 删除 @Repository 注解后问题解决,可能是与 Spring AOP 代理机制和 MyBatis Plus 结合时的一些细节有关。以下是原因分析: @Repository 和 Spr 阅读全文
posted @ 2024-10-16 09:10 一只快乐的柠檬精J 阅读(777) 评论(0) 推荐(0)
摘要: Map<Integer, Long> integerLongMap = categoryList.stream() .collect( Collectors.groupingBy( DeliverRecordCategoryDto::getUnit, Collectors.summingLong(D 阅读全文
posted @ 2024-03-06 15:03 一只快乐的柠檬精J 阅读(54) 评论(0) 推荐(0)
摘要: eg:List<List> listEnd 像这种形式的,我们应该如何合并成一个集合给前端呢,我首选stream 首先已经存在这个集合 List<List<DetailVo>> listEnd = new ArrayList<>(); for (GetDetailDto ruleVo : list) 阅读全文
posted @ 2024-02-23 10:52 一只快乐的柠檬精J 阅读(80) 评论(0) 推荐(0)
摘要: //List1 List<FaultReport> reportDetail = reportMapper.getReportDetail(pagePo); List<Long> collect = reportDetail.stream().map(FaultReport::getId).coll 阅读全文
posted @ 2024-02-23 10:48 一只快乐的柠檬精J 阅读(87) 评论(0) 推荐(0)
摘要: List<FaultReport> reportDetail = reportMapper.getReportDetail(pagePo); List<Long> collect = reportDetail.stream().map(FaultReport::getId).collect(Coll 阅读全文
posted @ 2024-02-21 11:24 一只快乐的柠檬精J 阅读(35) 评论(0) 推荐(0)
摘要: 开发中又遇到了事务相关问题,就乘着这次,重新整理下事务相关 一、什么是事务 首先大家都知道sql吧,我的理解是:事务就是一组对sql语句的操作的集合。 二、事务的四大特性 这组sql语句具备 同时执行成功和同时执行失败的特性。把这一特性细分,就是事务的四大特性 ——> ACID A【Atomicit 阅读全文
posted @ 2024-02-20 16:46 一只快乐的柠檬精J 阅读(90) 评论(0) 推荐(0)