|
|
@@ -252,8 +252,14 @@ public class StorageDeviceGetController {
|
|
252
|
252
|
@ApiImplicitParams({
|
|
253
|
253
|
@ApiImplicitParam(name = "model", value = "规格型号", paramType = "query")
|
|
254
|
254
|
})
|
|
255
|
|
- public List<StorageDeviceinput> getNumberGetList(String model){
|
|
256
|
|
- List<StorageDeviceinput> getNumberList=deviceInputService.getNumberGetList(model);
|
|
|
255
|
+ public List<StorageDeviceinput> getNumberGetList(String deviceTypeId,String deviceName,String shelfId,String model,Integer orgId){
|
|
|
256
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
257
|
+ map.put("deviceName", deviceName);
|
|
|
258
|
+ map.put("deviceTypeId", deviceTypeId);
|
|
|
259
|
+ map.put("shelfId", shelfId);
|
|
|
260
|
+ map.put("model", model);
|
|
|
261
|
+ map.put("orgId", orgId);
|
|
|
262
|
+ List<StorageDeviceinput> getNumberList=deviceInputService.getNumberGetList(map);
|
|
257
|
263
|
return getNumberList;
|
|
258
|
264
|
}
|
|
259
|
265
|
|
|
|
@@ -266,10 +272,14 @@ public class StorageDeviceGetController {
|
|
266
|
272
|
@ApiImplicitParam(name = "model", value = "规格型号", paramType = "query"),
|
|
267
|
273
|
@ApiImplicitParam(name = "number", value = "编号", paramType = "query")
|
|
268
|
274
|
})
|
|
269
|
|
- public List<StorageDeviceinput> getUseCountGetList(String number,String model){
|
|
|
275
|
+ public List<StorageDeviceinput> getUseCountGetList(String deviceTypeId,String deviceName,String shelfId,String number,String model,Integer orgId){
|
|
270
|
276
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
277
|
+ map.put("deviceTypeId", deviceTypeId);
|
|
|
278
|
+ map.put("deviceName", deviceName);
|
|
|
279
|
+ map.put("shelfId", shelfId);
|
|
271
|
280
|
map.put("number", number);
|
|
272
|
281
|
map.put("model", model);
|
|
|
282
|
+ map.put("orgId", orgId);
|
|
273
|
283
|
List<StorageDeviceinput> getUseCountList=deviceInputService.getUseCount(map);
|
|
274
|
284
|
return getUseCountList;
|
|
275
|
285
|
}
|