package com.sv.mapper; import com.sv.annotation.NoPlatform; import com.sv.entity.BarcodeEnterLog; public interface BarcodeEnterLogMapper { int deleteByPrimaryKey(Integer id); @NoPlatform int insert(BarcodeEnterLog record); int insertSelective(BarcodeEnterLog record); BarcodeEnterLog selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(BarcodeEnterLog record); int updateByPrimaryKey(BarcodeEnterLog record); @NoPlatform BarcodeEnterLog findLastByBarcode(String barcode); /** * 统计线下订单二维码最多只能使用6次 * @param barcode * @return */ @NoPlatform int countTimesByBarcode(String barcode); }