| | |
| | | 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; |
| | |
| | | */ |
| | | @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$(){ |
| | | 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 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; } |