| | |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import zy.cloud.wms.manager.service.CstmrService; |
| | | import zy.cloud.wms.manager.service.ProjectTypeService; |
| | | import zy.cloud.wms.system.entity.Host; |
| | | import zy.cloud.wms.system.entity.User; |
| | | import zy.cloud.wms.system.service.HostService; |
| | |
| | | /** |
| | | * 状态 1: 正常 0: 禁用 |
| | | */ |
| | | @ApiModelProperty(value= "状态 1: 正常 0: 禁用 ") |
| | | @ApiModelProperty(value= "状态 1: 正常 0: 完结 ") |
| | | private Integer status; |
| | | |
| | | /** |
| | |
| | | @TableField("duty_man") |
| | | private String dutyMan; |
| | | |
| | | @TableField("origin_area") |
| | | private String originArea; |
| | | |
| | | public Item() {} |
| | | |
| | | |
| | |
| | | public String getUuid() { |
| | | return uuid; |
| | | } |
| | | |
| | | |
| | | public void setUuid(String uuid) { |
| | | this.uuid = uuid; |
| | |
| | | case 1: |
| | | return "正常"; |
| | | case 0: |
| | | return "禁用"; |
| | | return "完结"; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |
| | |
| | | } |
| | | return null; |
| | | } |
| | | public String getCstmrUuid$(){ |
| | | CstmrService bean = SpringUtils.getBean(CstmrService.class); |
| | | Cstmr id = bean.selectOne(new EntityWrapper<Cstmr>() |
| | | .eq("id", this.cstmrUuid)); |
| | | if (!Cools.isEmpty(id)) { |
| | | return id.getName(); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getType$(){ |
| | | ProjectTypeService bean = SpringUtils.getBean(ProjectTypeService.class); |
| | | ProjectType id = bean.selectOne(new EntityWrapper<ProjectType>() |
| | | .eq("id", this.type)); |
| | | if (!Cools.isEmpty(id)) { |
| | | return id.getTypeName(); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public void setUpdateBy(Long updateBy) { |
| | | this.updateBy = updateBy; |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | } |