摘要: insertDuplicate只会替换gmt_modified更新时间 sql.append("</trim>"); if (isDuplicate) { sql.append(" ON DUPLICATE KEY UPDATE gmt_modified = now() "); } 如果希望替换字段 阅读全文
posted @ 2022-07-19 11:48 使用D 阅读(76) 评论(0) 推荐(0) 编辑
摘要: systemctl命令是系统服务管理器指令,它实际上将 service 和 chkconfig 这两个命令组合到一起。 任务 旧指令 新指令 使某服务自动启动 chkconfig --level 3 httpd on systemctl enable httpd.service 使某服务不自动启动 阅读全文
posted @ 2022-07-19 00:27 使用D 阅读(94) 评论(0) 推荐(0) 编辑