摘要: mybatis xml 文件中对于重复出现的sql 片段可以使用标签提取出来,在使用的地方使用标签引用即可具体用法如下: <sql id="Base_Column_List"> id,name </sql> <select id="select"> select <include refid="Ba 阅读全文
posted @ 2022-06-23 11:45 天天代码码天天 阅读(147) 评论(0) 推荐(0)
摘要: //本月 @Test public void test01() { SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); Calendar c = Calendar.getInstance(); c.add(Calendar.MO 阅读全文
posted @ 2022-06-23 10:18 天天代码码天天 阅读(22) 评论(0) 推荐(0)