摘要:
#! /bin/bash ls | grep -v sh | while read line do cd $line echo $line echo "开始" git checkout dev-20241001-01 find -name pom.xml|xargs -i sed -i 's/1.0 阅读全文
摘要:
LocalDate startDate = LocalDate.of(2020, Month.JANUARY, 1);LocalDate endDate = LocalDate.of(2021, Month.JANUARY, 1);long daysBetween = ChronoUnit.DAYS 阅读全文
摘要:
Map<String, List<AnchorOutNoticeDto>> groupedByManagementIdMap = anchorOutNoticeDtoList.parallelStream() .collect(Collectors.groupingBy(AnchorOutNotic 阅读全文
摘要:
List<String> managementIds = anchorOutNoticeDtoList.parallelStream() .map(AnchorOutNoticeDto::getManagementId) .distinct() .collect(Collectors.toList( 阅读全文
摘要:
详细参考:https://www.cnblogs.com/pengxiaojie/p/15384747.html 阅读全文
摘要:
select date_format(approve_time ,'%Y-%m-%d' ) approveTime, trial_person approvePerson, count(order_status='11' or order_status='12' or NULL) approveTo 阅读全文
摘要:
这里以 2 除以 5 为例, 实际场景可能是两个表字段 select concat(truncate((2 / 5) * 100, 2), '%') 阅读全文
摘要:
原对象和目标对想的属性名称和属性类型形同的字段可成功赋值: package com.etc.pbcs.utils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Field; imp 阅读全文
摘要:
在响应的dto或者博中加上下面注解@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") 阅读全文
摘要:
orderRefundDetailVos.add(orderRefundDetailVo); } //按照时间倒序 Collections.sort(orderRefundDetailVos, new Comparator<OrderRefundDetailVo>() { @Override pub 阅读全文