/** * 确认流失,更改状态 * * @return */ public String doLst() { cstLost = this.lostBiz.loadCstLost(id); cstLost.setLstStatus("3"); cstLost.setLstLostDate(new Date()); this.lostBiz.updateCstLost(cstLost); return "to_list"; }
/** * 追加暂缓措施 * * @return * @throws Exception */ public String doRelay() throws Exception { String delay = request.getParameter("lstDelay"); cstLost = this.lostBiz.loadCstLost(cstLost.getLstId()); cstLost.setLstDelay(cstLost.getLstDelay() + "<br/>" + delay); this.lostBiz.updateCstLost(cstLost); return "to_list"; }
/** * 流失原因 * * @return * @throws Exception */ public String doConfirm() throws Exception { CstLost lost = this.lostBiz.loadCstLost(cstLost.getLstId()); lost.setLstReason(cstLost.getLstReason()); this.lostBiz.updateCstLost(lost); return "to_list"; }