| | |
| | | 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.*; |
| | |
| | | @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; |
| | | |
| | | /** |
| | | * 甲方单位ID |
| | | */ |
| | | @ApiModelProperty(value= "甲方单位ID") |
| | | @TableField("cstmr_name") |
| | | private String cstmrName; |
| | | |
| | | /** |
| | | * 详细地址 |
| | | */ |
| | | @ApiModelProperty(value= "详细地址") |
| | | private String addr; |
| | | |
| | | public WeeklyDailyPlan() {} |
| | | |
| | | public WeeklyDailyPlan(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) { |
| | |
| | | } |
| | | } |
| | | |
| | | 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); |