潘志宝
2024-12-11 2c7af41ee5d5aa23f27fa8a493310ad2e9fbd37e
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java
@@ -94,13 +94,15 @@
    }
    private QueryWrapper<MpkFileEntity> getWrapper(Map<String, Object> params) {
        String pyChineseName = (String) params.get("pyChineseName");
        String pyName = (String) params.get("pyName");
        String pyType = (String) params.get("pyType");
        String remark = (String) params.get("remark");
        String label = (String) params.get("label");
        QueryWrapper<MpkFileEntity> wrapper = new QueryWrapper<>();
        wrapper.like(StringUtils.isNotBlank(pyName), "py_chinese_name", pyName)
        wrapper.like(StringUtils.isNotBlank(pyChineseName), "py_chinese_name", pyChineseName)
                .like(StringUtils.isNotBlank(pyName), "py_name", pyName)
                .eq(StringUtils.isNotBlank(pyType), "py_type", pyType)
                .like(StringUtils.isNotBlank(remark), "remark", remark);