admin
2022-01-28 cd7767932dddeaf6d9c73a83d4a9b38f0341b77f
src/main/java/com/yeshi/buwan/dao/system/DetailSystemConfigDao.java
@@ -5,6 +5,7 @@
import com.yeshi.buwan.domain.system.DetailSystemConfig;
import java.math.BigInteger;
import java.util.List;
@Repository
@@ -30,4 +31,14 @@
        return null;
    }
    public List<DetailSystemConfig> list(Long systemId, String searchKey) {
        return list("from DetailSystemConfig c where c.systemId=? and c.beizhu like ?", new BigInteger( systemId+""), "%" + searchKey + "%");
    }
    public List<DetailSystemConfig> listByValue(Long systemId, String searchKey) {
        return list("from DetailSystemConfig c where c.systemId=? and c.value like ?", new BigInteger( systemId+""), "%" + searchKey + "%");
    }
}