|
|
@ -40,6 +40,7 @@ public class TripBillApprovalServiceImpl extends RequirementBaseServiceImpl<Trip
|
|
|
|
TripBillApproval approval = new TripBillApproval();
|
|
|
|
TripBillApproval approval = new TripBillApproval();
|
|
|
|
approval.setCentre(bill.getRequirement().getCentre());
|
|
|
|
approval.setCentre(bill.getRequirement().getCentre());
|
|
|
|
approval.setWorkgroup(bill.getRequirement().getWorkgroup());
|
|
|
|
approval.setWorkgroup(bill.getRequirement().getWorkgroup());
|
|
|
|
|
|
|
|
approval.setSeason(bill.getSeason());
|
|
|
|
approval.setReqDate(new Date());
|
|
|
|
approval.setReqDate(new Date());
|
|
|
|
approval.setType(reqTypeService.getTypeById(Constants.REQTYPE_BUSINESSTRIP));
|
|
|
|
approval.setType(reqTypeService.getTypeById(Constants.REQTYPE_BUSINESSTRIP));
|
|
|
|
approval.setState(RequirementState.NEW);
|
|
|
|
approval.setState(RequirementState.NEW);
|
|
|
|