随笔分类 - java
摘要:package com.yiautos.psf.order.service.impl; import org.junit.Assert; import org.junit.Test; import org.mockito.Mockito; import java.util.ArrayList; im
阅读全文
摘要:package com.yiautos.psf.order.service.impl; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.*; imp
阅读全文
摘要:package com.yiautos.psf.order.service.impl; import org.junit.*; public class JunitTest { @BeforeClass public static void beforeClass() { System.out.pr
阅读全文
摘要:package com.yiautos.psf.sup.service.impl; import org.assertj.core.util.Arrays; import org.junit.Assert; import org.junit.Test; import org.junit.runner
阅读全文
摘要:RequiredArgsConstructor @RequiredArgsConstructor(onConstructor = @__(@Autowired))
阅读全文
摘要:https://blog.csdn.net/Pandafz1997/article/details/119898686 https://blog.csdn.net/qq_29229567/article/details/80773970 判断异常类型 (ex instanceof RuntimeEx
阅读全文
摘要:package com.yiautos.psf.order.util.myannotation; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterReturning; import org.aspe
阅读全文
摘要:SpringUtil.getBean(OrderServiceImpl.class); ApplicationContextRegister.getBean(PROCESSOR_REPOSITORY.get(costType)
阅读全文
摘要:如果不限制 page.setMaxLimit(-1L);
阅读全文
摘要:this.update(Wrappers.lambdaUpdate(Order.class).set(Order::getMarkImgUrl,fileImgUrl).eq(Order::getId,order.getId()));
阅读全文
摘要:like '${@com.yiautos.psf.order.utils.PsfShopCommonConstants@TRADE_NO_PREFIX}%' public final static String TRADE_NO_PREFIX = "JYX";
阅读全文
摘要:https://blog.csdn.net/beidaol/article/details/85061472
阅读全文
摘要:for (int from = 0, to = 0, size = orderList.size(); from < size; from = to) { to = Math.min(from + query.getBatchSize(), size); List<Order> pageList =
阅读全文
摘要:static class Food{ String id; String name; Food(String A,String B) { this.id=A; this.name=B; } public void setId(String id) {this.id=id;} } public sta
阅读全文
摘要:Comparator<RecentReceivingAccountVO> byTime= Comparator.comparing(RecentReceivingAccountVO::getCreateTime); Comparator<RecentReceivingAccountVO> byNam
阅读全文
摘要:// 结果数据 long gcing = Runtime.getRuntime().freeMemory(); orderList = pageOrder.getRecords(); long gced = Runtime.getRuntime().freeMemory(); // 64位打印24,
阅读全文
摘要:https://blog.csdn.net/qq_18453581/article/details/116201897
阅读全文