Exemplo n.º 1
0
 /**
  * @author hanluoxing
  * @changelog 2011-11-14 下午02:10:56 hanluoxing 修改部分:->根据离线任务信息组装成入参vo
  * @param cvo
  * @return
  */
 public OutContAccVo buildOutContAccVo(CalUndrTaskVo cvo) {
   OutContAccVo vo = null;
   if (!Utils.isEmpty(cvo)) {
     // 构造基本信息
     String plyappno = cvo.getC_ply_app_no();
     String plyno = cvo.getC_ply_no();
     String edrappno = cvo.getC_edr_app_no();
     String edrno = cvo.getC_edr_no();
     PLY_INFO plyvo = buildPlyInfoVo(plyappno, plyno, edrappno, edrno);
     TASK_INFO taskvo = buildTaskInfo(cvo);
     List<PlyPayPlanInfoVo> planlist = buildPayPlanListVo(plyappno, plyno, edrappno, edrno);
     vo = initOutContAccVo(plyvo, taskvo, planlist);
   }
   return vo;
 }
Exemplo n.º 2
0
 /**
  * @author hanluoxing
  * @changelog hanluoxing 2011-12-2 下午01:55:11 ->构造离线任务信息
  * @param cvo
  * @return
  */
 private TASK_INFO buildTaskInfo(CalUndrTaskVo cvo) {
   TASK_INFO vo = null;
   if (!Utils.isEmpty(cvo)) {
     vo = new TASK_INFO();
     vo.setAPPLYNO(cvo.getC_edr_app_no());
     vo.setCHANGEDATETIME(cvo.getT_upd_tm());
     vo.setCHANGEUSERCODE(cvo.getC_crt_cde());
     vo.setCREATEDATETIME(cvo.getT_crt_tm());
     vo.setCREATEUSERCODE(cvo.getC_crt_cde());
     vo.setDEPTCODE(cvo.getC_dpt_cde());
     vo.setENDORSENO(cvo.getC_edr_no());
     vo.setId(cvo.getId());
     vo.setIFISSUED("0"); // 核保标记
     vo.setINSURANCEVALUE(cvo.getN_ri_amt());
     vo.setPOLICYNO(cvo.getC_ply_no());
     vo.setPREMIUM(cvo.getN_ri_prm());
     vo.setPROPOSALNO(cvo.getC_ply_app_no());
     vo.setTASKSTARTDATE(cvo.getT_task_start_tm());
   }
   return vo;
 }