给销售采购统计增加机构id参数
This commit is contained in:
@@ -703,11 +703,14 @@ public class DepotHeadService {
|
||||
|
||||
public List<DepotHeadVo4InOutMCount> findInOutMaterialCount(String beginTime, String endTime, String type,
|
||||
Boolean forceFlag, Boolean inOutManageFlag, String materialParam,
|
||||
List<Long> depotList, Integer oId, String column, String order,
|
||||
List<Long> depotList, Long organizationId, Integer oId, String column, String order,
|
||||
Integer offset, Integer rows)throws Exception {
|
||||
List<DepotHeadVo4InOutMCount> list = null;
|
||||
try{
|
||||
String [] creatorArray = getCreatorArray();
|
||||
if(creatorArray == null && organizationId != null) {
|
||||
creatorArray = getCreatorArrayByOrg(organizationId);
|
||||
}
|
||||
String subType = "出库".equals(type)? "销售" : "";
|
||||
String [] organArray = getOrganArray(subType, "");
|
||||
list =depotHeadMapperEx.findInOutMaterialCount(beginTime, endTime, type, forceFlag, inOutManageFlag, materialParam, depotList, oId,
|
||||
@@ -720,10 +723,13 @@ public class DepotHeadService {
|
||||
|
||||
public int findInOutMaterialCountTotal(String beginTime, String endTime, String type,
|
||||
Boolean forceFlag, Boolean inOutManageFlag, String materialParam,
|
||||
List<Long> depotList, Integer oId)throws Exception {
|
||||
List<Long> depotList, Long organizationId, Integer oId)throws Exception {
|
||||
int result = 0;
|
||||
try{
|
||||
String [] creatorArray = getCreatorArray();
|
||||
if(creatorArray == null && organizationId != null) {
|
||||
creatorArray = getCreatorArrayByOrg(organizationId);
|
||||
}
|
||||
String subType = "出库".equals(type)? "销售" : "";
|
||||
String [] organArray = getOrganArray(subType, "");
|
||||
result =depotHeadMapperEx.findInOutMaterialCountTotal(beginTime, endTime, type, forceFlag, inOutManageFlag, materialParam, depotList, oId,
|
||||
|
||||
Reference in New Issue
Block a user