Commit c2076f5e authored by wuzhilong's avatar wuzhilong

更新制证包上异常处理

parent 1a7568fe
...@@ -84,10 +84,17 @@ public class ImportXmlServiceImpl implements ImportXmlService { ...@@ -84,10 +84,17 @@ public class ImportXmlServiceImpl implements ImportXmlService {
writer.close(); writer.close();
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
return false;
} }
try {
preproPersonDto.setTpPath(url); preproPersonDto.setTpPath(url);
preproPersonMapper.savePreproPersonEntity(preproPersonDto); preproPersonMapper.savePreproPersonEntity(preproPersonDto);
// preproPersonMapper.savePreproPersonCLOB(preproPersonDto); // preproPersonMapper.savePreproPersonCLOB(preproPersonDto);
}catch (Exception e){
e.printStackTrace();
return false;
}
} }
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment