|
@@ -342,13 +342,13 @@ public class MachineManageAction implements IMINAction {
|
|
|
FileItem fileItemb = createFileItem(file ,"itemFileName");
|
|
|
Map<String, Object> mapb = null;
|
|
|
if("00".equals(ambient)){//测试
|
|
|
- map =Service.lookup(IPublicService.class).uploadFile(fileItemb, "00", 0, true,"V01");
|
|
|
+ mapb =Service.lookup(IPublicService.class).uploadFile(fileItemb, "00", 0, true,"V01");
|
|
|
}
|
|
|
if("01".equals(ambient)){//生产
|
|
|
- map =Service.lookup(IPublicService.class).uploadFileBD(fileItemb, "00", 0, true,"V01");
|
|
|
+ mapb =Service.lookup(IPublicService.class).uploadFileBD(fileItemb, "00", 0, true,"V01");
|
|
|
}
|
|
|
//String url = UpLoadFile.uploadImg(inputSteam,"jpg",channel,"00");
|
|
|
- url = String.valueOf(map.get("url"));
|
|
|
+ url = String.valueOf(mapb.get("url"));
|
|
|
|
|
|
//url = UpLoadFile.uploadImg(inputSteams,"jpg",channel,"00");
|
|
|
|