Commit ddeef687 by shiwenbo

修改库存查询接口问题

parent 770772bc
...@@ -79,6 +79,7 @@ public class InventoryServiceImpl implements InventoryService { ...@@ -79,6 +79,7 @@ public class InventoryServiceImpl implements InventoryService {
//未找到,则新增 //未找到,则新增
if(!findFlag) { if(!findFlag) {
KObject item = Amino.getApplicationMetadataContext().getBean(InventoryConstant.INVENTORY_ENTITY, KClass.class).newInstance(); KObject item = Amino.getApplicationMetadataContext().getBean(InventoryConstant.INVENTORY_ENTITY, KClass.class).newInstance();
item.set("id", UUID.randomUUID());
item.set("regionalCompany", dinasOrganizationService.load(regionalCompany)); item.set("regionalCompany", dinasOrganizationService.load(regionalCompany));
item.set("station", stationService.getById(stationId)); item.set("station", stationService.getById(stationId));
item.set("dinasType", dinasTypeService.getById(dinasTypeId)); item.set("dinasType", dinasTypeService.getById(dinasTypeId));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment