Spring中进行批量操作
摘要:有时我们需要执行批量操作,比如说批量删除等,前端只需要将要删除的记录的唯一id作为数组传递,后端可以依次自动生成SQL语句,比一条一条循环执行SQL效率会高很多; 1、定义VO对象: 1 public class IdsVO implements Serializable { 2 private s
阅读全文
posted @ 2020-04-23 16:01
posted @ 2020-04-23 16:01
posted @ 2020-04-14 11:22
posted @ 2020-04-01 11:45