| | |
| | | } |
| | | |
| | | @Override |
| | | public void performanceShiftUpdate(String shift, Integer id) { |
| | | PerformanceShift performanceShift = new PerformanceShift(); |
| | | performanceShift.setId(id); |
| | | performanceShift.setShift(shift); |
| | | public void performanceShiftUpdate(PerformanceShift performanceShift) { |
| | | baseMapper.update(new PerformanceShift(), Wrappers.<PerformanceShift>lambdaUpdate() |
| | | .eq(PerformanceShift::getId, id) |
| | | .set(PerformanceShift::getShift, shift)); |
| | | .eq(PerformanceShift::getId, performanceShift.getId()) |
| | | .set(PerformanceShift::getShift, performanceShift.getShift())); |
| | | } |
| | | |
| | | // 获取两个localDateTime的每一天 |