@@ -171,7 +171,9 @@ public class DmFoodCateServiceImpl implements DmFoodCateService {
updateSubCnt(newPid);
}
+
@Override
+ @Transactional(rollbackFor = Exception.class)
public void deleteAll(Set<DmFoodCate> dmFoodCates) {
for (DmFoodCate foodCate : dmFoodCates) {
dmFoodCateRepository.deleteById(foodCate.getId());