ZhghAdviceServiceImpl.java 1.23 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
package com.hmit.kernes.service.impl;

import com.hmit.kernes.dao.ZhghAdviceDao;
import com.hmit.kernes.entity.ZhghAdviceEntity;
import com.hmit.kernes.service.ZhghAdviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

@Service("zhghAdviceService")
public class ZhghAdviceServiceImpl implements ZhghAdviceService {
    @Autowired
    ZhghAdviceDao zhghAdviceDao;


    @Override
    public void save(ZhghAdviceEntity zhghAdviceEntity) {
        zhghAdviceDao.save(zhghAdviceEntity);
    }

    @Override
    public void update(ZhghAdviceEntity zhghAdviceEntity) {
        zhghAdviceDao.update(zhghAdviceEntity);
    }

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

    @Override
    public ZhghAdviceEntity queryObject(Object id) {
        return zhghAdviceDao.queryObject(id);
    }

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

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