IErpSettlementService.java
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package com.skua.modules.erp.service;
import com.skua.modules.erp.entity.ErpSettlement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.erp.entity.ErpSettlementItem;
import com.skua.modules.erp.vo.ErpSettlementFormVO;
import com.skua.modules.erp.vo.ErpSettlementItemVO;
import com.skua.modules.erp.vo.ErpSettlementVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 药剂结算单详情
*/
public interface IErpSettlementService extends IService<ErpSettlement> {
/**
* 新增结算单
* @param erpSettlementVO
*/
void saveSettlement(ErpSettlementVO erpSettlementVO);
/**
* 修改结算单
* @param erpSettlementVO
*/
boolean updateSettlement(ErpSettlementVO erpSettlementVO);
//根据编号查询结算单
ErpSettlementVO queryById(String id);
// 删除
void delById(String id);
// 根据入库单ids,获取【供应商】结算单详情
List<ErpSettlementItemVO> querySupplierSettlementByMaterialIds(String materialInIds);
// 根据入库单ids,获取【水厂】结算单详情
List<ErpSettlementItemVO> queryWaterDepartSettlementByMaterialIds( String materialInIds);
//供应商结算
List<ErpSettlementVO> supplierSettlement(String materialInIds);
//水厂结算
List<ErpSettlementVO> waterDepartSettlement(String materialInIds);
// (供应商)送货单以及物资验收单
// ErpSettlementFormVO querySupplierSettlementFormById(String id);
//(水厂) 送货单以及物资验收单
// ErpSettlementFormVO queryWaterDepartSettlementFormById(String id);
}