07 2021 档案

摘要:注意Integer类型如果是0的话,等价于空字符串,所以需要添加0值判断 <if test="query.status != null and query.status !='' or query.status == 0"> AND sdr.STATUS=#{query.status} </if> 阅读全文
posted @ 2021-07-30 16:09 有点儿放松 阅读(409) 评论(0) 推荐(0)
摘要:主要是eureka监听存在难点` /** * 服务下线事件 * @param event */ @EventListener(condition = "#event.replication == false") public void listen(EurekaInstanceCanceledEve 阅读全文
posted @ 2021-07-16 17:24 有点儿放松 阅读(176) 评论(0) 推荐(0)