|
|
@@ -368,14 +368,14 @@ public class MESDataServiceImpl implements MESDataService {
|
|
|
|
|
|
@Override
|
|
|
@Transactional
|
|
|
- public int saveFilePath(String accessKey, String requestId,String path, int size, String filename,String data) throws Exception {
|
|
|
+ public int saveFilePath(String accessKey, String requestId,String path, int size, String filename,String data) {
|
|
|
String AE_MASTER = checkAccessKey(accessKey, requestId);
|
|
|
SpObserver.putSp(AE_MASTER);
|
|
|
Map<Object, Object> map = BaseUtil.parseFormStoreToMap(data);
|
|
|
String result = StringUtil.nvl(map.get("result"), "");
|
|
|
- if ("".equals(result)){
|
|
|
+ /*if ("".equals(result)){
|
|
|
throw new Exception("返回结果不能为空!");
|
|
|
- }
|
|
|
+ }*/
|
|
|
int id = baseDao.getSeqId("filepath_seq");
|
|
|
/**
|
|
|
* 文件名含单引号无法下载*/
|