Package com.elitesland.ystdms.sys.feign
Interface SysProfitFeignClient
@FeignClient(name="${yst.service.system:yst-dms2-newsys}",
path="/api/v1/sys/profitCenter")
public interface SysProfitFeignClient
-
Method Summary
Modifier and TypeMethodDescriptionlistByCodes(@NotEmpty(message="\u5229\u6da6\u4e2d\u5fc3\u7f16\u7801") Set<String> profitCodes) 利润中心编码listByNames(@NotEmpty(message="\u5229\u6da6\u4e2d\u5fc3\u540d\u79f0") Set<String> profitNames) 利润中心名称
-
Method Details
-
listByCodes
@PostMapping("/listByCodes") ApiResult<List<SysProfitCenterDTO>> listByCodes(@RequestBody @NotEmpty(message="\u5229\u6da6\u4e2d\u5fc3\u7f16\u7801") @NotEmpty(message="\u5229\u6da6\u4e2d\u5fc3\u7f16\u7801") Set<String> profitCodes) 利润中心编码- Parameters:
profitCodes- 利润中心编码- Returns:
- 利润中心编码
-
listByNames
@PostMapping("/listByNames") ApiResult<List<SysProfitCenterDTO>> listByNames(@RequestBody @NotEmpty(message="\u5229\u6da6\u4e2d\u5fc3\u540d\u79f0") @NotEmpty(message="\u5229\u6da6\u4e2d\u5fc3\u540d\u79f0") Set<String> profitNames) 利润中心名称- Parameters:
profitNames- 利润中心名称- Returns:
- 利润中心名称
-