zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
commit | author | age
a18bfa 1 package com.changhong.epc.tenant.service.cost.costlog.impl;
Z 2
3 import java.util.List;
4
5 import javax.annotation.Resource;
6
7 import org.springframework.stereotype.Service;
8
9 import com.changhong.epc.bean.form.ProcessBudget;
10 import com.changhong.epc.bean.tenant.cost.budgetlog.MoneyBudgetLog;
11 import com.changhong.epc.tenant.mapper.tenant.cost.costlog.MoneyBudgetLogMapper;
12 import com.changhong.epc.tenant.service.cost.costlog.MoneyBudgetLogService;
13
14
15 @Service("moneyBudgetLogService")
16 public class MoneyBudgetLogServiceImpl implements MoneyBudgetLogService {
17
18     @Resource
19     private MoneyBudgetLogMapper moneyBudgetLogMapper;
20
21     @Override
22     public int insertLog(MoneyBudgetLog moneyBudgetLog) {
23         return moneyBudgetLogMapper.insertSelective(moneyBudgetLog);
24     }
25
26     @Override
27     public List<MoneyBudgetLog> selectLog(ProcessBudget processBudget) {
28         return null;
29     }
30
31     @Override
32     public MoneyBudgetLog selectNewestLog(ProcessBudget processBudget) {
33         return moneyBudgetLogMapper.selectNewestRecordLog(processBudget);
34     }
35     
36 }