| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- package cn.com.lzt.orders.service;
- import java.util.HashMap;
- import java.util.List;
- import org.jeecgframework.core.common.service.CommonService;
- import cn.com.lzt.orderproducts.entity.OrderProductsEntity;
- import cn.com.lzt.orders.entity.OrdersEntity;
- public interface OrdersServiceI extends CommonService{
-
- public <T> void delete(T entity);
- /**
- * 添加一对多
- *
- */
- public void addMain(OrdersEntity orders,
- List<OrderProductsEntity> orderProductsList) ;
- /**
- * 修改一对多
- *
- */
- public void updateMain(OrdersEntity orders,
- List<OrderProductsEntity> orderProductsList);
- public void delMain (OrdersEntity orders);
-
- /**
- * 默认按钮-sql增强-新增操作
- * @param id
- * @return
- */
- public boolean doAddSql(OrdersEntity t);
- /**
- * 默认按钮-sql增强-更新操作
- * @param id
- * @return
- */
- public boolean doUpdateSql(OrdersEntity t);
- /**
- * 默认按钮-sql增强-删除操作
- * @param id
- * @return
- */
- public boolean doDelSql(OrdersEntity t);
- /**
- * 为申购单审批查询现存量及前两个月的出库数量(采购数量)
- * PS:后续版本出库数量需要考虑出库单数量的统计
- * */
- public HashMap<String,HashMap<String,Double>> queryGoodsOnhandDataForOrderAudit(String busiDate ,String warehouseID,List<OrderProductsEntity> details);
- /*
- * 旧算发,为新旧系统并行而准备的接口
- * */
- public HashMap<String,HashMap<String,Double>> queryGoodsOnhandDataForOrderAudit_Old(String busiDate ,String warehouseID,List<OrderProductsEntity> details);
- }
|