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