package org.springblade.modules.feign;

import lombok.AllArgsConstructor;
import org.springblade.core.tool.api.R;
import org.springblade.modules.entity.FzLsEntity;
import org.springblade.modules.service.RhzfFzLsService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@AllArgsConstructor
public class RhzfFzLsClientImpl implements RhzfFzLsFeign {

	private RhzfFzLsService rhzfFzLsService;

	@Override
	@PostMapping(API_PREFIX + "/fzlsSave")
	public R fzlsSave(FzLsEntity fzLsEntity) {
		return R.data(rhzfFzLsService.save(fzLsEntity));
	}
}
