1.补全单据类型缺失字段,调整异常处理代码

master
x_z 2 years ago
parent bc15c42c82
commit c7d891154f

@ -161,7 +161,7 @@ public class BasicBussinessTypeController {
} }
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); log.error("导入单据类型异常", e);
return ResultVOUtils.error(500, "文件格式错误!"); return ResultVOUtils.error(500, "文件格式错误!");
} }
} }

@ -117,4 +117,9 @@ public class BasicBussinessTypeResponse {
*/ */
private boolean secCheckSp; private boolean secCheckSp;
/**
*
*/
private String originAction;
} }

@ -93,6 +93,7 @@ public class BasicBussinessTypeServiceImpl implements IBasicBussinessTypeService
@Override @Override
public boolean insertIgnoreBussinessType(BasicBussinessTypeEntity bussinessTypeEntity) { public boolean insertIgnoreBussinessType(BasicBussinessTypeEntity bussinessTypeEntity) {
setUpdateInfo(bussinessTypeEntity);
return basicBussinessTypeDao.insertIgnoreBussinessType(bussinessTypeEntity); return basicBussinessTypeDao.insertIgnoreBussinessType(bussinessTypeEntity);
} }

Loading…
Cancel
Save