| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- package cn.com.lzt.ordersfixasset.service;
- import java.math.BigDecimal;
- import java.util.HashMap;
- import java.util.List;
- import cn.com.lzt.ordersfixasset.entity.OrderFixAssetProductsEntity;
- import cn.com.lzt.ordersfixasset.entity.OrdersFixAssetEntity;
- import org.jeecgframework.core.common.service.CommonService;
- import org.jeecgframework.core.constant.Globals;
- public interface OrdersFixAssetServiceI extends CommonService{
-
- public <T> void delete(T entity);
- /**
- * 添加一对多
- *
- */
- public void addMain(OrdersFixAssetEntity orders,
- List<OrderFixAssetProductsEntity> orderProductsList) ;
- /**
- * 修改一对多
- *
- */
- public void updateMain(OrdersFixAssetEntity orders,
- List<OrderFixAssetProductsEntity> orderProductsList);
- public void delMain(OrdersFixAssetEntity orders);
-
- /**
- * 默认按钮-sql增强-新增操作
- * @return
- */
- public boolean doAddSql(OrdersFixAssetEntity t);
- /**
- * 默认按钮-sql增强-更新操作
- * @return
- */
- public boolean doUpdateSql(OrdersFixAssetEntity t);
- /**
- * 默认按钮-sql增强-删除操作
- * @return
- */
- public boolean doDelSql(OrdersFixAssetEntity t);
- /**
- * 为申购单审批查询现存量及前两个月的出库数量(采购数量)
- * PS:后续版本出库数量需要考虑出库单数量的统计
- * */
- public HashMap<String,HashMap<String,Double>> queryGoodsOnhandDataForOrderAudit(String busiDate, String warehouseID, List<OrderFixAssetProductsEntity> details);
- /*
- * 旧算发,为新旧系统并行而准备的接口
- * */
- public HashMap<String,HashMap<String,Double>> queryGoodsOnhandDataForOrderAudit_Old(String busiDate, String warehouseID, List<OrderFixAssetProductsEntity> details);
- void processEnd(String id);
- /**
- *
- * @param requestId 申请单id
- * @param payType 报销类型
- * @param payId 报销id
- * @param actualMoney 实际金额
- */
- void requestPay(String requestId, Globals.CostPayType payType, String payId, BigDecimal actualMoney);
- //审批后拒绝审批用
- void unPay(String requestId, Globals.CostPayType payType);
- }
|