张天森
2022-11-12 5f9125510be183c3f0911c629c7269d068c6c182
springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/api/ComPropertyRepairApi.java
@@ -13,6 +13,8 @@
import javax.annotation.Resource;
import static java.util.Objects.nonNull;
/**
 * (ComPropertyRepair)表控制层
 *
@@ -34,6 +36,9 @@
     */
    @PostMapping("queryAll")
    public R selectAll(@RequestBody CommonPage commonPage) {
        if (nonNull(commonPage.getPropertyCheck()) && commonPage.getPropertyCheck()==1 && nonNull(commonPage.getPropertyId())){
            return this.comPropertyRepairService.pageListProperty(commonPage);
        }
        return this.comPropertyRepairService.pageList(commonPage);
    }