package com.changhong.epc.tenant.service.cost.costlog.impl;
|
|
import java.util.List;
|
|
import javax.annotation.Resource;
|
|
import org.springframework.stereotype.Service;
|
|
import com.changhong.epc.bean.form.ProcessBudget;
|
import com.changhong.epc.bean.tenant.cost.budgetlog.MoneyBudgetLog;
|
import com.changhong.epc.tenant.mapper.tenant.cost.costlog.MoneyBudgetLogMapper;
|
import com.changhong.epc.tenant.service.cost.costlog.MoneyBudgetLogService;
|
|
|
@Service("moneyBudgetLogService")
|
public class MoneyBudgetLogServiceImpl implements MoneyBudgetLogService {
|
|
@Resource
|
private MoneyBudgetLogMapper moneyBudgetLogMapper;
|
|
@Override
|
public int insertLog(MoneyBudgetLog moneyBudgetLog) {
|
return moneyBudgetLogMapper.insertSelective(moneyBudgetLog);
|
}
|
|
@Override
|
public List<MoneyBudgetLog> selectLog(ProcessBudget processBudget) {
|
return null;
|
}
|
|
@Override
|
public MoneyBudgetLog selectNewestLog(ProcessBudget processBudget) {
|
return moneyBudgetLogMapper.selectNewestRecordLog(processBudget);
|
}
|
|
}
|