|
@@ -11,6 +11,7 @@ import com.jsh.erp.datasource.entities.*;
|
|
|
import com.jsh.erp.datasource.mappers.*;
|
|
|
import com.jsh.erp.datasource.pda.dto.PDAInventoryDTO;
|
|
|
import com.jsh.erp.datasource.pda.vo.PDADepotItemVO;
|
|
|
+import com.jsh.erp.datasource.vo.MaterialCurrentStock4SystemSku;
|
|
|
import com.jsh.erp.datasource.pda.vo.PDATypeTree;
|
|
|
import com.jsh.erp.datasource.vo.MaterialVoSearch;
|
|
|
import com.jsh.erp.datasource.vo.MaterialWarnListVo;
|
|
@@ -1640,9 +1641,16 @@ public class MaterialServiceImpl extends ServiceImpl<MaterialMapper, Material> i
|
|
|
if (CollectionUtil.isEmpty(systemSkuList)){
|
|
|
return null;
|
|
|
}
|
|
|
- String[] systemSkuArray = systemSkuList.toArray(new String[0]);
|
|
|
- List<MaterialVo4Unit> list = materialMapperEx.getMaterialBySystemSku(systemSkuArray);
|
|
|
- return list;
|
|
|
+ String[] systemSkuArray = systemSkuList.toArray(new String[systemSkuList.size()]);
|
|
|
+ return materialMapperEx.getMaterialBySystemSku(systemSkuArray);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<MaterialCurrentStock4SystemSku> getMaterialCurrentPriceByIdList(List<Long> idList) {
|
|
|
+ if (CollectionUtil.isEmpty(idList)) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+ return materialMapperEx.getMaterialCurrentPriceByIdList(idList);
|
|
|
}
|
|
|
|
|
|
/**
|