#1
dubin
2026-01-04 97c788f31a57b4e8c3fc8091dc29aab598adeebb
src/main/java/com/zy/asrs/entity/WrkDetl.java
@@ -333,7 +333,7 @@
    private Double stockNum2;
    @TableField("cstateid")
    private Integer cstateid;
    private String cstateid;
    public String getIoTime$(){
        if (Cools.isEmpty(this.ioTime)){
@@ -424,14 +424,14 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public String getCstateid$() {
        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.getVname());
        }
        return String.valueOf(this.cstateid);
    }
//    public String getCstateid$() {
//        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.getVname());
//        }
//        return String.valueOf(this.cstateid);
//    }
    public void sync(Object source) {
        Synchro.Copy(source, this);