/** * Description:根据条件查询索赔列表<br> * * @author zouming * @version 0.1 2013-3-4下午2:35:52 * @return String * @update 2013-3-4下午2:35:52 */ @JSON public String searchClaimByCondition() { claimCondition.setStart(start); claimCondition.setLimit(limit); User user = (User) UserContext.getCurrentUser(); Map<String, Object> map = claimManager.searchClaimsByCondition(claimCondition, user); claimList = (List<Claim>) map.get("claimList"); totalCount = Long.valueOf(map.get("count").toString()); return SUCCESS; }
public String acceptClaim() { User user = (User) UserContext.getCurrentUser(); claim = claimManager.acceptClaim(claim, user); return SUCCESS; }
public String addFollowClaimMessage() { User user = (User) UserContext.getCurrentUser(); claimManager.addFollowClaimMessage(claimMessage, user); return SUCCESS; }
public String sendToAnotherDept() { User user = (User) UserContext.getCurrentUser(); claimManager.sendToAnotherDept(claimId, reason, user); return SUCCESS; }
public String searchClaimMessageListByClaimId() { claimMessageList = claimManager.getClaimMessageListByClaimId(claimId); return SUCCESS; }
public String searchOperationLogListByClaimId() { claimOperationLogList = claimManager.getOperationLogListByClaimId(claimId); return SUCCESS; }
public String cancelRemitClaim() { User user = (User) UserContext.getCurrentUser(); claimManager.cancelRemitClaim(claimId, user); return SUCCESS; }
public String remitClaimByClaimId() { User user = (User) UserContext.getCurrentUser(); claimManager.remitClaimByClaimId(claimId, user); return SUCCESS; }
/** * Description:获取运单信息<br> * * @author zouming * @version 0.1 2013-3-8下午3:50:12 * @return String * @update 2013-3-8下午3:50:12 */ @JSON public String searchWayBillAndType() { User user = (User) UserContext.getCurrentUser(); claim = claimManager.getWayBillAndType(voucherNo, recompenseMethod, user); return SUCCESS; }
/** * Description:根据索赔ID查询索赔信息<br> * * @author zouming * @version 0.1 2013-3-4下午3:06:57 * @return String * @update 2013-3-4下午3:06:57 */ @JSON public String searchClaimById() { claim = claimManager.getClaimById(claimId); return SUCCESS; }
/** * Description:保存索赔<br> * * @author zouming * @version 0.1 2013-3-4下午3:15:03 * @return String * @update 2013-3-4下午3:15:03 */ @JSON public String saveClaim() { User user = (User) UserContext.getCurrentUser(); claimManager.saveClaim(claim, user); return SUCCESS; }