| | |
| | | package zy.cloud.wms.manager.entity; |
| | | |
| | | import com.core.common.Cools;import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import zy.cloud.wms.manager.service.FlowStatusService; |
| | | import zy.cloud.wms.manager.service.ItemService; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | @Data |
| | |
| | | // null, // 修改人id |
| | | // null // 节点名称 |
| | | // ); |
| | | |
| | | |
| | | public Long getId() { |
| | | return id; |
| | |
| | | this.flowName = flowName; |
| | | } |
| | | |
| | | public String getItemId$(){ |
| | | ItemService itemService = SpringUtils.getBean(ItemService.class); |
| | | Item id = itemService.selectOne(new EntityWrapper<Item>() |
| | | .eq("id", this.getItemId())); |
| | | if (!Cools.isEmpty(id)) { |
| | | |
| | | return id.getName(); |
| | | }else { |
| | | return null; |
| | | } |
| | | } |
| | | public String getFlowId$(){ |
| | | FlowStatusService bean = SpringUtils.getBean(FlowStatusService.class); |
| | | FlowStatus id = bean.selectOne(new EntityWrapper<FlowStatus>() |
| | | .eq("id", this.flowId)); |
| | | if (!Cools.isEmpty(id)) { |
| | | return id.getName(); |
| | | } |
| | | return null; |
| | | } |
| | | } |