摘要: 1、在本地创建一个版本库(即文件夹) ,通过git init把它变成Git仓库;2、把项目复制到这个文件夹里面,再通过git add .把项目添加到仓库;3、再通过git commit -m"注释内容"把项目提交到仓库;4、在Github上设置好SSH密钥后,新建一个远程仓库,通过git remot 阅读全文
posted @ 2023-11-03 18:01 Bob.Xie 阅读(121) 评论(0) 推荐(0) 编辑
摘要: -- 查询指定数据库所有表结构信息 SELECT TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLUMN_TYPE, COLUMN_COMMENT FROM information_schema. COLUMNS WHERE TABLE_SCHEMA= 'tb_n 阅读全文
posted @ 2022-05-03 15:24 Bob.Xie 阅读(424) 评论(0) 推荐(0) 编辑
摘要: /** * 判断日期是否小于本月 * @param date * @return */ private boolean isLessThanThisMonth(Date date) { Calendar cal = Calendar.getInstance(); //设置为1号,当前日期既为本月第一 阅读全文
posted @ 2022-01-28 16:48 Bob.Xie 阅读(591) 评论(0) 推荐(0) 编辑
摘要: package com.shop.cyshop.commons.utils; import java.util.Date; import java.util.Random; import java.util.UUID; /** * @Name RandomStringUtil * @Descr 生成 阅读全文
posted @ 2022-01-17 18:44 Bob.Xie 阅读(64) 评论(0) 推荐(0) 编辑
摘要: <el-date-picker v-model="importData.specifyPostingDate" type="month" placeholder="选择日期" format="yyyy 年 MM 月 dd 日" @change="specifyPostingDateChange" v 阅读全文
posted @ 2022-01-17 18:42 Bob.Xie 阅读(1205) 评论(0) 推荐(0) 编辑
摘要: <el-form :inline="true" size="small"> <el-col :span="2"> <el-upload class="margin-left" ref="upload" :action="action" :before-upload="importLoad" :on- 阅读全文
posted @ 2021-12-15 19:14 Bob.Xie 阅读(152) 评论(0) 推荐(0) 编辑
摘要: p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; //行数 overflow: hidden; } 一行省略号 .oneLineEllipsis { overflow: hidden; tex 阅读全文
posted @ 2021-11-23 17:08 Bob.Xie 阅读(115) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.util.ResourceUtils; String cert_url = "/var/www/html/cert/apiclient_cert2.p12"; //本地获取 File file = ResourceUtils.getFile(ce 阅读全文
posted @ 2021-11-19 14:18 Bob.Xie 阅读(126) 评论(0) 推荐(0) 编辑
摘要: <insert id="addAttrValueBatch"> <if test="materialCustomerAttrPOS != null and materialCustomerAttrPOS.size>0"> insert into material_customer_attr(core 阅读全文
posted @ 2021-11-15 11:08 Bob.Xie 阅读(223) 评论(0) 推荐(0) 编辑
摘要: @ControllerAdvice@ResponseBodypublic class GlobalExceptionInterceptor { @ExceptionHandler(value = Exception.class) public String exceptionHandler(Http 阅读全文
posted @ 2021-11-11 15:32 Bob.Xie 阅读(320) 评论(0) 推荐(0) 编辑