|
@@ -21,10 +21,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="replyContent" column="reply_content" />
|
|
<result property="replyContent" column="reply_content" />
|
|
|
<result property="number" column="number" />
|
|
<result property="number" column="number" />
|
|
|
<result property="type" column="type" />
|
|
<result property="type" column="type" />
|
|
|
|
|
+ <result property="apiId" column="api_id" />
|
|
|
|
|
+ <result property="portId" column="port_id" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectCompanySmsLogsVo">
|
|
<sql id="selectCompanySmsLogsVo">
|
|
|
- select logs_id, company_id,type, company_user_id, customer_id, temp_id, temp_code, phone, content, create_time, send_time, status,mid,stat,reply_content,number from company_sms_logs
|
|
|
|
|
|
|
+ select logs_id, company_id,type, company_user_id, customer_id, temp_id, temp_code, phone, content, create_time, send_time, status,mid,stat,reply_content,number,api_id,port_id from company_sms_logs
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -52,6 +54,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="replyContent != null">reply_content,</if>
|
|
<if test="replyContent != null">reply_content,</if>
|
|
|
<if test="number != null">number,</if>
|
|
<if test="number != null">number,</if>
|
|
|
<if test="type != null">type,</if>
|
|
<if test="type != null">type,</if>
|
|
|
|
|
+ <if test="apiId != null">api_id,</if>
|
|
|
|
|
+ <if test="portId != null">port_id,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="companyId != null">#{companyId},</if>
|
|
<if test="companyId != null">#{companyId},</if>
|
|
@@ -69,6 +73,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="replyContent != null">#{replyContent},</if>
|
|
<if test="replyContent != null">#{replyContent},</if>
|
|
|
<if test="number != null">#{number},</if>
|
|
<if test="number != null">#{number},</if>
|
|
|
<if test="type != null">#{type},</if>
|
|
<if test="type != null">#{type},</if>
|
|
|
|
|
+ <if test="apiId != null">#{apiId},</if>
|
|
|
|
|
+ <if test="portId != null">#{portId},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -90,6 +96,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="replyContent != null">reply_content = #{replyContent},</if>
|
|
<if test="replyContent != null">reply_content = #{replyContent},</if>
|
|
|
<if test="number != null">number = #{number},</if>
|
|
<if test="number != null">number = #{number},</if>
|
|
|
<if test="type != null">type = #{type},</if>
|
|
<if test="type != null">type = #{type},</if>
|
|
|
|
|
+ <if test="apiId != null">api_id = #{apiId},</if>
|
|
|
|
|
+ <if test="portId != null">port_id = #{portId},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where logs_id = #{logsId}
|
|
where logs_id = #{logsId}
|
|
|
</update>
|
|
</update>
|