From ee65a567438622d06536ff6ad1a43f29f1d3a6b0 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期五, 29 三月 2024 13:29:04 +0800 Subject: [PATCH] #周计划 --- src/main/java/com/zy/crm/manager/entity/WeeklyDailyPlan.java | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/crm/manager/entity/WeeklyDailyPlan.java b/src/main/java/com/zy/crm/manager/entity/WeeklyDailyPlan.java index 8178326..d2d9385 100644 --- a/src/main/java/com/zy/crm/manager/entity/WeeklyDailyPlan.java +++ b/src/main/java/com/zy/crm/manager/entity/WeeklyDailyPlan.java @@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; import com.baomidou.mybatisplus.annotations.TableField; +import com.zy.crm.manager.service.CstmrService; import com.zy.crm.manager.service.WeeklyCostTypesService; import com.zy.crm.system.entity.*; import com.zy.crm.system.service.*; @@ -101,6 +102,20 @@ private String comment; /** + * 宸ヤ綔鍐呭 + */ + @ApiModelProperty(value= "宸ヤ綔鍐呭") + @TableField("work_content") + private String workContent; + + /** + * 宸ヤ綔鐩殑 + */ + @ApiModelProperty(value= "宸ヤ綔鐩殑") + @TableField("work_purpose") + private String workPurpose; + + /** * 娣诲姞浜哄憳 */ @ApiModelProperty(value= "娣诲姞浜哄憳") @@ -185,6 +200,36 @@ */ @ApiModelProperty(value= "澶囨敞") private String memo; + + /** + * 鐪� + */ + @ApiModelProperty(value= "鐪�") + private String province; + + /** + * 甯� + */ + @ApiModelProperty(value= "甯�") + private String city; + + /** + * 鍘� + */ + @ApiModelProperty(value= "鍘�") + private String district; + + /** + * 闀� + */ + @ApiModelProperty(value= "闀�") + private String town; + + /** + * 璇︾粏鍦板潃 + */ + @ApiModelProperty(value= "璇︾粏鍦板潃") + private String addr; public WeeklyDailyPlan() {} @@ -306,6 +351,15 @@ } } + public String getCstmrId$(){ + CstmrService service = SpringUtils.getBean(CstmrService.class); + Cstmr cstmr = service.selectById(this.cstmrId); + if (!Cools.isEmpty(cstmr)){ + return String.valueOf(cstmr.getName()); + } + return null; + } + public String getWeeklyDay$(){ if (null == this.weeklyDay){ return ""; } WeeklyCostTypesService weeklyCostTypesService = SpringUtils.getBean(WeeklyCostTypesService.class); -- Gitblit v1.9.1