|
@@ -204,7 +204,7 @@ public class CostAccountShareServiceImpl extends ServiceImpl<CostAccountShareMap
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 修改成本中心责任对照表
|
|
|
+ * 修改成本分摊参数对应表
|
|
|
*
|
|
|
* @param costAccountShareEditDto
|
|
|
*/
|
|
@@ -401,13 +401,13 @@ public class CostAccountShareServiceImpl extends ServiceImpl<CostAccountShareMap
|
|
|
.eq(CostShareLevel::getHospId, hospId).eq(CostShareLevel::getCalcType, calcType))
|
|
|
.stream().map(CostShareLevel::getId).distinct().collect(Collectors.toList());
|
|
|
String accountingIds = costAccountShare.getAccountingIds();
|
|
|
- List<Long> responsibilityIdList=null;
|
|
|
- if (StrUtil.isNotBlank(accountingIds)){
|
|
|
- List<String> accountIdList = Arrays.asList(accountingIds.split(StrUtil.COMMA));
|
|
|
- responsibilityIdList= baseMapper.getResponsibilityIdsByAccountId(accountIdList);
|
|
|
- }
|
|
|
+// List<Long> responsibilityIdList=null;
|
|
|
+// if (StrUtil.isNotBlank(accountingIds)){
|
|
|
+// List<String> accountIdList = Arrays.asList(accountingIds.split(StrUtil.COMMA));
|
|
|
+// responsibilityIdList= baseMapper.getResponsibilityIdsByAccountId(accountIdList);
|
|
|
+// }
|
|
|
// 筛选指定类型的责任中心 并且当前没有设置的责任中心
|
|
|
- List<Long> finalResponsibilityIdList = responsibilityIdList;
|
|
|
+// List<Long> finalResponsibilityIdList = responsibilityIdList;
|
|
|
List<Responsibility> responsibilityList = responsibilityService.list(new QueryWrapper<Responsibility>().lambda()
|
|
|
.eq(Responsibility::getHospId, hospId)
|
|
|
.ne(Responsibility::getShareId,NumberConstant.ZERO))
|