mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 推送联联平台后管页面
This commit is contained in:
@@ -29,6 +29,13 @@ public interface ThirdPartySettingInfoMapper {
|
||||
*/
|
||||
public List<ThirdPartySettingInfo> selectThirdPartySettingInfoList(ThirdPartySettingInfo thirdPartySettingInfo);
|
||||
|
||||
/**
|
||||
* 查询第三方平台配置信息
|
||||
* @param info
|
||||
* @return
|
||||
*/
|
||||
ThirdPartySettingInfo selectThirdInfo(ThirdPartySettingInfo info);
|
||||
|
||||
/**
|
||||
* 新增第三方平台配置
|
||||
*
|
||||
|
||||
@@ -27,6 +27,14 @@ public interface IThirdPartySettingInfoService {
|
||||
*/
|
||||
public List<ThirdPartySettingInfo> selectThirdPartySettingInfoList(ThirdPartySettingInfo thirdPartySettingInfo);
|
||||
|
||||
|
||||
/**
|
||||
* 查询第三方平台配置信息
|
||||
* @param thirdPartySettingInfo
|
||||
* @return
|
||||
*/
|
||||
ThirdPartySettingInfo selectSettingInfo(ThirdPartySettingInfo thirdPartySettingInfo);
|
||||
|
||||
/**
|
||||
* 新增第三方平台配置
|
||||
*
|
||||
|
||||
@@ -42,6 +42,16 @@ public class ThirdPartySettingInfoServiceImpl implements IThirdPartySettingInfoS
|
||||
return thirdPartySettingInfoMapper.selectThirdPartySettingInfoList(thirdPartySettingInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询第三方平台配置信息
|
||||
* @param thirdPartySettingInfo
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public ThirdPartySettingInfo selectSettingInfo(ThirdPartySettingInfo thirdPartySettingInfo) {
|
||||
return thirdPartySettingInfoMapper.selectThirdInfo(thirdPartySettingInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增第三方平台配置
|
||||
*
|
||||
|
||||
@@ -119,4 +119,18 @@
|
||||
from thirdparty_setting_info
|
||||
where station_id = #{stationId,jdbcType=BIGINT}
|
||||
</select>
|
||||
|
||||
<select id="selectThirdInfo" resultMap="ThirdPartySettingInfoResult">
|
||||
select <include refid="Base_Column_List"/>
|
||||
from thirdparty_setting_info
|
||||
<where>
|
||||
<if test="stationId != null">
|
||||
and station_id = #{stationId,jdbcType=BIGINT}
|
||||
</if>
|
||||
<if test="type != null and type != ''">
|
||||
and type = #{type,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</where>
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user