自动化立体仓库 - WMS系统
#
lsh
2024-10-11 f42ab50e23d905a963218ee05fdf40b7028dfbd0
src/main/java/com/zy/asrs/entity/OrderDetl.java
@@ -4,8 +4,10 @@
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 com.zy.asrs.service.BasBoxTypeService;
import com.zy.asrs.service.OrderService;
import com.zy.common.utils.Synchro;
import com.zy.system.entity.User;
@@ -471,7 +473,7 @@
    }
    public String getQty$(){
        if (getAnfme().equals(getQty())){
        if (this.anfme.equals(this.qty)){
            return "已完成";
        }
        return "未完成";
@@ -491,4 +493,13 @@
        Synchro.Copy(source, this);
    }
    public String getBrand$(){
        BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class);
        BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_type", this.brand));
        if (!Cools.isEmpty(basBoxType)){
            return String.valueOf(basBoxType.getBoxSpecs());
        }
        return this.brand;
    }
}