feat(attendance): 添加批量插入或更新考勤汇总数据接口
- 在AttendanceSummaryMapper接口中新增insertOrUpdateBatch方法 - 在MyBatis映射文件中增加批量插入SQL,使用foreach循环插入多条数据 - 批量插入操作支持主键冲突时更新记录的字段 - 优化考勤汇总数据插入更新逻辑,提高数据处理效率
Showing
2 changed files
with
37 additions
and
0 deletions
-
Please register or sign in to post a comment