zhangkang1521

Results issues of zhangkang1521

### 版本情况 JDK版本: openjdk_8_201 hutool版本: 5.7.11(最新版本有问题) ### 问题描述(包括截图) 1. 复现代码 ```java Dubbo使用DateTime进行参数传递,获取的永远是当前时间。应该是序列化或反序列化的问题。 Dubbo源码Hessian2SerializationTest.java中增加单元测试 DateTime date = DateTime.of("2020-01-02", "yyyy-MM-dd"); ObjectOutput objectOutput = serialization.serialize(url, byteArrayOutputStream); objectOutput.writeObject(date); objectOutput.flushBuffer(); ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(...

question

https://github.com/dianping/cat/blob/801f0b7b358814f8176dd2c47e25a85a9c83e6bc/cat-home/src/main/java/com/dianping/cat/report/task/TaskConsumer.java#L80-L83 以上代码会执行如下sql,表里有几千万数据,查询较慢,导致报表没有生成,如何解决。 SELECT * FROM task t WHERE t.status = 3 AND t.consumer = 'xxx' LIMIT 1 SELECT * FROM task WHERE STATUS = 1 LIMIT 1

使用Transaction记录kafka的`org.apache.kafka.clients.consumer.KafkaConsumer#poll(long)`方法,但是这个方法会每秒调用一次,有没有一种方法,在拉取有结果时才记录Transaction.否则丢弃掉 ``` CatTransaction t = Cat.newTransaction("kafka", "poll"); try { ConsumerRecords consumerRecords = poll(1000); if (consumerRecords == null || consumerRecords.count() == 0) { t.discard(); // 丢弃 return; } t.complete(); } catch...

mybatis-plus版本3.0.7.1 mybatis后台sql: ``` @Select("select * from tb_user where username like concat('%', #{username}, '%')") List findByUserName(String username); ``` 用户在input框输入%,后台会将所有数据查询出来,所以需要转义进行查询 我写了个全局的拦截器,但是分页插件自动生成的count sql我拦截不到,请教下或者有什么其他简便的方法处理? 下面是我拦截器的代码 ``` /** * 对like语句中的百分号,下划线转义处理 */ @Intercepts({ @Signature(type = ParameterHandler.class,...

first, I am in page 1, I click p-paginator's button navigator to page 2, than, I click my search button to back to page 1, how to do?

when selected item contains many character,we need typewrite BackSpace key too many times,it's not convenient!

## What problem does this feature solve? I use nzPageIndexChangeClick like this,(nzPageIndexChangeClick)="pageChange(event)", but the event is undefined, what number of page dose the user click ? who know? ## What...

## What problem does this feature solve? i want to change all font's size and color, but I just found this NgZorroAntdModule.forRoot({ extraFontName: 'anticon', extraFontUrl: './assets/fonts/iconfont' }) ## What does...

🌈 Feature Request

## What problem does this feature solve? because some time the last page is very slow, I should hide the last page button. ## What does the proposed API look...

## What problem does this feature solve? [collapse-title] type is ng-content, can provide a demo? ## What does the proposed API look like? customize nz-collapse head