|
@@ -13,6 +13,7 @@ import com.platform.dao.bean.MyVOPage;
|
|
|
import com.platform.dao.dto.longyanpurchaseorder.LongYanPurchaseDetailDTO;
|
|
|
import com.platform.dao.dto.longyanpurchaseorder.LongYanPurchaseOrderDTO;
|
|
|
import com.platform.dao.dto.spareAdd.Inventory;
|
|
|
+import com.platform.dao.dto.spareAdd.InventoryTest;
|
|
|
import com.platform.dao.dto.sqarepartmanage.SparePartInfoDTO;
|
|
|
import com.platform.dao.dto.store.SpareStoreDTO;
|
|
|
import com.platform.dao.entity.longyanpurchaseorder.LongYanPurchaseOrder;
|
|
@@ -499,7 +500,12 @@ public class YongyouServiceImpl implements YongyouService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public String addSpare(Inventory Inventory, Integer tokenType) {
|
|
|
+ public String addSpare(InventoryTest inventoryTest, Integer tokenType) {
|
|
|
+ Inventory Inventory = new Inventory();
|
|
|
+ Inventory.setCInvCCode(inventoryTest.getCestInvCode());
|
|
|
+ Inventory.setCCAComUnitCode(inventoryTest.getCestComUnitCode());
|
|
|
+ Inventory.setCInvName(inventoryTest.getCestInvName());
|
|
|
+ Inventory.setCInvStd(inventoryTest.getCestInvStd());
|
|
|
AddSpareRequest request = new AddSpareRequest();
|
|
|
UserInfo userInfo = SecurityUtils.getUserInfo();
|
|
|
Inventory.setDInvCreateDatetime(DateUtils.dateToString(LocalDateTime.now()));
|