自动化立体仓库 - WMS系统
#
Junjie
2025-06-16 ba7819193551a1ec22d863a375868c89c18b6e5d
src/main/java/com/zy/asrs/entity/WrkDetlLog.java
@@ -4,6 +4,7 @@
import com.baomidou.mybatisplus.annotations.TableName;
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.asrs.service.StoreTypeService;
import com.zy.common.utils.Synchro;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
@@ -309,6 +310,13 @@
    @TableField("box_type3")
    private String boxType3 = "";
    /**
     * 库存
     */
    @ApiModelProperty(value = "库存")
    @TableField("stock_num")
    private Double stockNum;
    public String getIoTime$(){
        if (Cools.isEmpty(this.ioTime)){
            return "";
@@ -398,6 +406,15 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public String getStandby1$() {
        StoreTypeService service = SpringUtils.getBean(StoreTypeService.class);
        StoreType storeType = service.selectById(this.standby1);
        if (!Cools.isEmpty(storeType)) {
            return String.valueOf(storeType.getStoreName());
        }
        return null;
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }