package com.fzzy.igds.sys.repository; import com.fzzy.igds.dzhwk.domain.DicSysConf; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Service; /** * @Description SysConf JPA持久层 * @Author CZT * @Date 2024/11/19 18:36 */ @Service public interface SysConfRepository extends JpaRepository { /** * 根据组织编码获取系统配置信息 * @param companyId * @return */ @Query("from DicSysConf where companyId =:companyId ") DicSysConf getSysConf(@Param("companyId") String companyId); }