2024-06-20 14:34:35 +08:00
|
|
|
package com.jsowell.pile.mapper;
|
|
|
|
|
|
|
|
|
|
import com.jsowell.pile.domain.PileReservationInfo;
|
2024-08-12 13:28:32 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
2024-06-20 14:34:35 +08:00
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public interface PileReservationInfoMapper {
|
|
|
|
|
int deleteByPrimaryKey(Integer id);
|
|
|
|
|
|
|
|
|
|
int insert(PileReservationInfo record);
|
|
|
|
|
|
|
|
|
|
int insertOrUpdate(PileReservationInfo record);
|
|
|
|
|
|
|
|
|
|
int insertOrUpdateSelective(PileReservationInfo record);
|
|
|
|
|
|
|
|
|
|
int insertSelective(PileReservationInfo record);
|
|
|
|
|
|
|
|
|
|
PileReservationInfo selectByPrimaryKey(Integer id);
|
|
|
|
|
|
|
|
|
|
int updateByPrimaryKeySelective(PileReservationInfo record);
|
|
|
|
|
|
|
|
|
|
int updateByPrimaryKey(PileReservationInfo record);
|
|
|
|
|
|
|
|
|
|
int updateBatch(List<PileReservationInfo> list);
|
|
|
|
|
|
|
|
|
|
int updateBatchSelective(List<PileReservationInfo> list);
|
|
|
|
|
|
|
|
|
|
int batchInsert(@Param("list") List<PileReservationInfo> list);
|
|
|
|
|
|
|
|
|
|
List<PileReservationInfo> findByMemberIdAndPileSnAndStatus(@Param("memberId") String memberId, @Param("pileSn") String pileSn, @Param("status") String status);
|
|
|
|
|
|
|
|
|
|
List<PileReservationInfo> findByMemberIdAndPileSn(@Param("memberId") String memberId, @Param("pileSn") String pileSn);
|
2024-06-20 16:36:25 +08:00
|
|
|
|
|
|
|
|
PileReservationInfo selectActiveReservationByPileConnectorCode(String pileConnectorCode);
|
2024-07-26 09:52:03 +08:00
|
|
|
|
|
|
|
|
PileReservationInfo selectByPileConnectorCode(String pileConnectorCode);
|
2024-08-12 13:28:32 +08:00
|
|
|
|
|
|
|
|
PileReservationInfo selectByPileSn(String pileSn);
|
2024-06-20 14:34:35 +08:00
|
|
|
}
|