自动化立体仓库 - WMS系统
#
Junjie
5 天以前 4c7ab64e5a6bf855ece40e760ba7ad16cf6c367b
src/main/java/com/zy/asrs/entity/OrderDetl.java
@@ -357,7 +357,7 @@
    private String remark;
    //库存状态
    private Integer cstateid;
    private String cstateid;
    public OrderDetl() {
    }
@@ -709,6 +709,15 @@
        return String.valueOf(this.cstateid);
    }
    public String getCstateidVcode() {
        KcztMapService service = SpringUtils.getBean(KcztMapService.class);
        KcztMap kcztMap = service.selectOne(new EntityWrapper<KcztMap>().eq("cstateid", this.cstateid));
        if (!Cools.isEmpty(kcztMap)){
            return String.valueOf(kcztMap.getVcode());
        }
        return String.valueOf(this.cstateid);
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }