package com.kmall.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

import com.kmall.common.dao.CusPayDataOpenDao;
import com.kmall.common.entity.CusPayDataOpenEntity;
import com.kmall.common.service.CusPayDataOpenService;

/**
 * Service实现类
 *
 * @author emato
 * @email admin@qhdswl.com
 * @date 2018-12-28 11:17:08
 */
@Service("cusPayDataOpenService")
public class CusPayDataOpenServiceImpl implements CusPayDataOpenService {
    @Autowired
    private CusPayDataOpenDao cusPayDataOpenDao;

    @Override
    public CusPayDataOpenEntity queryObject(Long id) {
        return cusPayDataOpenDao.queryObject(id);
    }

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

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

    @Override
    public int save(CusPayDataOpenEntity cusPayDataOpen) {
        return cusPayDataOpenDao.save(cusPayDataOpen);
    }

    @Override
    public int update(CusPayDataOpenEntity cusPayDataOpen) {
        return cusPayDataOpenDao.update(cusPayDataOpen);
    }

    @Override
    public int delete(Long id) {
        return cusPayDataOpenDao.delete(id);
    }

    @Override
    public int deleteBatch(Long[]ids) {
        return cusPayDataOpenDao.deleteBatch(ids);
    }

    @Override
    public CusPayDataOpenEntity queryObjectByOrderNo(String orderNo) {
        return cusPayDataOpenDao.queryObjectByOrderNo(orderNo);
    }
}
