| | |
| | | |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.crm.manager.service.ItemService; |
| | | import com.zy.crm.manager.service.OrderService; |
| | | import com.zy.crm.manager.service.PlanService; |
| | | import com.zy.crm.system.entity.User; |
| | | import com.zy.crm.system.service.UserService; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | @TableField("user_id") |
| | | private Long userId; |
| | | |
| | | @ApiModelProperty(value= "创建人员用户部门") |
| | | @TableField("dept_id") |
| | | private Long deptId; |
| | | |
| | | @ApiModelProperty(value= "状态{0:未完成,1:已完成}") |
| | | @TableField("status") |
| | | private Integer status; |
| | |
| | | @ApiModelProperty(value= "业务员") |
| | | @TableField("member_id") |
| | | private Long memberId; |
| | | |
| | | @ApiModelProperty(value= "上传报价excel数据的原始文件地址") |
| | | @TableField("check_data_file") |
| | | private String checkDataFile; |
| | | |
| | | public PriOnline() {} |
| | | |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); |
| | | } |
| | | |
| | | public String getItemId$() { |
| | | ItemService itemService = SpringUtils.getBean(ItemService.class); |
| | | Item item = itemService.selectById(this.itemId); |
| | | if (!Cools.isEmpty(item)){ |
| | | return String.valueOf(item.getName()); |
| | | // public String getItemId$() { |
| | | // ItemService itemService = SpringUtils.getBean(ItemService.class); |
| | | // Item item = itemService.selectById(this.itemId); |
| | | // if (!Cools.isEmpty(item)){ |
| | | // return String.valueOf(item.getName()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | |
| | | public String getPlanId$() { |
| | | PlanService planService = SpringUtils.getBean(PlanService.class); |
| | | Plan plan = planService.selectById(this.itemId); |
| | | if (!Cools.isEmpty(plan)){ |
| | | return String.valueOf(plan.getUuid()); |
| | | } |
| | | return null; |
| | | } |