|
@@ -24,10 +24,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="typeIam" column="type_iam" />
|
|
|
<result property="typeAksk" column="type_aksk" />
|
|
|
<result property="code" column="code" />
|
|
|
+ <result property="callsuccnum" column="callsuccnum" />
|
|
|
+ <result property="callfailnum" column="callfailnum" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTUInterfaceinfoVo">
|
|
|
- select id, status, remark, del_flag, create_by, create_time, update_by, update_time, interface_name, info_item, usage_scenarios, share_type, interface_type, env, sign_serveraddress, interface_address, type_iam, type_aksk,code from t_u_interfaceinfo
|
|
|
+ select id, status, remark, del_flag, create_by, create_time, update_by, update_time, interface_name, info_item, usage_scenarios, share_type, interface_type, env, sign_serveraddress, interface_address, type_iam, type_aksk,code,callsuccnum,callfailnum from t_u_interfaceinfo
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTUInterfaceinfoList" parameterType="TUInterfaceinfo" resultMap="TUInterfaceinfoResult">
|
|
@@ -45,6 +47,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="typeIam != null and typeIam != ''"> and type_iam = #{typeIam}</if>
|
|
|
<if test="typeAksk != null and typeAksk != ''"> and type_aksk = #{typeAksk}</if>
|
|
|
<if test="code != null and code != ''"> and code = #{code}</if>
|
|
|
+ <if test="callsuccnum != null and callsuccnum != ''"> and callsuccnum = #{callsuccnum}</if>
|
|
|
+ <if test="callfailnum != null and callfailnum != ''"> and callfailnum = #{callfailnum}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -75,6 +79,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="typeIam != null">type_iam,</if>
|
|
|
<if test="typeAksk != null">type_aksk,</if>
|
|
|
<if test="code != null">code,</if>
|
|
|
+ <if test="callsuccnum != null">callsuccnum,</if>
|
|
|
+ <if test="callfailnum != null">callfailnum,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
@@ -96,6 +102,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="typeIam != null">#{typeIam},</if>
|
|
|
<if test="typeAksk != null">#{typeAksk},</if>
|
|
|
<if test="code != null">#{code},</if>
|
|
|
+ <if test="callsuccnum != null">#{callsuccnum},</if>
|
|
|
+ <if test="callfailnum != null">#{callfailnum},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -120,6 +128,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="typeIam != null">type_iam = #{typeIam},</if>
|
|
|
<if test="typeAksk != null">type_aksk = #{typeAksk},</if>
|
|
|
<if test="code != null">code = #{code},</if>
|
|
|
+ <if test="callsuccnum != null">callsuccnum = #{callsuccnum},</if>
|
|
|
+ <if test="callfailnum != null">callfailnum = #{callfailnum},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|