|
|
@@ -135,6 +135,9 @@ public class StorageDeviceGetController {
|
|
135
|
135
|
//根据设备编号获取入库表的该设备信息
|
|
136
|
136
|
modelMap.put("number", storageDeviceget.getNumber());
|
|
137
|
137
|
modelMap.put("model", storageDeviceget.getModel());
|
|
|
138
|
+ modelMap.put("deviceTypeId", storageDeviceget.getDeviceType());
|
|
|
139
|
+ modelMap.put("deviceName", storageDeviceget.getDeviceName());
|
|
|
140
|
+ modelMap.put("orgId", storageDeviceget.getOrgId());
|
|
138
|
141
|
List<StorageDeviceinput> inputList=deviceInputService.getUseCount(modelMap);
|
|
139
|
142
|
inputList.get(0).setStatus(4);//领用状态
|
|
140
|
143
|
inputList.get(0).setUseCount(inputList.get(0).getUseCount()-storageDeviceget.getGetCount());//数量减少
|