old mode 100644
new mode 100755
| | |
| | | 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; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @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 { |
| | | |
| | |
| | | |
| | | @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); |
| | | } |