publicstaticvoidmain(String[]args){Stringresult="{\n"+"\"success\":true,\n"+"\"message\":null,\n"+"\"result\":{\n"+"\"333333333SCHO/2020-09/SCHO/d2d6e24f5bee79b1e63502cbd26e79f8.mp3\":{\n"+"\"id\":196,\n
2024-02-13
浏览(112)
阅读全文
1.数组字符串转成list结合MapperFactorymapperFactory=newDefaultMapperFactory.Builder().build();mapperFactory.getConverterFactory().registerConverter("employeeListConverter",newJsonConfigConvert<List<TsServiceDetailEmployee>>());mapperFactory.classMap(TsMaintainIntentServiceDeta
2024-02-13
浏览(110)
阅读全文
publicstaticvoidmain(String[]args){StringoldTrainName00="t-est";System.out.println(getUniqueIndexTrainName(oldTrainName00));StringoldTrainName0="-test";System.out.println(getUniqueIndexTrainName(oldTrainName0));StringoldTrainName1="test";System.out.println(getUniqueIndexTrainNam
2024-02-13
浏览(126)
阅读全文
oraclejdk-Djava.net.preferIPv4Stack=true-Xms1524m-Xmx2548m-XX:MaxDirectMemorySize=3072m-XX:PermSize=256m-XX:MaxNewSize=1200m-XX:MaxPermSize=1200m-XX:ParallelGCThreads=4-XX:+UseConcMarkSweepGC-verbose:gc-XX:+PrintGCDetails-XX:+PrintGCDateStamps-XX:+DisableExplicitGC-XX:+HeapDumpO
2024-02-13
浏览(117)
阅读全文
1、StringUtils.equals(source.getUserName(),target.getUserName())其实现:publicstaticbooleanequals(CharSequencecs1,CharSequencecs2){if(cs1==cs2){returntrue;}elseif(cs1!=null&&cs2!=null){if(cs1.length()!=cs2.length()){returnfalse;}elseif(cs1instanceofString&&cs2instance
2024-02-13
浏览(126)
阅读全文
我遇到的是,父类中直接取字段属性值取不到,publicvoidcheckContainerId(){if(StringUtils.isBlank(containerId)){//这个为空,需要改成this.getContainerId()才行,不能少了this.if(UserInfoUtil.getUserInfo()!=null&&StringUtils.isNotBlank(UserInfoUtil.getCurContainerId())){setContainerId(containerId);}else{thrownewBiz
2024-02-12
浏览(136)
阅读全文