| | |
| | | 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; |
| | |
| | | * ID |
| | | */ |
| | | @ApiModelProperty(value= "ID") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | |
| | | this.memo = memo; |
| | | } |
| | | |
| | | public WeeklyDailyPlan(Integer weeklyDay) { |
| | | this.weeklyDay = weeklyDay; |
| | | // this.userId = userId; |
| | | // this.hostId = hostId; |
| | | // this.deptId = deptId; |
| | | // this.status = status; |
| | | // this.settle = settle; |
| | | // this.settleMsg = settleMsg; |
| | | // this.comment = comment; |
| | | // this.createBy = createBy; |
| | | // this.createTime = createTime; |
| | | // this.updateBy = updateBy; |
| | | // this.updateTime = updateTime; |
| | | // this.weeklyMatter = weeklyMatter; |
| | | // this.director = director; |
| | | // this.settleSize = settleSize; |
| | | // this.settleCurrent = settleCurrent; |
| | | // this.weeklyId = weeklyId; |
| | | // this.cstmrId = cstmrId; |
| | | // this.memo = memo; |
| | | } |
| | | |
| | | // WeeklyDailyPlan weeklyDailyPlan = new WeeklyDailyPlan( |
| | | // null, // 日报日期[非空] |
| | | // 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 getSettle$(){ |
| | | if (null == this.settle){ return null; } |
| | | switch (this.settle){ |