Pārlūkot izejas kodu

同步客户看课状态代码迁移

yjwang 1 nedēļu atpakaļ
vecāks
revīzija
e56625e0f6

+ 1 - 0
fs-service/src/main/java/com/fs/common/service/impl/SmsServiceImpl.java

@@ -1092,6 +1092,7 @@ public class SmsServiceImpl implements ISmsService
             updateLog.setContentJson(jsonObject.toJSONString());
             if (allSuccess) {
                 updateLog.setSendStatus(1L);
+                updateLog.setReceivingStatus(1L);//已接收
                 log.info("主记录 {} 全部成功", sopSmsLogId);
             } else if (allFail) {
                 updateLog.setSendStatus(0L);

+ 3 - 0
fs-service/src/main/resources/mapper/sop/QwSopLogsMapper.xml

@@ -930,6 +930,9 @@
         <if test="data.remark != null and data.remark != ''">
             ,remark = #{data.remark}
         </if>
+        <if test="data.receivingStatus != null and data.receivingStatus != ''">
+            ,receiving_status = #{data.receivingStatus}
+        </if>
         WHERE sms_logs_id = #{data.smsLogsId}
     </update>