上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 41 下一页

2022年8月10日

composer 回退制定版本

摘要: 查看composer当前版本 composer -v 要回滚到composer版本1,只需执行以下命令 composer self-update --1 当您想回到版本2时(在更新或删除不兼容的插件之后,您应该这样做) composer self-update --2 切换到指定版本 compose 阅读全文

posted @ 2022-08-10 15:16 何苦-> 阅读(334) 评论(0) 推荐(0)

2022年8月4日

sql server 中取得当前月的第一天

摘要: 当前月的第一天 select CONVERT(nvarchar(50),DateAdd(dd,-datePart(day,GetDate())+1,GETDATE()),23) 2022-08-01 SELECT DATEADD(mm, DATEDIFF(mm,0,getdate()), 0) 20 阅读全文

posted @ 2022-08-04 17:43 何苦-> 阅读(3354) 评论(0) 推荐(0)

2022年8月3日

Oracle SQL日期及日期格式获取命令

摘要: 日期及日期格式: 获取系统日期: sysdate() 格式化日期 to_char(sysdate(),'yyyy-mm-dd,hh24:mi:ss') to_date(sysdate(),'yyyy-mm-dd,hh24:mi:ss') 注: to_char 把日期或数字转换为字符串 to_char 阅读全文

posted @ 2022-08-03 19:11 何苦-> 阅读(1751) 评论(0) 推荐(0)

2022年7月29日

群晖nas220+ docker 安装gogs

摘要: 创建目录 创建gogs数据库 创建用户及权限 CREATE USER 'gogs'@'%' IDENTIFIED BY '密码'; GRANT ALL ON gogs.* TO 'gogs'@'%'; FLUSH PRIVILEGES; # 查看 select user, host from mys 阅读全文

posted @ 2022-07-29 18:34 何苦-> 阅读(855) 评论(9) 推荐(0)

2022年7月27日

群晖nas220+ docker 安装mysql 5.7

摘要: docker/mysql57/conf:/etc/mysql/conf.d:将主机/wwh/mysql/conf 挂载到容器的 /etc/mysql/my.cnf。 docker/mysql57/logs:/logs:将主机/wwh/mysql 目录挂载到容器的 /logs。 docker/mysq 阅读全文

posted @ 2022-07-27 18:39 何苦-> 阅读(1177) 评论(0) 推荐(0)

2022年7月26日

oracle 截取指定字符串最后一次出现

摘要: 首先获取最后一次出现的- 的位置 instr('aaaa-bbbb-cc','-',-1),这样就得到了最后一个-的下标 从最后一次出现-的位置开始截取字符串 下标加一,然后截取 substr('aaaa-bbbb-cc','-',-1, 1, instr('aaaa-bbbb-cc','-',-1 阅读全文

posted @ 2022-07-26 17:18 何苦-> 阅读(3509) 评论(0) 推荐(0)

IDEA控制台console显示行数设置

摘要: IDEA console显示行数设置 在IDEA安装目录的bin目录下找到 idea.properties文件 打开文件修改文件中的内容 // idea.cycle.buffer.size=1024 修改 idea.cycle.buffer.size=disabled 阅读全文

posted @ 2022-07-26 16:03 何苦-> 阅读(2419) 评论(0) 推荐(0)

2022年6月30日

连表更新 计算 类型转换

摘要: -- 目标u_order_goods表字段 cinvname cinvname cinvm_unit iquantity 值为u_goods_support中的字段值 条件是u_order_goods.iquantity > u_goods_support.support_exchange -- 关 阅读全文

posted @ 2022-06-30 15:13 何苦-> 阅读(41) 评论(0) 推荐(0)

2022年6月24日

java mybatis mapper 中循环查询条件

摘要: SELECT o.* FROM u_order o LEFT JOIN u_order_goods og ON o.id = og.order_id <where> o.is_virtual = 0 <if test="uOrderGoodsVO.ccode != null and uOrderGo 阅读全文

posted @ 2022-06-24 10:11 何苦-> 阅读(687) 评论(0) 推荐(0)

2022年6月22日

js 打印 json输出格式化 query ajax FormData 上传文件 mule aliyun oss java中文文件名乱码

摘要: css json格式化展示样式 <style> .console { display: block; padding: 9.5px; margin: 44px 0 0 0; font-size: 13px; line-height: 1.42857; color: #333; word-break: 阅读全文

posted @ 2022-06-22 11:33 何苦-> 阅读(210) 评论(0) 推荐(0)

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 41 下一页

导航