- 博客(6)
- 收藏
- 关注
原创 java8 stream分组
Map<Long,MdCustomerCatg> largeCatg = largeList.stream().collect(Collectors.toMap(MdCustomerCatg::getCatgCode,s->s,(k1,k2)->k1)); Map<String,MdCustomerSalesman> salesmanMap = salesmanList.stream().collect(Collectors.toMap(s->s.getCustom
2022-03-09 13:14:24
667
原创 websevice接口实现类
/** WebService涉及到的有这些 "四解三类 ", 即四个注解,三个类 @WebMethod @WebService @WebResult @WebParam SpringBus Endpoint EndpointImpl 一般我们都会写一个接口,然后再写一个实现接口的实现类,但是这不是强制性的 @WebService 注解表明是一个webservice服务。 name:对外发布的服务名, 对应于<wsdl:portType name="ServerServiceDemo">&
2021-06-23 16:09:50
354
原创 前端判断是否是数字的正确用法
// true:数值型的,false:非数值型 function myIsNaN(value) { return typeof value === 'number' && !isNaN(value); }
2021-05-20 14:43:36
1775
原创 java实现多文件上传前台图片回显--ajax与form两种方式
(一)前台 —ajax-------表单内容 注意: enctype=“multipart/form-data” 这是表单设置必须的格式 多文件上传,上传框的name要都一样,等于发送了一个MultipartFile[]数组 ```css <form id="test" enctype="multipart/form-data" > <div class="clear...
2020-02-07 01:43:57
466
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人