hutool压缩文件 pom依赖 cn.hutool hutool-all 5.2.3代码//生成zip文件ZipUtil.zip(templateDir + "rb/");//TODO 将压缩包流返回String url = templateDir + "rb.zip";File file = new File(url);InputStream fis = new BufferedInputStream(new FileInputStream(file));byte[] buffe
pgsql获取String Json字符串中的某字段 select create_user::json->>'userId' as userId from cloud_storage_folder字段 creaate_user存储格式为 {“userId”:75539,“realName”:“汪少奇”}‘userId’ 为json字符串中的key字段::json->>key
mybatisplus自动更新时间 import com.baomidou.mybatisplus.core.config.GlobalConfig;import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;import com.baomidou.mybatisplus.extension.plugins.pagination.optimize.JsqlParserCountOptimize;import org.springframework.co.
el-table-column表格内加换行 <el-table-column :label="$t('storageBin.storagePlace')" width="200px"> <template slot-scope="scope"> <div v-html="$t('sidebar.warehouse')+' : '+scope.row.dWarehouseId+'<br/>'+ $t('sidebar.stor...
Element-UI table表格中 input select 校验 验证(table表格模板) https://www.cnblogs.com/guozongzhang/p/10884621.html
element-ui 解决 table 里包含表单验证的问题! 其实问题关键就在于如何给el-form-item动态绑定prop :prop="'tableData.' + scope.$index + '.字段名'" :rules='model.rules.name<template> <div v-bgb-block> <div style="margin-top:10px;"> <el-form :rules="model.rules" :model="mode.
mybatis批量插入数据,数据存在时更新,不存在时插入 insert into taskm.task_backup(id,name, assignee_id, type_id, status, identifier, audit_status, create_time, modify_time,plan_begin_time, plan_end_time, auto_start, act_begin_time, act_end_time, material_id, estimated_workload, remaining_worklo
com.fasterxml.jackson(ObjectMapper)和Gson转json之LocalDateTime的序列化和反序列化问题 https://blog.csdn.net/Seven71111/article/details/105810769
java Stream的一些操作 //筛选出新的listList<MaterialStockLoggingDTO> serialNotNull = haveSerial.stream().filter(j -> j.getMaterialId().equals(i)).collect(Collectors.toList());//求和serialNotNull.stream().mapToDouble(MaterialStockLoggingDTO::getQuantity).sum()------