摘要: 回表: 所谓的回表,就是先查索引,找到相对应的rowid,然后再通过rowid找到对应的数据。 所以,如果select * from XXX一定会出现回表的,毕竟你不可能把所有的列都建索引。 例如: select * from bp_packing_report where create_date> 阅读全文
posted @ 2021-03-05 14:51 masha2017 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: 想给循环日期,然后每天都做些什么,就要用到.AddDays(1)方法。如下代码: DateTime st = new DateTime(2021, 3, 10, 9, 0, 0); while (st < new DateTime(2021, 4, 10, 9, 0, 0)) { // 做点什么 s 阅读全文
posted @ 2021-03-05 14:25 masha2017 阅读(707) 评论(0) 推荐(0) 编辑