客户管理bug修复

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

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

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

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

Loading…
Cancel
Save