11 2021 档案
Mock测试时方法参数为内部对象
摘要:Mock测试时方法参数为内部对象 如上,当想要自定义attachmentService.queryProductXml(wizardProductAttachmentDto)方法的返回值时,发现自定义失败,返回为空 原因:实际调用时attachmentService.queryProductXml(
阅读全文
Java希尔排序
摘要:Java希尔排序 /** * 希尔排序 * * @author yl */ public class ShellSort { public static void main(String[] args) { int[] array = {7, 6, 9, 3, 1, 5, 2, 4}; System
阅读全文
Java选择排序
摘要:Java选择排序 /** * 选择排序 * * @author yl */ public class SelectSort { public static void main(String[] args) { int[] array = {7, 6, 9, 3, 1, 5, 2, 4}; Syste
阅读全文
Java快速排序
摘要:Java快速排序 /** * 快速排序 * * @author yl */ public class QuickSort { public static void main(String[] args) { int[] array = {7, 6, 9, 3, 1, 5, 2, 4}; System
阅读全文
Java插入排序
摘要:Java插入排序 /** * 插入排序 * * @author yl */ public class InsertSort { public static void main(String[] args) { int[] ints = {7, 5, 3, 8}; System.out.println
阅读全文
ElementUI表格实现只能单选效果
摘要:ElementUI表格实现只能单选效果 设置样式隐藏表格全选 <style> .single-select-table thead .el-table-column--selection .cell { display: none; } </style> table设置隐藏全选样式,加上@selec
阅读全文