04 2023 档案
摘要:背景 在使用mybatis 时我们sql是写在xml 映射文件中,如果写的sql中有一些特殊的字符的话,在解析xml文件的时候会被转义。 如大于号>会被转义为>转义后的可读性不是很直观,如果想让其看起来更加直观可读性更强的话,则需要使用<![CDATA[ ]]>来圈起来不被转义的符号以此来解决
阅读全文
摘要:需要找到之前的开发一个功能对应的分支是什么,印象中那个分支是在一个法定假日前拉出来的,但是已经记不得具体的时间了,所以希望按照branch最后提交的时间进行排序,依次找一下,回忆一下。 对本地分支按照提交时间进行排序 git for-each-ref --sort=-committerdate re
阅读全文
摘要:Let’s for once leave politics and the perfidy of men behind, and revel in the beauty of the earth and the ingenuity of mankind. The photo of the volca
阅读全文
摘要:背景 今天出现了一个bug,在数据库中我们将订单表中的order_no从之前的bigint(20)改成varchar(20)后,原有的代码逻辑在进行时查询时,之前是以Long类型传参查询的。 select * from order_main where order_no=16541913435669
阅读全文

浙公网安备 33010602011771号