|
@@ -247,7 +247,7 @@ public class AllocationServiceImpl extends ServiceImpl<AllocationMapper, Allocat
|
|
|
allocationQuery.setDateYear(i.getDateYear()).setDateMonth(i.getDateMonth())
|
|
|
.setHospId(hospId).setResponsibilityCode(i.getResponsibilityCode())
|
|
|
.setResponsibilityName(i.getResponsibilityName())
|
|
|
- .setOriginId(i.getId()).setOriginType(1L).setAmount(i.getAmount())
|
|
|
+ .setOriginId(i.getId()).setOriginType(2L).setAmount(i.getAmount())
|
|
|
.setAccountingCode(accountingCodes).setAccountingName(accountingNames)
|
|
|
.setCreateTime(System.currentTimeMillis())
|
|
|
.setLevelSort(i.getLevelSort()).setLevelName(i.getLevelName())
|
|
@@ -255,7 +255,7 @@ public class AllocationServiceImpl extends ServiceImpl<AllocationMapper, Allocat
|
|
|
saveList.add(allocationQuery);
|
|
|
});
|
|
|
|
|
|
- costingGroups = costCostingGroupService.getRealData(maxId, hospId, year, month);
|
|
|
+ costingGroups = costCostingGroupService.getRealData(CollUtil.newArrayList(maxId), hospId, year, month);
|
|
|
costingGroups.forEach(i -> {
|
|
|
AllocationQuery allocationQuery = new AllocationQuery();
|
|
|
String responsibilityCode = i.getResponsibilityCode();
|
|
@@ -269,7 +269,7 @@ public class AllocationServiceImpl extends ServiceImpl<AllocationMapper, Allocat
|
|
|
}
|
|
|
allocationQuery.setDateYear(i.getDateYear()).setDateMonth(i.getDateMonth())
|
|
|
.setHospId(hospId).setResponsibilityCode(responsibilityCode).setResponsibilityName(i.getResponsibilityName())
|
|
|
- .setOriginId(i.getId()).setOriginType(2L).setAmount(i.getAmount())
|
|
|
+ .setOriginId(i.getId()).setOriginType(1L).setAmount(i.getAmount())
|
|
|
.setAccountingCode(i.getAccountCode()).setAccountingName(i.getAccountName())
|
|
|
.setCreateTime(System.currentTimeMillis())
|
|
|
.setLevelSort(byId.getLeverSort()).setLevelName(byId.getShareName())
|