Эх сурвалжийг харах

feat 主流云存储均以支持

1 сар өмнө
parent
commit
256f712d07

+ 2 - 0
edu-travel-common/edu-travel-common-datasource/src/main/java/edu/travel/datasource/ProjectInterceptor.java

@@ -80,6 +80,8 @@ public class ProjectInterceptor implements InnerInterceptor {
                     }
 
                     targetSql = plainSelect.toString();
+                }else {
+                    targetSql = plainSelect.toString();
                 }
 
             }

+ 1 - 2
edu-travel-remote/edu-travel-remote-commodity/src/main/java/edu/travel/commodity/remote/BaseCountryServeRemoteController.java

@@ -11,6 +11,5 @@ import org.springframework.web.bind.annotation.RequestBody;
 
 @FeignClient(path = "/base_country_serve",name = "commodity")
 public interface BaseCountryServeRemoteController {
-    @PostMapping("/updateById")
-    public BaseResponse<BaseCountryServeVo> updateTargetById(@RequestBody BaseCountryServeDTO entity);
+
 }

+ 0 - 1
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/service/impl/BaseCountryServeServiceImpl.java

@@ -19,7 +19,6 @@ public class BaseCountryServeServiceImpl extends SysServiceImpl<BaseCountryServe
     public RPCBaseResponse<IPage<BaseCountryServe>> getCountryServePage(BaseCountryServeDTO dto) {
         Page<BaseCountryServe> baseCountryServePage = new Page<>(dto.getCurrentPage(), dto.getPageSize());
         IPage<BaseCountryServe> pageLink = super.getPageLink(new LambdaQueryWrapper<BaseCountryServe>(), baseCountryServePage);
-        Page<BaseCountryServe> page = this.page(baseCountryServePage, new LambdaQueryWrapper<BaseCountryServe>());
         RPCBaseResponse<IPage<BaseCountryServe>> pageRPCPageResponse = new RPCBaseResponse<>(200,"SUCCESS",pageLink);
         return pageRPCPageResponse;
     }

+ 1 - 6
edu-travel-service/edu-travel-service-commodity/src/main/java/edu/travel/commodity/web/BaseCountryServeController.java

@@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
 */
 @RestController
 @RequestMapping("/base_country_serve")
-public class BaseCountryServeController  extends BaseController  implements BaseCountryServeRemoteController {
+public class BaseCountryServeController  extends BaseController<BaseCountryServe>  implements BaseCountryServeRemoteController {
     @Autowired
     private BaseCountryServeService baseCountryServeService;
 
@@ -31,9 +31,4 @@ public class BaseCountryServeController  extends BaseController  implements Base
         return baseCountryServeService.getCountryServePage(dto);
     }
 
-    @Override
-    @PostMapping("/updateById")
-    public BaseResponse<BaseCountryServeVo> updateTargetById(@RequestBody BaseCountryServeDTO entity) {
-        return super.updateTargetById(entity);
-    }
 }