package com.xzx.gc.order.service; import com.xzx.gc.entity.OrderStorageInfo; import com.xzx.gc.order.mapper.OrderStorageInfoMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import tk.mybatis.mapper.entity.Example; import java.util.List; @Service @Transactional public class OrderStorageService { @Autowired private OrderStorageInfoMapper orderStorageInfoMapper; public void add(OrderStorageInfo orderStorageInfo){ orderStorageInfoMapper.insertSelective(orderStorageInfo); } }