| | |
| | | @TableField("sheet_data") |
| | | private String sheetData; |
| | | |
| | | /** |
| | | * excel表标题 |
| | | */ |
| | | @ApiModelProperty(value= "excel表标题") |
| | | @TableField("sales_title") |
| | | private String salesTitle; |
| | | |
| | | /** |
| | | * excel表数据 |
| | | */ |
| | | @ApiModelProperty(value= "excel表数据") |
| | | @TableField("sales_sheet_data") |
| | | private String salesSheetData; |
| | | |
| | | @ApiModelProperty(value= "文件保存地址") |
| | | private String filepath; |
| | | |
| | |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | | @ApiModelProperty(value= "项目id{man_item}") |
| | | @ApiModelProperty(value= "规划单ID plan_id") |
| | | @TableField("item_id") |
| | | private Long itemId; |
| | | |
| | |
| | | @ApiModelProperty(value= "业务员") |
| | | @TableField("member_id") |
| | | private Long memberId; |
| | | |
| | | @ApiModelProperty(value= "规划单ID") |
| | | @TableField("plan_id") |
| | | private Long planId; |
| | | |
| | | @ApiModelProperty(value= "上传报价excel数据的原始文件地址") |
| | | @TableField("check_data_file") |
| | |
| | | // } |
| | | |
| | | public Long getCstmrId$(){ |
| | | PlanService planService = SpringUtils.getBean(PlanService.class); |
| | | Plan plan = planService.selectById(this.itemId); |
| | | CstmrService cstmrService = SpringUtils.getBean(CstmrService.class); |
| | | Cstmr cstmr = cstmrService.selectByName(1L, this.templateName); |
| | | Cstmr cstmr = cstmrService.selectById(plan.getCstmrId()); |
| | | if (!Cools.isEmpty(cstmr)){ |
| | | return cstmr.getId(); |
| | | } |