Skip to content
Snippets Groups Projects

Feature/zq

Merged 周全 requested to merge feature/zq into develop
Compare and
26 files
+ 1369
1
Compare changes
  • Side-by-side
  • Inline
Files
26
package com.seasky.projectplan.api;
import com.seasky.core.common.Result;
import com.seasky.projectplan.dto.partyNumber.PartyNumberCmd;
import com.seasky.projectplan.dto.partyNumber.PartyNumberOut;
import com.seasky.projectplan.dto.partyNumber.PartyNumberQry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Description:
*
* @author 小周(ง • ̀ _ • ́)ง
* @since 2022/11/10 10:42
*/
@FeignClient("projectplan-provider")
@RequestMapping("partyNumber")
public interface IPartyNumber {
/**
* 保存党员人数
*
* @param partyNumberCmd 方数cmd
* @return {@link Result}<{@link Long}>
*/
@PostMapping(path = "/savePartyNumber")
Result<Long> savePartyNumber(PartyNumberCmd partyNumberCmd);
/**
* 删除党员人数
*
* @param ids id
* @return {@link Result}<{@link Integer}>
*/
@PostMapping(path = "/removePartyNumber")
Result<Integer> removePartyNumber(List<Long> ids);
/**
* 分页查询党员人数信息
*
* @param partyNumberQry 方数qry
* @return {@link Result}<{@link PartyNumberOut}>
*/
@PostMapping(path = "/queryPartyNumber")
Result<PartyNumberOut> queryPartyNumber(PartyNumberQry partyNumberQry);
/**
* 根据id查询党员人数信息
*
* @param id id
* @return {@link Result}<{@link PartyNumberOut}>
*/
@PostMapping(path = "/queryPartyNumberById")
Result<PartyNumberOut> queryPartyNumberById(Long id);
/**
* 下载 党员人数信息 导入模板
*
* @param request 请求
* @param response 响应
*/
@PostMapping(path = "/downLoadPartyNumberTemplate")
Result<Object> downLoadPartyNumberTemplate(HttpServletRequest request, HttpServletResponse response);
/**
* 导出 党员人数信息
*
* @param request 请求
* @param response 响应
* @return {@link Result}<{@link Object}>
*/
@PostMapping(path = "/exportPartyNumberInformation")
Result<Object> exportPartyNumberInformation(HttpServletRequest request,HttpServletResponse response);
/**
* 导入党员人数信息
*
* @param request 请求
* @param response 响应
* @param file 文件
* @return {@link Result}<{@link Object}>
*/
@PostMapping(path = "/importPartyNumber")
Result<Object> importPartyNumber(HttpServletRequest request, HttpServletResponse response, MultipartFile file);
}