| | |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | import java.util.UUID; |
| | | |
| | | /** |
| | | * @author PanZhibao |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void create(FileGroupEntity fileMenuEntity) { |
| | | fileGroupDao.insert(fileMenuEntity); |
| | | public void create(FileGroupEntity entity) { |
| | | entity.setId(UUID.randomUUID().toString()); |
| | | fileGroupDao.insert(entity); |
| | | } |
| | | |
| | | @Override |
| | | public void update(FileGroupEntity fileMenuEntity) { |
| | | fileGroupDao.updateById(fileMenuEntity); |
| | | public void update(FileGroupEntity entity) { |
| | | fileGroupDao.updateById(entity); |
| | | } |
| | | |
| | | @Override |