Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/mapper/OrderPileOccupyMapper.java

71 lines
1.6 KiB
Java
Raw Normal View History

2023-08-07 14:29:36 +08:00
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.OrderPileOccupy;
2023-08-07 16:53:42 +08:00
import com.jsowell.pile.dto.QueryOccupyOrderDTO;
2023-08-07 14:29:36 +08:00
import org.apache.ibatis.annotations.Param;
2023-08-07 14:35:13 +08:00
import java.util.List;
2023-08-07 14:29:36 +08:00
public interface OrderPileOccupyMapper {
/**
* delete by primary key
2023-08-07 14:35:13 +08:00
*
2023-08-07 14:29:36 +08:00
* @param id primaryKey
* @return deleteCount
*/
int deleteByPrimaryKey(Integer id);
/**
* insert record to table
2023-08-07 14:35:13 +08:00
*
2023-08-07 14:29:36 +08:00
* @param record the record
* @return insert count
*/
int insert(OrderPileOccupy record);
int insertOrUpdate(OrderPileOccupy record);
int insertOrUpdateSelective(OrderPileOccupy record);
/**
* insert record to table selective
2023-08-07 14:35:13 +08:00
*
2023-08-07 14:29:36 +08:00
* @param record the record
* @return insert count
*/
int insertSelective(OrderPileOccupy record);
/**
* select by primary key
2023-08-07 14:35:13 +08:00
*
2023-08-07 14:29:36 +08:00
* @param id primary key
* @return object by primary key
*/
OrderPileOccupy selectByPrimaryKey(Integer id);
/**
* update record selective
2023-08-07 14:35:13 +08:00
*
2023-08-07 14:29:36 +08:00
* @param record the updated record
* @return update count
*/
int updateByPrimaryKeySelective(OrderPileOccupy record);
/**
* update record
2023-08-07 14:35:13 +08:00
*
2023-08-07 14:29:36 +08:00
* @param record the updated record
* @return update count
*/
int updateByPrimaryKey(OrderPileOccupy record);
int updateBatch(List<OrderPileOccupy> list);
int updateBatchSelective(List<OrderPileOccupy> list);
int batchInsert(@Param("list") List<OrderPileOccupy> list);
2023-08-07 16:53:42 +08:00
OrderPileOccupy queryByOccupyCode(@Param("occupyCode") String occupyCode);
List<OrderPileOccupy> queryOccupyOrderList(@Param("dto") QueryOccupyOrderDTO dto);
2023-08-07 14:29:36 +08:00
}