public String save() { textbookBiz.setToFzx(getCurrentFzxDto()); try { textbookBizService.save(textbookBiz); optSuccess(); } catch (Exception e) { e.printStackTrace(); optFailure(); } return SUCCESS; }
/** * 分中心确认入库 * * @return */ public String instock() { textbookBiz.setUpdateUser(getCurrentRyxx()); try { textbookBiz.setToFzx(getCurrentFzxDto()); textbookBizService.instock(textbookBiz); optSuccess(); } catch (Exception e) { e.printStackTrace(); optFailure(); } return SUCCESS; }