package jnpf.service;
|
|
import jnpf.base.service.SuperService;
|
import jnpf.entity.SalesOrderEntity;
|
import jnpf.entity.SalesOrderEntryEntity;
|
import jnpf.exception.WorkFlowException;
|
import jnpf.model.salesorder.SalesOrderForm;
|
|
import java.util.List;
|
|
/**
|
* 销售订单
|
*
|
* @author JNPF开发平台组
|
* @version V3.1.0
|
* @copyright 引迈信息技术有限公司
|
* @date 2019年9月29日 上午9:18
|
*/
|
public interface SalesOrderService extends SuperService<SalesOrderEntity> {
|
|
/**
|
* 列表
|
*
|
* @param id 主键值
|
* @return
|
*/
|
List<SalesOrderEntryEntity> getSalesEntryList(String id);
|
|
/**
|
* 信息
|
*
|
* @param id 主键值
|
* @return
|
*/
|
SalesOrderEntity getInfo(String id);
|
|
/**
|
* 保存
|
*
|
* @param id 主键值
|
* @param entity 实体对象
|
* @param salesOrderEntryEntityList 子表
|
* @throws WorkFlowException 异常
|
*/
|
void save(String id, SalesOrderEntity entity, List<SalesOrderEntryEntity> salesOrderEntryEntityList, SalesOrderForm form);
|
|
/**
|
* 提交
|
*
|
* @param id 主键值
|
* @param entity 实体对象
|
* @param salesOrderEntryEntityList 子表
|
* @throws WorkFlowException 异常
|
*/
|
void submit(String id, SalesOrderEntity entity, List<SalesOrderEntryEntity> salesOrderEntryEntityList, SalesOrderForm form);
|
|
/**
|
* 更改数据
|
*
|
* @param id 主键值
|
* @param data 实体对象
|
*/
|
void data(String id, String data);
|
|
/**
|
* 删除
|
*
|
* @param entity 实体
|
*/
|
void delete(SalesOrderEntity entity);
|
}
|