czt
2025-06-05 00acb9d6cb8d3455e9a7c2b51722fafeb820a92c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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<DicSysConf, String> {
 
    /**
     * 根据组织编码获取系统配置信息
     * @param companyId
     * @return
     */
    @Query("from DicSysConf where companyId =:companyId ")
    DicSysConf getSysConf(@Param("companyId") String companyId);
 
}