boss 2 weeks ago
parent
commit
1dad9b1b40

+ 23 - 0
fs-service/src/main/java/com/fs/company/domain/CompanySmsLogs.java

@@ -67,6 +67,14 @@ public class CompanySmsLogs extends BaseEntity
 
 
     private String type;
     private String type;
 
 
+    /** 短信接口ID */
+    @Excel(name = "接口ID")
+    private Long apiId;
+
+    /** 短信端口ID */
+    @Excel(name = "端口ID")
+    private Long portId;
+
 
 
     public String getType() {
     public String getType() {
         return type;
         return type;
@@ -199,5 +207,20 @@ public class CompanySmsLogs extends BaseEntity
         return status;
         return status;
     }
     }
 
 
+    public Long getApiId() {
+        return apiId;
+    }
+
+    public void setApiId(Long apiId) {
+        this.apiId = apiId;
+    }
+
+    public Long getPortId() {
+        return portId;
+    }
+
+    public void setPortId(Long portId) {
+        this.portId = portId;
+    }
 
 
 }
 }

+ 9 - 1
fs-service/src/main/resources/mapper/company/CompanySmsLogsMapper.xml

@@ -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>