Przeglądaj źródła

定时同步efast同步物流状态修改

liujiankang 7 lat temu
rodzic
commit
1f5e04499b

+ 2 - 2
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/reissueMapper.xml

@@ -303,8 +303,8 @@
       <if test="reissueSendStatus != null and reissueSendStatus != ''">
         and reissue_send_status = #{reissueSendStatus}
       </if>
-      AND r.reissue_send_logistics_company != NULL
-      AND r.reissue_send_logistics_no != NULL
+      AND r.reissue_send_logistics_company != ''
+      AND r.reissue_send_logistics_no != ''
     </where>
   </select>
 </mapper>

+ 2 - 2
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/renewedMapper.xml

@@ -318,8 +318,8 @@
       <if test="renewedSendStatus != null and renewedSendStatus != ''">
         and r.renewed_send_status = #{renewedSendStatus}
       </if>
-      AND r.renewed_send_logistics_company != NULL
-      AND r.renewed_send_logistics_no != NULL
+      AND r.renewed_send_logistics_company != ''
+      AND r.renewed_send_logistics_no != ''
     </where>
   </select>
 </mapper>

+ 2 - 2
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/repairMapper.xml

@@ -345,8 +345,8 @@
       <if test="repairSendStatus != null and repairSendStatus != ''">
         and repair_send_status = #{repairSendStatus}
       </if>
-      AND r.repair_send_logistics_company != NULL
-      AND r.repair_send_logistics_no != NULL
+      AND r.repair_send_logistics_company != ''
+      AND r.repair_send_logistics_no != ''
     </where>
   </select>
 </mapper>

+ 3 - 3
watero-rst-web/src/main/java/com/iamberry/rst/controllers/mq/MQTask.java

@@ -254,7 +254,7 @@ public class MQTask implements InitializingBean {
 						Integer msg = repairService.updateRepairInfo(re,null,null);
 						if(msg > 0){
 							//发送维修发货通知短信
-							sendSMS("<维修业务>",efastOrder.getOrderPostFirm(),efastOrder.getOrderPostNum(),re.getCustomerId(),"15207170059");
+							sendSMS("<维修业务>",efastOrder.getOrderPostFirm(),efastOrder.getOrderPostNum(),re.getCustomerId(),re.getRepairBackTel());
 						}
 					}
 				}
@@ -286,7 +286,7 @@ public class MQTask implements InitializingBean {
 						Integer msg = renewedService.updateRenewedInfo(re,null,null);
 						if(msg > 0){
 							//发送换货发货通知短信
-							sendSMS("<换货业务>",efastOrder.getOrderPostFirm(),efastOrder.getOrderPostNum(),re.getCustomerId(),"15207170059");
+							sendSMS("<换货业务>",efastOrder.getOrderPostFirm(),efastOrder.getOrderPostNum(),re.getCustomerId(),re.getRenewedBackTel());
 						}
 					}
 				}
@@ -316,7 +316,7 @@ public class MQTask implements InitializingBean {
 						Integer msg = reissueService.updateReissueInfo(re);
 						if(msg > 0){
 							//发送补发发货通知短信
-							sendSMS("<补发业务>",efastOrder.getOrderPostFirm(),efastOrder.getOrderPostNum(),re.getCustomerId(),"15207170059");
+							sendSMS("<补发业务>",efastOrder.getOrderPostFirm(),efastOrder.getOrderPostNum(),re.getCustomerId(),re.getReissueSendTel());
 
 						}
 					}

+ 1 - 1
watero-rst-web/src/main/java/com/iamberry/rst/utils/KuaiDi100.java

@@ -259,7 +259,7 @@ public class KuaiDi100 {
             case "02":
                 name= "上门送货";
                 break;
-            case "longbanwuliu":
+            case "lbwl":
                 name= "龙邦快递";
                 break;
             default: