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