|  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableLogic; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.vincent.rsf.framework.common.Cools; | 
 |  |  | import com.vincent.rsf.framework.common.SpringUtils; | 
 |  |  | import com.vincent.rsf.server.system.constant.DictTypeCode; | 
 |  |  | 
 |  |  |     private String asnCode; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty("质检状态") | 
 |  |  |     private String isptStatus; | 
 |  |  |     private Short isptStatus; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty("质检结果") | 
 |  |  |     private Short isptResult; | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value= "添加时间") | 
 |  |  |     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") | 
 |  |  |     private Date createTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value= "修改时间") | 
 |  |  |     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") | 
 |  |  |     private Date updateTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  | //            null    // 备注 | 
 |  |  | //    ); | 
 |  |  |  | 
 |  |  |     public String getwkType$() { | 
 |  |  |         if (null == this.wkType) {return  null;} | 
 |  |  |         DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); | 
 |  |  |         DictData dictDatas = dictDataService.getOne(new LambdaQueryWrapper<DictData>() | 
 |  |  |                 .eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_BUSINESS_TYPE) | 
 |  |  |                 .eq(DictData::getValue, this.wkType)); | 
 |  |  |         if (Objects.isNull(dictDatas) || Objects.isNull(dictDatas.getLabel())) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         return dictDatas.getLabel(); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getIsptStatus$() { | 
 |  |  |         if (null == this.isptStatus) {return  null;} |