@ -382,14 +382,13 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService
warehouseStorageOrderDetail . setWarehouseDeptType ( "0" ) ;
warehouseStorageOrderDetail . setWarehouseDeptType ( "0" ) ;
storageOrderDetailMapper . insertWarehouseStorageOrderDetail ( warehouseStorageOrderDetail ) ;
storageOrderDetailMapper . insertWarehouseStorageOrderDetail ( warehouseStorageOrderDetail ) ;
}
}
//入库代表为采购部分的入库单
warehouseStorageOrder . setWarehouseStorageCode ( warehouseStorageCode ) ;
warehouseStorageOrder . setWarehouseStorageCode ( warehouseStorageCode ) ;
warehouseStorageOrder . setRelatedOrderCode ( warehouseStorageOrder . getRelatedOrderCode ( ) ) ;
warehouseStorageOrder . setRelatedOrderCode ( warehouseStorageOrder . getRelatedOrderCode ( ) ) ;
warehouseStorageOrder . setWarehouseStorageStatus ( "0" ) ;
warehouseStorageOrder . setWarehouseStorageStatus ( "0" ) ;
warehouseStorageOrder . setWarehouseQualityStatus ( "0" ) ;
warehouseStorageOrder . setWarehouseQualityStatus ( "0" ) ;
warehouseStorageOrder . setWarehouseStorageType ( "0" ) ;
warehouseStorageOrder . setWarehouseStorageType ( "0" ) ;
warehouseStorageOrder . setWarehouseOrderType ( "0" ) ;
warehouseStorageOrder . setWarehouseOrderType ( "0" ) ;
warehouseStorageOrder . setWarehouseDeptType ( "1 " ) ;
warehouseStorageOrder . setWarehouseDeptType ( "0 " ) ;
warehouseStorageOrder . setCreateTime ( DateUtils . getNowDate ( ) ) ;
warehouseStorageOrder . setCreateTime ( DateUtils . getNowDate ( ) ) ;
warehouseStorageOrder . setCreateBy ( ShiroUtils . getLoginName ( ) ) ;
warehouseStorageOrder . setCreateBy ( ShiroUtils . getLoginName ( ) ) ;
result = warehouseStorageOrderMapper . insertWarehouseStorageOrder ( warehouseStorageOrder ) ;
result = warehouseStorageOrderMapper . insertWarehouseStorageOrder ( warehouseStorageOrder ) ;
@ -401,7 +400,7 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService
warehouseStorageOrderDetail . setWarehouseStorageCode ( warehouseStorageCode1 ) ;
warehouseStorageOrderDetail . setWarehouseStorageCode ( warehouseStorageCode1 ) ;
warehouseStorageOrderDetail . setWarehouseStorageType ( "0" ) ;
warehouseStorageOrderDetail . setWarehouseStorageType ( "0" ) ;
warehouseStorageOrderDetail . setMaterialDeptType ( "1" ) ;
warehouseStorageOrderDetail . setMaterialDeptType ( "1" ) ;
warehouseStorageOrderDetail . setWarehouseDeptType ( "0 " ) ;
warehouseStorageOrderDetail . setWarehouseDeptType ( "1 " ) ;
storageOrderDetailMapper . insertWarehouseStorageOrderDetail ( warehouseStorageOrderDetail ) ;
storageOrderDetailMapper . insertWarehouseStorageOrderDetail ( warehouseStorageOrderDetail ) ;
}
}
//入库代表为仓库部分的入库单
//入库代表为仓库部分的入库单
@ -415,7 +414,7 @@ public class PurchaseOrderServiceImpl implements IPurchaseOrderService
warehouseStorageOrder . setWarehouseQualityStatus ( "0" ) ;
warehouseStorageOrder . setWarehouseQualityStatus ( "0" ) ;
warehouseStorageOrder . setWarehouseStorageType ( "0" ) ;
warehouseStorageOrder . setWarehouseStorageType ( "0" ) ;
warehouseStorageOrder . setWarehouseOrderType ( "0" ) ;
warehouseStorageOrder . setWarehouseOrderType ( "0" ) ;
warehouseStorageOrder . setWarehouseDeptType ( "0 " ) ;
warehouseStorageOrder . setWarehouseDeptType ( "1 " ) ;
warehouseStorageOrder . setCreateTime ( DateUtils . getNowDate ( ) ) ;
warehouseStorageOrder . setCreateTime ( DateUtils . getNowDate ( ) ) ;
warehouseStorageOrder . setCreateBy ( ShiroUtils . getLoginName ( ) ) ;
warehouseStorageOrder . setCreateBy ( ShiroUtils . getLoginName ( ) ) ;
warehouseStorageOrder . setWarehouseStorageOrderDetailList ( list2 ) ;
warehouseStorageOrder . setWarehouseStorageOrderDetailList ( list2 ) ;