java110
2022-07-15 87f258059769f89f0eb4eab287fd6c98befd8cdc
java110-interface/src/main/java/com/java110/intf/common/IMachineRecordInnerServiceSMO.java
old mode 100644 new mode 100755
@@ -1,7 +1,9 @@
package com.java110.intf.common;
import com.alibaba.fastjson.JSONArray;
import com.java110.config.feign.FeignConfiguration;
import com.java110.dto.machine.MachineRecordDto;
import com.java110.po.machine.MachineRecordPo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -17,7 +19,7 @@
 * @Version 1.0
 * add by wuxw 2019/4/24
 **/
@FeignClient(name = "common-service", configuration = {FeignConfiguration.class})
@FeignClient(name = "${java110.common-service}", configuration = {FeignConfiguration.class})
@RequestMapping("/machineRecordApi")
public interface IMachineRecordInnerServiceSMO {
@@ -38,4 +40,17 @@
     */
    @RequestMapping(value = "/queryMachineRecordsCount", method = RequestMethod.POST)
    int queryMachineRecordsCount(@RequestBody MachineRecordDto machineRecordDto);
    @RequestMapping(value = "/getAssetsMachineRecords", method = RequestMethod.POST)
    JSONArray getAssetsMachineRecords(@RequestBody String communityId);
    /**
     * 查询<p>小区楼</p>总记录数
     *
     * @param machineRecordPos 数据对象分享
     * @return 小区下的小区楼记录数
     */
    @RequestMapping(value = "/saveMachineRecords", method = RequestMethod.POST)
    int saveMachineRecords(@RequestBody List<MachineRecordPo> machineRecordPos);
}