|
@@ -14,6 +14,8 @@ import com.imed.costaccount.common.util.BeanUtil;
|
|
|
import org.apache.shiro.SecurityUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Propagation;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -53,4 +55,15 @@ public class CostResponsibilityDepartmentServiceImpl extends ServiceImpl<CostRes
|
|
|
});
|
|
|
return departVOList;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 批量删除责任中心科室损益信息
|
|
|
+ *
|
|
|
+ * @param idList 责任中心科室对应的Id集合
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ @Transactional(propagation = Propagation.REQUIRED,rollbackFor = Exception.class)
|
|
|
+ public void deleteByIds(List<Integer> idList) {
|
|
|
+ this.removeByIds(idList);
|
|
|
+ }
|
|
|
}
|