|
|
|
@ -37,7 +37,7 @@ public class TestController {
|
|
|
|
|
public BaseResponse filterInv() {
|
|
|
|
|
for (int i = 0; i < 100000; i++) {
|
|
|
|
|
List<BasicCorpEntity> data = testDataMapper.selectList(new QueryWrapper<BasicCorpEntity>().last("limit 10"));
|
|
|
|
|
log.info(i+"");
|
|
|
|
|
log.info(i + "");
|
|
|
|
|
}
|
|
|
|
|
return ResultVOUtils.success();
|
|
|
|
|
}
|
|
|
|
@ -46,11 +46,21 @@ public class TestController {
|
|
|
|
|
public BaseResponse filterCt() {
|
|
|
|
|
for (int i = 0; i < 100000; i++) {
|
|
|
|
|
List<BasicBussinessTypeEntity> data = bussinessTypeDao.selectList(new QueryWrapper<BasicBussinessTypeEntity>());
|
|
|
|
|
log.info(i+"");
|
|
|
|
|
log.info(i + "");
|
|
|
|
|
}
|
|
|
|
|
return ResultVOUtils.success();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/test/Str")
|
|
|
|
|
public BaseResponse filterStr(String code) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String result = StrUtil.sub(code, 2, 16);
|
|
|
|
|
String result2 = StrUtil.sub(code, 16, code.length());
|
|
|
|
|
return ResultVOUtils.success(result + "\n" + result2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @GetMapping("/test/yh")
|
|
|
|
|
// public BaseResponse yh() {
|
|
|
|
|