Example #1
0
 /**
  * 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;
 }
Example #2
0
 public String acceptClaim() {
   User user = (User) UserContext.getCurrentUser();
   claim = claimManager.acceptClaim(claim, user);
   return SUCCESS;
 }
Example #3
0
 public String addFollowClaimMessage() {
   User user = (User) UserContext.getCurrentUser();
   claimManager.addFollowClaimMessage(claimMessage, user);
   return SUCCESS;
 }
Example #4
0
 public String sendToAnotherDept() {
   User user = (User) UserContext.getCurrentUser();
   claimManager.sendToAnotherDept(claimId, reason, user);
   return SUCCESS;
 }
Example #5
0
 public String searchClaimMessageListByClaimId() {
   claimMessageList = claimManager.getClaimMessageListByClaimId(claimId);
   return SUCCESS;
 }
Example #6
0
 public String searchOperationLogListByClaimId() {
   claimOperationLogList = claimManager.getOperationLogListByClaimId(claimId);
   return SUCCESS;
 }
Example #7
0
 public String cancelRemitClaim() {
   User user = (User) UserContext.getCurrentUser();
   claimManager.cancelRemitClaim(claimId, user);
   return SUCCESS;
 }
Example #8
0
 public String remitClaimByClaimId() {
   User user = (User) UserContext.getCurrentUser();
   claimManager.remitClaimByClaimId(claimId, user);
   return SUCCESS;
 }
Example #9
0
 /**
  * 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;
 }
Example #10
0
 /**
  * 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;
 }
Example #11
0
 /**
  * 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;
 }