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

import com.hmit.kernes.dao.ZhghCloudAddressDao;
import com.hmit.kernes.entity.ZhghCloudAddressEntity;
import com.hmit.kernes.service.ZhghCloudAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

@Service("zhghCloudAddressService")
public class ZhghCloudAddressSericeImpl implements ZhghCloudAddressService {
    @Autowired
    ZhghCloudAddressDao zhghCloudAddressDao;

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

    }

    @Override
    public ZhghCloudAddressEntity queryObject(Object id) {
        return zhghCloudAddressDao.queryObject(id);
    }

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

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

    @Override
    public void save(ZhghCloudAddressEntity zhghCloudAddressEntity) {
        zhghCloudAddressDao.save(zhghCloudAddressEntity);

    }

    @Override
    public void update(ZhghCloudAddressEntity zhghCloudAddressEntity) {
        zhghCloudAddressDao.update(zhghCloudAddressEntity);
    }

    @Override
    public void delete(Object id) {
        zhghCloudAddressDao.delete(id);
    }
}