| | |
| | | insurancePosition.setNumberPeople(dto.getNumberPeople()); |
| | | insurancePosition.setRank(dto.getRank()); |
| | | insurancePosition.setSalary(dto.getSalary()); |
| | | insurancePosition.setSort(dto.getSort()); |
| | | insurancePosition.setCreatedAt(new Date()); |
| | | insurancePosition.setUpdatedAt(new Date()); |
| | | service.save(insurancePosition); |
| | |
| | | position.setNumberPeople(dto.getNumberPeople()); |
| | | position.setRank(dto.getRank()); |
| | | position.setSalary(dto.getSalary()); |
| | | position.setSort(dto.getSort()); |
| | | position.setUpdatedAt(new Date()); |
| | | service.updateById(position); |
| | | return AjaxResult.success("修改成功"); |