|  |  | 
 |  |  | import java.text.SimpleDateFormat; | 
 |  |  | import java.util.*; | 
 |  |  |  | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.vincent.rsf.server.manager.service.BatchRegularService; | 
 |  |  | import com.vincent.rsf.server.manager.service.CompanysService; | 
 |  |  | import com.vincent.rsf.server.manager.service.MatnrGroupService; | 
 |  |  | import com.vincent.rsf.server.manager.service.ShipperService; | 
 |  |  | import com.vincent.rsf.server.system.entity.SerialRule; | 
 |  |  | import com.vincent.rsf.server.system.service.SerialRuleService; | 
 |  |  | import lombok.experimental.Accessors; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  | import java.text.SimpleDateFormat; | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @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; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |         } | 
 |  |  |         return null; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getRglarId$(){ | 
 |  |  |         BatchRegularService service = SpringUtils.getBean(BatchRegularService.class); | 
 |  |  |         BatchRegular batchRegular = service.getById(this.rglarId); | 
 |  |  |         if (!Cools.isEmpty(batchRegular)){ | 
 |  |  |             return String.valueOf(batchRegular.getCode()); | 
 |  |  |         } | 
 |  |  |         return null; | 
 |  |  |     } | 
 |  |  | //    public String getRglarId$(){ | 
 |  |  | //        SerialRuleService service = SpringUtils.getBean(SerialRuleService.class); | 
 |  |  | //        SerialRule batchRegular = service.getById(this.rglarId); | 
 |  |  | //        if (!Cools.isEmpty(batchRegular)){ | 
 |  |  | //            return String.valueOf(batchRegular.getCode()); | 
 |  |  | //        } | 
 |  |  | //        return null; | 
 |  |  | //    } | 
 |  |  |  | 
 |  |  |     public String getStockLeval$(){ | 
 |  |  |         if (null == this.stockLevel){ return null; } |