优化对账单接口,扣除退货单的欠款金额
This commit is contained in:
@@ -603,10 +603,10 @@ public class DepotHeadService {
|
||||
}
|
||||
|
||||
public List<DepotHeadVo4StatementAccount> getStatementAccount(String beginTime, String endTime, Integer organId, String [] organArray,
|
||||
String supplierType, String type, String subType, Integer offset, Integer rows) {
|
||||
String supplierType, String type, String subType, String typeBack, String subTypeBack, Integer offset, Integer rows) {
|
||||
List<DepotHeadVo4StatementAccount> list = null;
|
||||
try{
|
||||
list = depotHeadMapperEx.getStatementAccount(beginTime, endTime, organId, organArray, supplierType, type, subType, offset, rows);
|
||||
list = depotHeadMapperEx.getStatementAccount(beginTime, endTime, organId, organArray, supplierType, type, subType,typeBack, subTypeBack, offset, rows);
|
||||
} catch(Exception e){
|
||||
JshException.readFail(logger, e);
|
||||
}
|
||||
@@ -614,10 +614,10 @@ public class DepotHeadService {
|
||||
}
|
||||
|
||||
public int getStatementAccountCount(String beginTime, String endTime, Integer organId,
|
||||
String [] organArray, String supplierType, String type, String subType) {
|
||||
String [] organArray, String supplierType, String type, String subType, String typeBack, String subTypeBack) {
|
||||
int result = 0;
|
||||
try{
|
||||
result = depotHeadMapperEx.getStatementAccountCount(beginTime, endTime, organId, organArray, supplierType, type, subType);
|
||||
result = depotHeadMapperEx.getStatementAccountCount(beginTime, endTime, organId, organArray, supplierType, type, subType,typeBack, subTypeBack);
|
||||
} catch(Exception e){
|
||||
JshException.readFail(logger, e);
|
||||
}
|
||||
@@ -626,10 +626,10 @@ public class DepotHeadService {
|
||||
|
||||
public List<DepotHeadVo4StatementAccount> getStatementAccountTotalPay(String beginTime, String endTime, Integer organId,
|
||||
String [] organArray, String supplierType,
|
||||
String type, String subType) {
|
||||
String type, String subType, String typeBack, String subTypeBack) {
|
||||
List<DepotHeadVo4StatementAccount> list = null;
|
||||
try{
|
||||
list = depotHeadMapperEx.getStatementAccountTotalPay(beginTime, endTime, organId, organArray, supplierType, type, subType);
|
||||
list = depotHeadMapperEx.getStatementAccountTotalPay(beginTime, endTime, organId, organArray, supplierType, type, subType,typeBack, subTypeBack);
|
||||
} catch(Exception e){
|
||||
JshException.readFail(logger, e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user