Merge branch 'master' into sdm
This commit is contained in:
commit
ea577a8a6a
10
.gitignore
vendored
10
.gitignore
vendored
@ -48,4 +48,12 @@ local.properties
|
|||||||
# *.classpath
|
# *.classpath
|
||||||
# *.project
|
# *.project
|
||||||
# target/
|
# target/
|
||||||
# .settings/
|
# .settings/
|
||||||
|
|
||||||
|
##########################
|
||||||
|
## IntelliJ IDEA
|
||||||
|
##########################
|
||||||
|
.idea
|
||||||
|
*.iws
|
||||||
|
*.iml
|
||||||
|
*.ipr
|
||||||
@ -10,15 +10,8 @@ import java.time.LocalDateTime;
|
|||||||
import java.time.LocalTime;
|
import java.time.LocalTime;
|
||||||
import java.time.ZoneId;
|
import java.time.ZoneId;
|
||||||
import java.time.format.DateTimeFormatter;
|
import java.time.format.DateTimeFormatter;
|
||||||
import java.util.ArrayDeque;
|
import java.util.*;
|
||||||
import java.util.ArrayList;
|
import java.util.function.BiConsumer;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.Comparator;
|
|
||||||
import java.util.Date;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Queue;
|
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
@ -2115,6 +2108,23 @@ public class PelayananPasienServiceImpl extends BaseVoServiceImpl implements Pel
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private List<Map<String, Object>> groupingTanggalRemun(
|
||||||
|
List<Integer> listIdProduk, List<String> listPersenJasa, List<Double> listHargaJual,
|
||||||
|
List<Integer> listIdKelompokPasien, List<String> listTanggal, List<Map<String, Object>> listData) {
|
||||||
|
List<Map<String, Object>> result = new ArrayList<>();
|
||||||
|
Map<Integer, Map<String, Map<Double, Map<Integer, Map<String, DoubleSummaryStatistics>>>>> collected =
|
||||||
|
listData.stream().collect(Collectors.groupingBy(o1 -> Integer.parseInt(o1.get("idProduk").toString()),
|
||||||
|
Collectors.groupingBy(o2 -> o2.get("persenJasa").toString(),
|
||||||
|
Collectors.groupingBy(o3 -> Double.parseDouble(o3.get("hargaJual").toString()),
|
||||||
|
Collectors.groupingBy(o4 -> Integer.parseInt(o4.get("idKelompokPasien").toString()),
|
||||||
|
Collectors.groupingBy(o5 -> o5.get("tanggal").toString(),
|
||||||
|
Collectors.summarizingDouble(s1 -> Double.parseDouble(s1.get("jumlah").toString()))))))));
|
||||||
|
collected.forEach((k,v) -> {
|
||||||
|
|
||||||
|
});
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Map<String, Object>> detailLogbookTarifDokter(Integer idPegawai, List<String> norecs) {
|
public List<Map<String, Object>> detailLogbookTarifDokter(Integer idPegawai, List<String> norecs) {
|
||||||
List<Map<String, Object>> result = pelayananPasienDao.findPelayananPasienByPetugasAndPelayananPasien(idPegawai,
|
List<Map<String, Object>> result = pelayananPasienDao.findPelayananPasienByPetugasAndPelayananPasien(idPegawai,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user