package cn.hnthyy.thmz.service.impl.his.zy;

import cn.hnthyy.thmz.enums.ZyChargeStatusEnum;
import cn.hnthyy.thmz.mapper.his.zy.ZyDetailChargeMapper;
import cn.hnthyy.thmz.service.his.zy.ZyDetailChargeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

@Service
public class ZyDetailChargeServiceImpl implements ZyDetailChargeService {
    @SuppressWarnings("all")
    @Autowired
    private ZyDetailChargeMapper zyDetailChargeMapper;
    @Override
    public List<Map<String, Object>> queryAbnormalZyDetailCharges(String inpatientNo, Integer admissTimes, String infantFlag) {
        return zyDetailChargeMapper.selectZyDetailCharges(inpatientNo,admissTimes,infantFlag,Arrays.asList(ZyChargeStatusEnum.DEPARTMENT_CONFIRMED.code,ZyChargeStatusEnum.DEPARTMENT_ENTRY.code,ZyChargeStatusEnum.MEDICAL_TECHNIQUE_NOT_CONFIRMED.code));
    }
}
