package com.ld.igds.inout.service;
|
|
import com.ld.igds.inout.dto.InoutRecordItemData;
|
import com.ld.igds.inout.dto.InoutRecordItemParam;
|
import java.util.List;
|
|
/**
|
* @author
|
*/
|
public interface InoutRecordItemService {
|
|
/**
|
* 获取流程未完成的流水数据
|
*
|
* @param param
|
* @return
|
*/
|
List<InoutRecordItemData> listInoutItem(InoutRecordItemParam param);
|
|
/**
|
* 获取流程未完成的流水数据
|
*
|
* @param param
|
* @return
|
*/
|
InoutRecordItemData getInoutItemByCarNum(InoutRecordItemParam param);
|
|
/**
|
* 车辆登记
|
* @param data
|
*/
|
String insertInoutItem(InoutRecordItemData data);
|
|
/**
|
* 更新流水子表信息
|
* @param data
|
* @return
|
*/
|
String updateInoutItem(InoutRecordItemData data);
|
|
/**
|
* 获取轮船类型的流水信息
|
* @param param
|
* @return
|
*/
|
List<InoutRecordItemData> shipInoutRecord(InoutRecordItemParam param);
|
|
/**
|
* 根据流水id统计重量
|
* @param param
|
* @return
|
*/
|
List<InoutRecordItemData> sumInoutItem(InoutRecordItemParam param);
|
|
|
/**
|
* 根据recordId统计重量并更新到流水中
|
* @param recordId
|
* @return
|
*/
|
int updateNumByInoutItem(String recordId);
|
|
/**
|
* 更新流水子表中的recordId
|
* @param recordId
|
* @return
|
*/
|
int updateInoutItemRecordId(String recordId, String oldRecordId, String depotId);
|
|
|
|
/**
|
* 根据流水子表id删除子表信息
|
* @param id
|
* @return
|
*/
|
int delShipItem(String id, String recordStatus);
|
|
}
|