IErpSettlementService.java
1.3 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
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.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);
//供应商结算
List<ErpSettlementVO> supplierSettlement(String materialInIds);
// 根据入库单ids,获取【供应商】结算单详情
List<ErpSettlementItem> querySupplierSettlementByMaterialIds(String materialInIds);
//水厂结算
List<ErpSettlementVO> waterDepartSettlement(String materialInIds);
// 根据入库单ids,获取【水厂】结算单详情
List<ErpSettlementItem> queryWaterDepartSettlementByMaterialIds( String materialInIds);
}