skyouc
2025-04-30 ef8434250cf08250aa54a7c3d3704cbd47770ef6
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Loc.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.vincent.rsf.framework.common.Cools;
import com.vincent.rsf.framework.common.SpringUtils;
import com.vincent.rsf.server.manager.service.LocTypeService;
@@ -63,7 +64,7 @@
    @ApiModelProperty("库位类型(*)[man_loc_type]")
    @TableField(exist = false)
    private String typeIds;
    private List<Long> typeIds;
    /**
     * 虚拟库位
@@ -107,13 +108,18 @@
     */
    @ApiModelProperty(value= "宽")
    private Double width;
    /**
     * 排
     */
    @ApiModelProperty(value= "排")
    @TableField("`row`")
    private Integer row;
    /**
     * 设备号
     */
    @ApiModelProperty(value= "设备号")
    private Integer deviceNo;
    /**
     * 列
@@ -195,6 +201,7 @@
     */
    @ApiModelProperty(value= "添加时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
@@ -208,6 +215,7 @@
     */
    @ApiModelProperty(value= "修改时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
@@ -280,9 +288,10 @@
//            null    // 备注
//    );
    public String getType$(){
    public String getTypeIds$(){
        if (null == this.type){ return null; }
        List<String> asList = Arrays.asList(this.type);
        String[] split = this.type.split(",");
        List<String> asList = Arrays.asList(split);
        if (asList.isEmpty()) {
            return null;
        }