| | |
| | | import java.util.Date; |
| | | |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.crm.manager.service.CstmrService; |
| | | import com.zy.crm.manager.service.ItemService; |
| | | import com.zy.crm.manager.service.PlanService; |
| | | import com.zy.crm.system.entity.User; |
| | |
| | | private Long deptId; |
| | | |
| | | /** |
| | | * hostId |
| | | */ |
| | | @ApiModelProperty(value= "hostId") |
| | | @TableField("host_id") |
| | | private Long hostId; |
| | | |
| | | /** |
| | | * 审核进度 |
| | | */ |
| | | @ApiModelProperty(value= "审核进度") |
| | |
| | | @TableField("template") |
| | | private String template; |
| | | |
| | | @ApiModelProperty(value= "上级id") |
| | | @TableField("pri_quote_budget_id") |
| | | private Long priQuoteBudgetId; |
| | | |
| | | @ApiModelProperty(value= "上级id") |
| | | @TableField("pri_online_id") |
| | | private Long priOnlineId; |
| | | |
| | | public PriQuote() {} |
| | | |
| | | public PriQuote(String title,String sheetData,Date createTime,String filepath,Integer settle) { |
| | |
| | | this.settle = settle; |
| | | } |
| | | |
| | | public Long getCstmrId$(){ |
| | | PlanService planService = SpringUtils.getBean(PlanService.class); |
| | | Plan plan = planService.selectById(this.itemId); |
| | | CstmrService cstmrService = SpringUtils.getBean(CstmrService.class); |
| | | Cstmr cstmr = cstmrService.selectById(plan.getCstmrId()); |
| | | if (!Cools.isEmpty(cstmr)){ |
| | | return cstmr.getId(); |
| | | } |
| | | return 0L; |
| | | } |
| | | |
| | | public String getSettle$(){ |
| | | if (null == this.settle){ return null; } |
| | | switch (this.settle){ |