ApplyCenterServiceImpl.java 1.63 KB
Newer Older
Zhou Yang's avatar
Zhou Yang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
package com.hmit.kernes.service.impl;

import com.hmit.kernes.dao.ApplyCenterDao;
import com.hmit.kernes.entity.ApplyCenterEntity;
import com.hmit.kernes.service.ApplyCenterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

@Service("applyCenterService")
public class ApplyCenterServiceImpl implements ApplyCenterService {

    @Autowired
    ApplyCenterDao applyCenterDao;

    @Override
    public List<ApplyCenterEntity> queryList(Map<String, Object> map) {
        return applyCenterDao.queryList(map);
    }

    @Override
    public void save(ApplyCenterEntity applyCenterEntity) {
            applyCenterDao.save(applyCenterEntity);
    }

    @Override
    public void update(ApplyCenterEntity applyCenterEntity) {
            applyCenterDao.update(applyCenterEntity);
    }

    @Override
    public ApplyCenterEntity queryObject(Object id) {
        return applyCenterDao.queryObject(id);
    }

    @Override
    public void deleteBatch(Object[] id) {
            applyCenterDao.deleteBatch(id);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return applyCenterDao.queryTotal(map);
    }

    @Override
    public int queryTotal() {
        return  applyCenterDao.queryTotal();
    }


    /*public List<ApplyCenterEntity> queryListByIds(Object[] id) {
        return applyCenterDao.queryListByIds(id);
    }*/

    @Override
    public List<ApplyCenterEntity> queryListByType(int id) {
        return applyCenterDao.queryListByType(id);
    }
}