You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
Java
43 lines
1.3 KiB
Java
package com.glxp.api.dao.thrsys;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.glxp.api.entity.thrsys.ThrSystemEntity;
|
|
import com.glxp.api.req.thrsys.FilterBasicThirdSysRequest;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
@Mapper
|
|
public interface ThrSystemDao extends BaseMapper<ThrSystemEntity> {
|
|
|
|
boolean updateBasicThiSys(ThrSystemEntity thrSystemEntity);
|
|
|
|
ThrSystemEntity selectByThirdId(@Param("thirdId") String thirdId);
|
|
|
|
|
|
List<ThrSystemEntity> filterBasicThiSys(FilterBasicThirdSysRequest filterBasicThirdSysRequest);
|
|
|
|
/**
|
|
* 查询启用的第三方系统的ID
|
|
*/
|
|
List<String> selectEnabledThirdId();
|
|
|
|
/**
|
|
* 查询第三方系统名称数量
|
|
*/
|
|
int selectCountByThirdName(@Param("thirdName") String thirdName);
|
|
|
|
/**
|
|
* 根据系统ID和名称查询第三方系统配置信息
|
|
*/
|
|
ThrSystemEntity selectByThirdIdAndThirdName(@Param("thirdId") String thirdId, @Param("thirdName") String thirdName);
|
|
|
|
/**
|
|
* 根据第三方系统ID查询第三方系统名称
|
|
*/
|
|
String selectThirdNameByThirdId(@Param("thirdId") String thirdId);
|
|
|
|
int countThirdSys(FilterBasicThirdSysRequest filterBasicThirdSysRequest);
|
|
}
|