| | |
| | | |
| | | @Transactional |
| | | @Override |
| | | public void delete(Map map) { |
| | | int organization_id = Integer.parseInt(map.get("organization_id").toString()); |
| | | int version_id = Integer.parseInt(map.get("version_id").toString()); |
| | | QueryWrapper<OrganizationLayout> wrapper_organizationLayout = new QueryWrapper<>(); |
| | | wrapper_organizationLayout.eq("organization_id",organization_id); |
| | | wrapper_organizationLayout.eq("version_id",version_id); |
| | | organizationLayoutMapper.delete(wrapper_organizationLayout); |
| | | } |
| | | |
| | | @Transactional |
| | | @Override |
| | | public void insertList(List<OrganizationLayout> list) { |
| | | organizationLayoutMapper.insertList(list); |
| | | } |
| | | |
| | | @Transactional |
| | | @Override |
| | | public void setUp(Map map, List<OrganizationLayout> list) { |
| | | int organization_id = Integer.parseInt(map.get("organization_id").toString()); |
| | | int version_id = Integer.parseInt(map.get("version_id").toString()); |