package com.goafanti.demand.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.goafanti.common.dao.DemandOrderLogMapper;
import com.goafanti.demand.bo.DemandOrderLogAdminBo;
import com.goafanti.demand.bo.DemandOrderLogUserBo;
import com.goafanti.demand.service.DemandOrderLogService;
@Service
public class DemandOrderLogServiceImpl implements DemandOrderLogService {
	@Autowired
	private DemandOrderLogMapper demandOrderLogMapper;

	@Override
	public List<DemandOrderLogUserBo> selectDemandOrderLogByDemandOrderId(String demandOrderId) {
		return demandOrderLogMapper.selectDemandOrderLogByDemandOrderId(demandOrderId);
	}

	@Override
	public List<DemandOrderLogAdminBo> selectAdminDemandOrderLogByDemandOrderId(String demandOrderId) {
		return demandOrderLogMapper.selectAdminDemandOrderLogByDemandOrderId(demandOrderId);
	}
}
