YYC
2023-07-20 87690b5dbc08947b8c5cdaa47a1daf46ad85b745
igds-inout/src/main/java/com/ld/igds/inout/service/impl/InoutServiceImpl.java
@@ -20,6 +20,7 @@
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.time.DateFormatUtils;
import org.apache.xmlbeans.impl.tool.Extension;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;
@@ -205,9 +206,11 @@
        }
        inoutMapper.updateDataByHandle(newData);
        InoutParam param = new InoutParam();
        param.setId(newData.getId());
        //更新缓存
        updateInoutCache(newData);
        updateInoutCache(inoutMapper.inoutQueryById(param));
        return null;
    }
@@ -292,7 +295,7 @@
        }
        // 清除缓存
        this.delFromCache(param.getDeptId(), param.getType(), param.getId());
//        this.delFromCache(param.getDeptId(), param.getType(), param.getId());
        inoutMapper.toComplete(param);