查看mysql所有库的大小
SELECT table_schema AS 'Database', CONCAT(ROUND(SUM(data_length + index_length) / 1024 / 1024, 2), 'MB') AS 'Size' FROM information_schema.tables WHERE tab…
SELECT table_schema AS 'Database', CONCAT(ROUND(SUM(data_length + index_length) / 1024 / 1024, 2), 'MB') AS 'Size' FROM information_schema.tables WHERE tab…
import { ref, nextTick } from "vue"; async function xxx() { await nextTick(); }
//压缩图片400KB以下 int kb = 400 * 1024; long fileSize = file.getSize(); if (fileSize > 100 * 1024) { int smallSize = (int) (fileSize % kb == 0 ? fileSize / kb…
package org.jeecg.modules.staff.utils; /** * @className: PicUtils * @description: TODO 类描述 * @author: HeLei * @date: 2023/07/10 15:38 * @Company: Copyright© [2023] by [HeLei] **/ import lom…
list1 = [1,2,3,4] str = ','.join(list1) print(str) 输出1,2,3,4 list1 = [1,2,3,4] str = ','.join("'{0}'".format(x) for x in list1) print(str) 输出 '1','2','3','…
引入驱动 <!--sqlserver驱动--> <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId> …
import { getCurrentInstance, reactive, ref } from "vue" const { proxy } = getCurrentInstance() as any proxy.$refs.inpueOne.focus();