ruoyi-plus框架下,在后台对字典做转换
前端字典转换和excel转换的代码挺多的。只有后台做字典转换的比较少。因为将字典 value 转换成字典 label 是使用 DictUtils 类的 getDictLabel 方法。public static String getDictLabel(String dictType, String ...
前端字典转换和excel转换的代码挺多的。只有后台做字典转换的比较少。因为将字典 value 转换成字典 label 是使用 DictUtils 类的 getDictLabel 方法。public static String getDictLabel(String dictType, String ...
通过地址:https://lbs.amap.com/demo/javascript-api/example/mouse-operate-map/mouse-draw-overlayers在页面绘制你需要的围栏,使用多边形绘制,或者其他你需要...
<style scoped> /deep/ .el-upload-dragger{ width: 460px !important; } </style>前面要有一个deep才会生效,否则去掉scoped呢,又把其他地方一起也改掉了。
java日期转换报错:org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize valu...
一般都是windows服务器,而且系统还不是自己安装的,就会出现80和443被占用的情况被占用的情况下,nginx就会提示10013错误解决方案:1、在命令提示符下,使用命令:netstat aon|findstr "80" 查看是哪个进程...
//左侧补齐 第一个参数:原始字符串,第二个参数:字符串的长度,第三个是补充的字符串 String str1 = StringUtils.leftPad("原始字符串", 8, "fff"); //左侧补齐 第一个参数:原始字符串,第二个参...
var arr = ['apple','banana','pear','apple','orange','orange']; console.log(arr) //["apple", "banana", "pear", "apple", "...
扩展临时表空间,不能用datafile,只能用tempfile错误语句:ALTER TABLESPACE backup_temp ADD datafile '/data/oradata/backup/backup_temp02.dbf' s...
报错内容:The unit files have no installation config (WantedBy=, RequiredBy=, Also=, Alias= settings in the [Install] section...
原网页地址:How To Limit Rate of Connections (Requests) in NGINX (tecmint.com)The following configuration example shows limiti...
PHP8的命令行执行的,主要可以看看读取文件,700M的文件,没有超内存。date_default_timezone_set('Asia/Shanghai'); //定义时区 $db=new mysqli('localhost','root...
1、domain即entity中,增加@TableField(exist = false) private StdElementCategory elementCategory;2、xml中增加resultmap即相关信息<resultMa...
仅是简单记录,不代表这样是正确的。错误的方法,使用StringUtils.isEmpty判断,会报空指针if (StringUtils.isEmpty(entity.getVersionCode().toString())){ entity...