logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

mybatis中map遍历多种类型-批量更新

service层@Overridepublic int operateOrder(Long ids[], Integer operation) {Map<String, Object> map=new HashMap<>();map.put("ids",ids);map.put("operation",operation);return shoppingOrderMappe

#java
mybatis批量分批插入 stream流方式

if (messageVariableList.size()>0){//一次500条int applyIdSelectSize = 500;int limit = (messageVariableList.size() + applyIdSelectSize - 1) / applyIdSelectSize;//分成limit次发请求到数据库,in...

#java
mybatis中and和or

SQL中and的优先级要高于or所以使用时要用括号将or中的条件包上如:wheretti.status = 1<trim><if test="keyWord != null and keyWord != ''">and (tti.team_name like concat('%', #{keyWord}, '%')or tbp.person_name like con

#mybatis#mysql
Vue脚手架创建项目出现 (Failed to download repo vuejs-templates/webpack: Response code 404)

搭建好(脚手架2.X版本)环境像往常一样使用vue init webpack xxxx 创建项目可以是没多久就开始报错了报错结果就是:vue-cli · Failed to download repo vuejs-templates/webpack: Response code 404。解决办法就只好自己本地放一个webpack。解决途径如下:1、在github上下载这个工具: https://g

到底了