package com.openhis.web.paymentmanage.appservice.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.openhis.medication.domain.MedicationDefinition;
import com.openhis.web.paymentmanage.appservice.IChangePriceService;
import com.openhis.web.paymentmanage.dto.ChangePriceListDto;
import com.openhis.web.paymentmanage.mapper.ChangePriceMapper;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName ChangePriceImpl
 * @Description TODO
 * @Author raymond
 * @Date 2025/10/15 16:10
 * @Version 1.0
 **/
@Component
public class ChangePriceImpl implements IChangePriceService {

    @Resource
    private ChangePriceMapper changePriceMapper;
    @Override
    public PageInfo<ChangePriceListDto> searchMedicationList(Integer pageNo, Integer pageSize) {
//        PageHelper.startPage(pageNo,pageSize);
        List<MedicationDefinition> medicationDefinitions = this.changePriceMapper.searchMedicationList();
//        PageInfo<ChangePriceListDto> pageInfo = new PageInfo<>(list);
        return null;
    }
}
