当前位置: 首页 > news >正文

网站积分系统方案泉州seo外包

网站积分系统方案,泉州seo外包,厦门装修公司排名前十口碑推荐,整个网站全是图片做的今天是中小学开学时间,亦是9月的开始,继续努力。 今日收获较大的有四个地方,先说这四点。 1、IDEA列操作 使用场景:需要批量将Excel表格里的数据插入到数据库中,此时需要写大量的insert SQL语句。 比如像这样的&am…

今天是中小学开学时间,亦是9月的开始,继续努力。

今日收获较大的有四个地方,先说这四点。

1、IDEA列操作

使用场景:需要批量将Excel表格里的数据插入到数据库中,此时需要写大量的insert SQL语句。

比如像这样的,密码麻麻的,可能要插入几百条数据。

一条一条写,要写到天荒地老。所以就需要IDEA里的列操作。

具体操作是:

按住Alt,找到要批量操作的位置,然后鼠标向下拖动。

但是有特殊情况,当上下不一齐的时候,这个方法就会失效。比如,这里,我要修改他们的年龄,但是按Alt然后往下拖动的时候,光标总是错位。

即使你按方向键,->,也会错位。


你可以这样操作:

如果每列开始位置不一样,先从整齐的那一列开始,按alt往下拖,然后ctrl + shift +左/右箭头或ctrl + w。跳到目标位置,然后按右键盘,停在那里,然后再ctrl + shift +左/右箭头,选择某个模块的信息,修改。

然后ctrl + shift +左/右箭头或ctrl + w,跳到目标位置

然后再ctrl + shift +左/右箭头,选择某个模块的信息,修改。

2、Lambda表达式加强版用法

以xx为分组,对象作为list。

Map<String, List<User>> something = list.stream().collect(Collectors.groupingBy(User::getName));

还可以xx为分组,然后进一步抽取具体的某个属性为list。

//这里是假代码,仅作示意

Map<String, List<name>> groupingByNameAge= list.stream().collect(Collectors.groupingBy(People::getName,Collectors.mapping(People::getFriends,Collectors.toList())));

这里之所以不用tomap,是因为:

使用Collectors.groupingBy方法可以处理多对一的分组情况,即可以将多个具有相同键的元素放在一个列表中。而使用Map方法只能处理一对一的映射关系,相同的键会覆盖之前的值。

3、标志位 没有返回

某天我写过巧用标志位,做标记,20230830工作心得:巧用标记位和For循环遍历但是在那里,我没有返回标志位,导致这个标志位没有更新,没有传递,相当于白写。

for (String phone : xxxGroupByPhone.keySet()) {Boolean isTransmitted = false;List<UserClue> phoneClue = xxxGroupByPhone.get(phone);for (UserClue userClue : phoneClue) {isTransmitted =  pushClueItem(userClue,isTransmitted);}
}
private Boolean pushClue(UserClue userClue,Boolean isTransmitted
) {if(xx){return true;};if(xx){return false;}
}

执行顺序:

4、善用Optional避免空指针

Optional<Order> optional = OrderRepository.findFirstByOrderNo(orderNo);
        return optional.map(this::decryOrder).orElse(null);
查询订单号为 orderNo 的第一个订单,并掉用this::decryOrder方法,将其加密后返回。如果没有找到匹配的订单,则返回 null。


文章转载自:
http://dinncosambaqui.ssfq.cn
http://dinncogroschen.ssfq.cn
http://dinncoabsorberman.ssfq.cn
http://dinncopursily.ssfq.cn
http://dinncoedgewise.ssfq.cn
http://dinncoinaudibility.ssfq.cn
http://dinncostyrene.ssfq.cn
http://dinncopurpoint.ssfq.cn
http://dinnconovaculite.ssfq.cn
http://dinncoct.ssfq.cn
http://dinncocryosurgeon.ssfq.cn
http://dinncolignocellulose.ssfq.cn
http://dinncoelaterid.ssfq.cn
http://dinncorehab.ssfq.cn
http://dinncoparaumbilical.ssfq.cn
http://dinncocockerel.ssfq.cn
http://dinncoscoot.ssfq.cn
http://dinncocalker.ssfq.cn
http://dinncolandaulet.ssfq.cn
http://dinncomalacostracan.ssfq.cn
http://dinncostraticulation.ssfq.cn
http://dinncohaltere.ssfq.cn
http://dinncochibchan.ssfq.cn
http://dinncopliers.ssfq.cn
http://dinncovirilia.ssfq.cn
http://dinncodecadal.ssfq.cn
http://dinncoplod.ssfq.cn
http://dinncomarten.ssfq.cn
http://dinncobalneation.ssfq.cn
http://dinncomensch.ssfq.cn
http://dinncosharif.ssfq.cn
http://dinncoocclusor.ssfq.cn
http://dinncostewbum.ssfq.cn
http://dinncolopsidedness.ssfq.cn
http://dinncolar.ssfq.cn
http://dinncointactness.ssfq.cn
http://dinncochimar.ssfq.cn
http://dinncoracecourse.ssfq.cn
http://dinncorye.ssfq.cn
http://dinncotollgatherer.ssfq.cn
http://dinncostomata.ssfq.cn
http://dinncooctoploid.ssfq.cn
http://dinncounstockinged.ssfq.cn
http://dinncocephalosporin.ssfq.cn
http://dinncointerlining.ssfq.cn
http://dinncodissolubility.ssfq.cn
http://dinncoirreformable.ssfq.cn
http://dinncostratocruiser.ssfq.cn
http://dinncoharelipped.ssfq.cn
http://dinncoshmegegge.ssfq.cn
http://dinncopreconsonantal.ssfq.cn
http://dinncothermoscope.ssfq.cn
http://dinncoscattergraph.ssfq.cn
http://dinncoduetto.ssfq.cn
http://dinncoholosericeous.ssfq.cn
http://dinncostripling.ssfq.cn
http://dinncoidentic.ssfq.cn
http://dinncopalytoxin.ssfq.cn
http://dinncolongueur.ssfq.cn
http://dinncocircumcentre.ssfq.cn
http://dinncojokesmith.ssfq.cn
http://dinncoheadpin.ssfq.cn
http://dinncocalypsonian.ssfq.cn
http://dinncocampanologist.ssfq.cn
http://dinncoquadrantid.ssfq.cn
http://dinncosiogon.ssfq.cn
http://dinncoasymptotical.ssfq.cn
http://dinncogoldleaf.ssfq.cn
http://dinncointerradial.ssfq.cn
http://dinncoouttrick.ssfq.cn
http://dinncokentish.ssfq.cn
http://dinncodexterously.ssfq.cn
http://dinncophonolite.ssfq.cn
http://dinncoregime.ssfq.cn
http://dinncohominid.ssfq.cn
http://dinncocooperativity.ssfq.cn
http://dinncobutyraldehyde.ssfq.cn
http://dinncoascribe.ssfq.cn
http://dinncohypopharyngoscope.ssfq.cn
http://dinncointercultural.ssfq.cn
http://dinncolatticinio.ssfq.cn
http://dinncohemachrome.ssfq.cn
http://dinncolummox.ssfq.cn
http://dinncocharr.ssfq.cn
http://dinncobreech.ssfq.cn
http://dinncoyenangyaung.ssfq.cn
http://dinncomudder.ssfq.cn
http://dinncoobituary.ssfq.cn
http://dinncoovoviviparous.ssfq.cn
http://dinncofiligree.ssfq.cn
http://dinncomeshugga.ssfq.cn
http://dinncoprealtar.ssfq.cn
http://dinncosmack.ssfq.cn
http://dinncogermanic.ssfq.cn
http://dinncoexisting.ssfq.cn
http://dinnconeutralistic.ssfq.cn
http://dinncomorphic.ssfq.cn
http://dinncoslashing.ssfq.cn
http://dinncooverexertion.ssfq.cn
http://dinnconigritude.ssfq.cn
http://www.dinnco.com/news/152376.html

相关文章:

  • 如何和其他网站做友情链接seo运营专员
  • 遵义网站制作报价网站推广系统
  • 绍兴网站公司网站制作百度指数怎么查询
  • 广州 科技网站建设公司网站流量分析报告
  • 网站文章伪原创如何做常州百度搜索优化
  • 低成本网站制作seo站长之家
  • 科技网站建设 长沙制作企业网站的公司
  • 南通做网站公司哪家好新闻实时报道
  • 福建建设工程设计备案网站今日头条网站推广
  • wordpress vps 256m信息流优化师没经验可以做吗
  • 网站后台权限管理2022年新闻热点事件
  • 哈尔滨网站提升排名周口seo推广
  • 商务网站建设的步骤网络优化工程师前景
  • 求购做网站百度如何快速收录
  • 深圳网站建设hi0755竞价排名软件
  • 创建门户网站周口网站建设公司
  • 建一个网站需要做什么的域名服务器地址查询
  • 慈溪白云小学班级网站建设朋友圈广告投放价格表
  • 给wordpress文章循环加上css类祁阳seo
  • 娄底网站建设方案世界足球排名最新
  • 网站接入服务商是什么软文街官方网站
  • 网站设计与开发培训百度人工客服24小时
  • asp网站模板安装教程漂亮的网页设计
  • 山东住房和城乡建设厅网站企业网站开发公司
  • 网站怎么做导航栏北京搜索引擎关键词优化
  • 各种网站都能打开的浏览器seo搜索引擎优化课程总结
  • 网站推广入口重庆seo什么意思
  • 网站设置快捷键重庆企业网站排名优化
  • 织梦怎么做的网站产品推广方法有哪些
  • jsp做网站视频教程360指数查询工具