客户管理bug修复

dev
郑明梁 2 years ago
parent 9eb3dfa675
commit 5a377fe206

@ -123,8 +123,6 @@ public class PlatformController {
//判断此数据是否重复
String verifyResult = platformService.verifyUnitMaintainPlatform(platformLinkRequest);
if (!verifyResult.equals("success")) {
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, verifyResult);
}

@ -40,5 +40,6 @@ public class PlatformLinkResponse {
private String name;
private String host;
private String appid;
private String apiKey;
private String secretKey;
}

@ -91,9 +91,6 @@
<if test="unitId != null and unitId != ''">
AND unitId = #{unitId}
</if>
<if test="customerId != null and customerId != ''">
AND customerId = #{customerId}
</if>
<if test="platformId != null and platformId != ''">
AND platformId = #{platformId}
</if>
@ -109,15 +106,6 @@
<if test="invSubCode != null and invSubCode != ''">
AND invSubCode = #{invSubCode}
</if>
<if test="appid != null and appid != ''">
AND appid = #{appid}
</if>
<if test="apiKey != null and apiKey != ''">
AND apiKey = #{apiKey}
</if>
<if test="secretKey != null and secretKey != ''">
AND secretKey = #{secretKey}
</if>
</where>
</select>
@ -152,6 +140,7 @@
<select id="selectDelectList" resultType="com.glxp.api.res.inout.PlatformLinkResponse">
SELECT io.id,
io.unitId,
io.platformId,
io.invCode,
io.invName,
@ -160,7 +149,11 @@
io.targetAction,
io.targetName,
io.sourceAction,
io.appid,
io.apiKey,
io.secretKey,
b1.`name` as sourceName
FROM io_unit_maintain_platform io
LEFT JOIN basic_bussiness_type b1 ON b1.action = io.sourceAction
where io.platformId = #{platformId}

Loading…
Cancel
Save