package com.bs.jxc.service.impl;

import com.bs.jxc.mapper.CmCargoMapper;
import com.bs.jxc.domain.CmCargo;
import com.bs.jxc.service.ICmCargoService;
import com.github.yulichang.base.MPJBaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * 货物信息Service业务层处理
 *
 * @author bs
 * @date 2023-07-10
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class CmCargoServiceImpl  extends MPJBaseServiceImpl<CmCargoMapper, CmCargo> implements ICmCargoService {

    @Resource
    public CmCargoMapper cmCargoMapper;

    @Override
    public List<CmCargo> custCargoList(CmCargo cmCargo) {
        return cmCargoMapper.custCargoList(cmCargo);
    }
}
