| | |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.zy.crm.manager.service.WeeklyCostTypesService; |
| | | import com.zy.crm.system.entity.*; |
| | | import com.zy.crm.system.service.*; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | private Long deptId; |
| | | |
| | | /** |
| | | * 状态 3: 已关闭 2: 需处理 1: 进行中 0: 未开始 |
| | | * 状态 3: 已关闭 2: 需处理 1: 进行中 0: 未开始 |
| | | */ |
| | | @ApiModelProperty(value= "状态 3: 已关闭 2: 需处理 1: 进行中 0: 未开始 ") |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 进度 0: 默认 1: 开始 2: 组长待审 3: 组长审核 4: 规划待审 5: 规划审核 6: 审批中 7: 审批通过 |
| | | * 进度 0: 默认 1: 开始 2: 组长待审 3: 组长审核 4: 规划待审 5: 规划审核 6: 审批中 7: 审批通过 |
| | | */ |
| | | @ApiModelProperty(value= "进度 0: 默认 1: 开始 2: 组长待审 3: 组长审核 4: 规划待审 5: 规划审核 6: 审批中 7: 审批通过 ") |
| | | private Integer settle; |
| | |
| | | @ApiModelProperty(value= "周报ID") |
| | | @TableId(value = "weekly_id", type = IdType.INPUT) |
| | | @TableField("weekly_id") |
| | | private Integer weeklyId; |
| | | private Long weeklyId; |
| | | |
| | | /** |
| | | * 甲方单位ID |
| | |
| | | |
| | | public WeeklyDailyReality() {} |
| | | |
| | | public WeeklyDailyReality(Date dailyTime,Long userId,Long hostId,Long deptId,Integer status,Integer settle,String settleMsg,String comment,Long createBy,Date createTime,Long updateBy,Date updateTime,String weeklyMatter,Long director,Integer settleSize,Integer settleCurrent,Integer weeklyId,Long cstmrId,Integer weeklyDay,String memo) { |
| | | public WeeklyDailyReality(Integer weeklyDay) { |
| | | this.weeklyDay = weeklyDay; |
| | | } |
| | | |
| | | public WeeklyDailyReality(Date dailyTime,Long userId,Long hostId,Long deptId,Integer status,Integer settle,String settleMsg,String comment,Long createBy,Date createTime,Long updateBy,Date updateTime,String weeklyMatter,Long director,Integer settleSize,Integer settleCurrent,Long weeklyId,Long cstmrId,Integer weeklyDay,String memo) { |
| | | this.dailyTime = dailyTime; |
| | | this.userId = userId; |
| | | this.hostId = hostId; |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | |
| | | public String getWeeklyDay$(){ |
| | | if (null == this.weeklyDay){ return ""; } |
| | | WeeklyCostTypesService weeklyCostTypesService = SpringUtils.getBean(WeeklyCostTypesService.class); |
| | | WeeklyCostTypes weeklyCostTypes = weeklyCostTypesService.selectById(this.weeklyDay); |
| | | if (!Cools.isEmpty(weeklyCostTypes)){ |
| | | return String.valueOf(weeklyCostTypes.getTypeName()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getDailyTime$(){ |
| | | if (Cools.isEmpty(this.dailyTime)){ |
| | | return ""; |