package com.ld.igds.inout.mapper;
|
|
import com.ld.igds.inout.dto.InoutRecordItemData;
|
import com.ld.igds.inout.dto.InoutRecordItemParam;
|
import org.apache.ibatis.annotations.Param;
|
import java.util.List;
|
|
|
/**
|
* @author
|
*/
|
public interface InoutRecordItemMapper {
|
|
/**
|
* 获取流水子表信息
|
* @param param
|
* @return
|
*/
|
List<InoutRecordItemData> listInoutItem(@Param("param") InoutRecordItemParam param);
|
|
|
/**
|
* 获取流水子表信息
|
* @param param
|
* @return
|
*/
|
InoutRecordItemData getInoutItemByCarNum(@Param("param") InoutRecordItemParam param);
|
|
/**
|
* 新增流水子表信息
|
* @param data
|
*/
|
void insertInoutItem(@Param("data") InoutRecordItemData data);
|
|
/**
|
* 更新流水子表信息
|
* @param data
|
* @return
|
*/
|
int updateInoutItem(@Param("data") InoutRecordItemData data);
|
|
/**
|
* 获取轮船类型的流水信息
|
* @param param
|
* @return
|
*/
|
List<InoutRecordItemData> shipInoutRecord(@Param("param") InoutRecordItemParam param);
|
|
/**
|
* 根据流水id统计重量
|
* @param param
|
* @return
|
*/
|
List<InoutRecordItemData> sumInoutItem(@Param("param") InoutRecordItemParam param);
|
|
/**
|
* 根据流水id统计重量
|
* @param recordId
|
* @return
|
*/
|
int updateNumByInoutItem(@Param("recordId") String recordId);
|
|
/**
|
* 更新流水子表中的recordId
|
* @param recordId
|
* @return
|
*/
|
int updateInoutItemRecordId(@Param("recordId") String recordId,
|
@Param("oldRecordId") String oldRecordId,
|
@Param("depotId") String depotId);
|
|
/**
|
* 根据流水子表id删除子表信息
|
* @param id
|
* @return
|
*/
|
int delShipItem(@Param("id") String id,
|
@Param("recordStatus") String recordStatus);
|
|
}
|