| | |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.crm.manager.service.CstmrService; |
| | | import com.zy.crm.manager.service.OrderService; |
| | | import com.zy.crm.manager.service.PlanNeedService; |
| | | import com.zy.crm.manager.service.PlanTypeService; |
| | | import com.zy.crm.system.entity.Dept; |
| | |
| | | */ |
| | | @ApiModelProperty(value= "申请日期") |
| | | @TableField("apple_time") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | private Date appleTime; |
| | | |
| | | /** |
| | |
| | | private Integer beItem; |
| | | |
| | | /** |
| | | * 表单内容 |
| | | */ |
| | | @ApiModelProperty(value= "表单内容") |
| | | private String form; |
| | | |
| | | /** |
| | | * 规划员 |
| | | */ |
| | | @ApiModelProperty(value= "规划员") |
| | |
| | | */ |
| | | @ApiModelProperty(value= "完成时间") |
| | | @TableField("finish_time") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | private Date finishTime; |
| | | |
| | | /** |
| | | * 表单内容 |
| | | */ |
| | | @ApiModelProperty(value= "表单内容") |
| | | private String form; |
| | | |
| | | /** |
| | | * 更改方案 1: 是 0: 否 |
| | |
| | | } |
| | | |
| | | public String getOrderId$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.selectById(this.orderId); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getNickname()); |
| | | OrderService service = SpringUtils.getBean(OrderService.class); |
| | | Order order = service.selectById(this.orderId); |
| | | if (!Cools.isEmpty(order)){ |
| | | return String.valueOf(order.getName()); |
| | | } |
| | | return null; |
| | | } |
| | |
| | | if (Cools.isEmpty(this.appleTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appleTime); |
| | | return new SimpleDateFormat("yyyy-MM-dd").format(this.appleTime); |
| | | } |
| | | |
| | | public String getPlanNeed$(){ |
| | |
| | | if (Cools.isEmpty(this.finishTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.finishTime); |
| | | return new SimpleDateFormat("yyyy-MM-dd").format(this.finishTime); |
| | | } |
| | | |
| | | public String getChange$(){ |