DeviceMapper.java 535 B

1234567891011121314151617181920212223
  1. package com.zoniot.ccrc.dao;
  2. import com.zoniot.ccrc.dto.PriceInfo;
  3. import com.zoniot.ccrc.entity.Device;
  4. import java.util.List;
  5. import org.apache.ibatis.annotations.Mapper;
  6. import org.apache.ibatis.annotations.Param;
  7. @Mapper
  8. public interface DeviceMapper {
  9. int insertSelective(Device record);
  10. int updateByPrimaryKeySelective(Device record);
  11. int updateBatch(List<Device> list);
  12. int batchInsert(@Param("list") List<Device> list);
  13. Long getDeviceIdByUserNumber(Integer id);
  14. List<PriceInfo> getPriceInfo();
  15. }