| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.zy.asrs.wms.asrs.service.LanewayRuleService; |
| | | import com.zy.asrs.wms.asrs.service.ShelvesRuleDetlService; |
| | | import com.zy.asrs.wms.system.entity.Host; |
| | | import com.zy.asrs.wms.system.entity.User; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | private Long id; |
| | | |
| | | /** |
| | | * 规则名称 |
| | | */ |
| | | @ApiModelProperty(value= "规则名称") |
| | | private String name; |
| | | |
| | | /** |
| | | * 规则类型 0: 优先平层 1: 优先立体 |
| | | */ |
| | | @ApiModelProperty(value= "规则类型 0: 优先平层 1: 优先立体 ") |
| | |
| | | * 是否删除 1: 是 0: 否 |
| | | */ |
| | | @ApiModelProperty(value= "是否删除 1: 是 0: 否 ") |
| | | @TableLogic |
| | | private Integer deleted; |
| | | |
| | | /** |
| | |
| | | return list; |
| | | } |
| | | |
| | | public List<ShelvesRuleDetl> getRuleDetl$() { |
| | | ShelvesRuleDetlService service = SpringUtils.getBean(ShelvesRuleDetlService.class); |
| | | return service.list(new LambdaQueryWrapper<ShelvesRuleDetl>().eq(ShelvesRuleDetl::getRuleId, id)); |
| | | } |
| | | |
| | | public String getRuleType$(){ |
| | | if (null == this.ruleType){ return null; } |
| | | switch (this.ruleType){ |