puhanshu
2022-07-23 bbda2ee1af4e86d76f93e00386d77efb56c60d5f
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/property/PropertyService.java
@@ -2,17 +2,16 @@
import com.panzhihua.common.model.dtos.property.CommonPage;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.property.ComPropertyAlarmSettingVO;
import com.panzhihua.common.model.vos.property.ComPropertyAlarmVO;
import com.panzhihua.common.model.vos.property.ComPropertyEquipmentVO;
import com.panzhihua.common.model.vos.property.ComPropertyRepairVO;
import com.panzhihua.common.model.vos.property.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import java.io.Serializable;
/**
 * 物业接口
 */
@FeignClient(name = "property")
@FeignClient(name = "huacheng-property")
public interface PropertyService {
    /**
     * 分页查询所有数据
@@ -162,4 +161,49 @@
     */
    @GetMapping("/comPropertyAlarmSetting")
    R comPropertyAlarmSettingSelectOne(@RequestParam("communityId") Long communityId);
    /**
     * 分页查询所有数据
     *
     * @param commonPage 查询实体
     * @return 所有数据
     */
    @PostMapping("/comPropertyHelp/queryAll")
    R comPropertyHelpSelectAll(@RequestBody CommonPage commonPage);
    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("/comPropertyHelp/{id}")
    R comPropertyHelpSelectOne(@PathVariable("id") Serializable id);
    /**
     * 新增数据
     *
     * @param comPropertyHelp 实体对象
     * @return 新增结果
     */
    @PostMapping("/comPropertyHelp")
    R comPropertyHelpInsert(@RequestBody ComPropertyHelpVO comPropertyHelp);
    /**
     * 修改数据
     *
     * @param comPropertyHelp 实体对象
     * @return 修改结果
     */
    @PostMapping("/comPropertyHelp/update")
    R comPropertyHelpUpdate(@RequestBody ComPropertyHelpVO comPropertyHelp);
    /**
     * 删除数据
     *
     * @param id 主键结合
     * @return 删除结果
     */
    @GetMapping("/comPropertyHelp/del")
    R comPropertyHelpDelete(@RequestParam("id") Long id);
}