|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 代号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "代号") | 
|---|
|  |  |  | @ApiModelProperty(value = "代号") | 
|---|
|  |  |  | @TableId(value = "wrk_sts", type = IdType.INPUT) | 
|---|
|  |  |  | @TableField("wrk_sts") | 
|---|
|  |  |  | private Long wrkSts; | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 状态描述 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "状态描述") | 
|---|
|  |  |  | @ApiModelProperty(value = "状态描述") | 
|---|
|  |  |  | @TableField("wrk_desc") | 
|---|
|  |  |  | private String wrkDesc; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 修改人员 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "修改人员") | 
|---|
|  |  |  | @ApiModelProperty(value = "修改人员") | 
|---|
|  |  |  | @TableField("modi_user") | 
|---|
|  |  |  | private Long modiUser; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 修改时间 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "修改时间") | 
|---|
|  |  |  | @ApiModelProperty(value = "修改时间") | 
|---|
|  |  |  | @TableField("modi_time") | 
|---|
|  |  |  | private Date modiTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 创建者 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "创建者") | 
|---|
|  |  |  | @ApiModelProperty(value = "创建者") | 
|---|
|  |  |  | @TableField("appe_user") | 
|---|
|  |  |  | private Long appeUser; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 添加时间 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @ApiModelProperty(value= "添加时间") | 
|---|
|  |  |  | @ApiModelProperty(value = "添加时间") | 
|---|
|  |  |  | @TableField("appe_time") | 
|---|
|  |  |  | private Date appeTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public BasWrkStatus() {} | 
|---|
|  |  |  | public BasWrkStatus() { | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public BasWrkStatus(String wrkDesc,Long modiUser,Date modiTime,Long appeUser,Date appeTime) { | 
|---|
|  |  |  | public BasWrkStatus(String wrkDesc, Long modiUser, Date modiTime, Long appeUser, Date appeTime) { | 
|---|
|  |  |  | this.wrkDesc = wrkDesc; | 
|---|
|  |  |  | this.modiUser = modiUser; | 
|---|
|  |  |  | this.modiTime = modiTime; | 
|---|
|  |  |  | 
|---|
|  |  |  | return modiUser; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getModiUser$(){ | 
|---|
|  |  |  | public void setModiUser(Long modiUser) { | 
|---|
|  |  |  | this.modiUser = modiUser; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getModiUser$() { | 
|---|
|  |  |  | UserService service = SpringUtils.getBean(UserService.class); | 
|---|
|  |  |  | User user = service.selectById(this.modiUser); | 
|---|
|  |  |  | if (!Cools.isEmpty(user)){ | 
|---|
|  |  |  | if (!Cools.isEmpty(user)) { | 
|---|
|  |  |  | return String.valueOf(user.getUsername()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setModiUser(Long modiUser) { | 
|---|
|  |  |  | this.modiUser = modiUser; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Date getModiTime() { | 
|---|
|  |  |  | return modiTime; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getModiTime$(){ | 
|---|
|  |  |  | if (Cools.isEmpty(this.modiTime)){ | 
|---|
|  |  |  | public void setModiTime(Date modiTime) { | 
|---|
|  |  |  | this.modiTime = modiTime; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getModiTime$() { | 
|---|
|  |  |  | if (Cools.isEmpty(this.modiTime)) { | 
|---|
|  |  |  | return ""; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setModiTime(Date modiTime) { | 
|---|
|  |  |  | this.modiTime = modiTime; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Long getAppeUser() { | 
|---|
|  |  |  | return appeUser; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getAppeUser$(){ | 
|---|
|  |  |  | public void setAppeUser(Long appeUser) { | 
|---|
|  |  |  | this.appeUser = appeUser; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getAppeUser$() { | 
|---|
|  |  |  | UserService service = SpringUtils.getBean(UserService.class); | 
|---|
|  |  |  | User user = service.selectById(this.appeUser); | 
|---|
|  |  |  | if (!Cools.isEmpty(user)){ | 
|---|
|  |  |  | if (!Cools.isEmpty(user)) { | 
|---|
|  |  |  | return String.valueOf(user.getUsername()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setAppeUser(Long appeUser) { | 
|---|
|  |  |  | this.appeUser = appeUser; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Date getAppeTime() { | 
|---|
|  |  |  | return appeTime; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getAppeTime$(){ | 
|---|
|  |  |  | if (Cools.isEmpty(this.appeTime)){ | 
|---|
|  |  |  | public void setAppeTime(Date appeTime) { | 
|---|
|  |  |  | this.appeTime = appeTime; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getAppeTime$() { | 
|---|
|  |  |  | if (Cools.isEmpty(this.appeTime)) { | 
|---|
|  |  |  | return ""; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setAppeTime(Date appeTime) { | 
|---|
|  |  |  | this.appeTime = appeTime; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|