Ver Fonte

Merge branch 'dev-lqc' into test

lqc há 4 anos atrás
pai
commit
ce686ed253

+ 1 - 0
src/main/java/com/mokamrp/privates/controller/pangu/FosterwxMobileController.java

@@ -201,6 +201,7 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
                 fosterwxMobilePoolService.update(new FosterwxMobilePool() {{
                 fosterwxMobilePoolService.update(new FosterwxMobilePool() {{
                     setCodeUrl(finalFosterwxMobile.getCodeUrl());
                     setCodeUrl(finalFosterwxMobile.getCodeUrl());
                     setMobileNo(finalFosterwxMobile.getMobileNo());
                     setMobileNo(finalFosterwxMobile.getMobileNo());
+                    setBusMobileNo(finalFosterwxMobile.getMobileNo());
                     setWxAppid(corp.getWxCorpid());
                     setWxAppid(corp.getWxCorpid());
                     setUpdateAt(LocalDateTime.now());
                     setUpdateAt(LocalDateTime.now());
                 }}, new QueryWrapper<FosterwxMobilePool>().eq("pool_index", fosterwxMobile.getMobileUnioCode()));
                 }}, new QueryWrapper<FosterwxMobilePool>().eq("pool_index", fosterwxMobile.getMobileUnioCode()));

+ 3 - 0
src/main/java/com/mokamrp/privates/controller/pangu/FosterwxMobilePoolController.java

@@ -14,6 +14,7 @@ import com.mokamrp.privates.mapper.pangu.pojo.FosterwxMobilePool;
 import com.mokamrp.privates.mapper.pojo.User;
 import com.mokamrp.privates.mapper.pojo.User;
 import com.mokamrp.privates.service.pangu.FosterwxFlowListService;
 import com.mokamrp.privates.service.pangu.FosterwxFlowListService;
 import com.mokamrp.privates.service.pangu.FosterwxMobilePoolService;
 import com.mokamrp.privates.service.pangu.FosterwxMobilePoolService;
+import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.http.HttpEntity;
 import org.springframework.http.HttpEntity;
@@ -40,6 +41,7 @@ import java.util.*;
  */
  */
 @RestController
 @RestController
 @RequestMapping("/pangu/fosterwxMobilePool")
 @RequestMapping("/pangu/fosterwxMobilePool")
+@Slf4j
 public class FosterwxMobilePoolController extends BaseController<FosterwxMobilePool> {
 public class FosterwxMobilePoolController extends BaseController<FosterwxMobilePool> {
 
 
     @Autowired
     @Autowired
@@ -101,6 +103,7 @@ public class FosterwxMobilePoolController extends BaseController<FosterwxMobileP
             if (ischange) {
             if (ischange) {
                 HttpEntity<Map<String, Object>> httpEntity = new HttpEntity<>(body, null);
                 HttpEntity<Map<String, Object>> httpEntity = new HttpEntity<>(body, null);
                 JSONObject result = restTemplate.exchange(domain + "/poster/qrcode/update", HttpMethod.POST, httpEntity, JSONObject.class).getBody();
                 JSONObject result = restTemplate.exchange(domain + "/poster/qrcode/update", HttpMethod.POST, httpEntity, JSONObject.class).getBody();
+                log.info("请求结果:{}", result);
             }
             }
         });
         });
         return AjaxResult.success("新增成功!");
         return AjaxResult.success("新增成功!");