yaozhixue 1 năm trước cách đây
mục cha
commit
4f9b352da9

+ 4 - 2
src/main/java/com/zfire/jiasm/syncdata/download/order/SaleOrderEvaluate.java

@@ -4,6 +4,8 @@ import com.zfire.jiasm.syncdata.constant.TaskConfigEnum;
 import com.zfire.jiasm.syncdata.service.AddInstallBusiness;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Value;
+import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.stereotype.Component;
 
 import javax.annotation.Resource;
 import java.text.SimpleDateFormat;
@@ -13,7 +15,7 @@ import java.util.Date;
  * 自建工单用户完工评价回复,生成平价信息 + 差评申诉信息
  */
 @Slf4j
-// @Component
+@Component
 public class SaleOrderEvaluate {
     @Value("${smsinselfc}")
     private String smsinselfc = "";
@@ -23,7 +25,7 @@ public class SaleOrderEvaluate {
 
 
     // 自建工单短信回复 生成评价信息 + 申诉
-    // @Scheduled(fixedDelayString = "${smsinself}")
+    @Scheduled(fixedDelayString = "${smsinself}")
     public void orderAppraise() {
         if (smsinselfc.equals(TaskConfigEnum.FALSE.getCode())){
             return;

+ 1 - 0
src/main/java/com/zfire/jiasm/syncdata/service/impl/AddInstallBusinessImpl.java

@@ -509,6 +509,7 @@ public class AddInstallBusinessImpl implements AddInstallBusiness {
         // 提取需要处理的数据
         List<ItfReceiveSms> irsms = itfReceiveSmsService.lambdaQuery()
                 .eq(ItfReceiveSms::getSynStatus,0)
+                // .eq(ItfReceiveSms::getSynReqId,410L)// 测试用
                 .orderByAsc(ItfReceiveSms::getSynReqId)
                 .list();
 

+ 2 - 2
src/main/resources/bootstrap-prdt.properties

@@ -384,7 +384,7 @@ lmxxc=FALSE
 wxgwzc=FALSE
 wxgxgc=FALSE
 wxgwztc=FALSE
-zjzbxc=TRUE
+zjzbxc=FALSE
 cjfilec=FALSE
 sfzjxxc=FALSE
 zjzoc=FALSE
@@ -416,7 +416,7 @@ datauploadc=FALSE
 #安装、维修工单入本地表
 installinc=FALSE
 repairinc=FALSE
-smsinselfc=FALSE
+smsinselfc=TRUE
 #完工评价短信格力总部发送,自建工单联通发送,查看评价短信回复信息,自建完工评价短信联通发送,派服务人员格力发送
 wgmsgsendc=FALSE
 zjgdmsgsendc=FALSE