package com.dsh.course.feignClient.activity; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.dsh.course.feignClient.account.model.Company; import com.dsh.course.feignClient.account.model.CompanyQuerySuperiorIdAndTypeAndFlgAndNameReq; import com.dsh.course.feignClient.account.model.CompanyQueryTypeAndFlgAndNameReq; import com.dsh.course.feignClient.account.model.CompanyQueryTypeAndFlgReq; import com.dsh.course.feignClient.activity.model.*; import com.dsh.course.feignClient.order.model.GetAllTradeMoneyReq; import com.dsh.guns.modular.system.model.DriverUpdateReq; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import java.util.List; import java.util.Map; @FeignClient(value = "mb-cloud-account") public interface CompanyClient { @PostMapping("/companyCity/queryByIdCompany") CompanyInfoRes queryById(Integer id); @PostMapping("/companyCity/queryByTypeCompany") List queryByTypeCompany(Integer type); @PostMapping("/companyCity/queryListCompany") List queryByListCompany(CompanyQueryReq req); @PostMapping("/company/queryByTypeAndFlg") CompanyInfoRes queryByTypeAndFlg(CompanyQueryTypeAndFlgReq req); @PostMapping("/company/queryByTypeAndFlgAndName") CompanyInfoRes queryByTypeAndFlgAndName(CompanyQueryTypeAndFlgAndNameReq req); @PostMapping("/company/queryBySuperiorIdAndTypeAndFlgAndName") CompanyInfoRes queryBySuperiorIdAndTypeAndFlgAndName(CompanyQuerySuperiorIdAndTypeAndFlgAndNameReq req); @PostMapping("/company/queryByStateAndFlg") List queryByStateAndFlg(CompanyQueryStateAndFlgReq req); @PostMapping("/company/queryByStateAndFlgGetOne") CompanyInfoRes queryByStateAndFlgGetOne(CompanyQueryStateAndFlgReq req); @PostMapping("/company/saveCompany") Integer saveCompany(SaveCompanyReq req); @PostMapping("/companyCity/deleteByCompanyId") Boolean deleteByCompanyId(Integer companyId); @PostMapping("/companyCity/queryCompanyCityByIdAndCompanyId") TCompanyCityResp queryCompanyCityByIdAndCompanyId(QueryCompanyCityReq req); @PostMapping("/companyCity/saveCompanyCity") Boolean saveCompanyCity(TCompanyCityResp req); @PostMapping("/companyCity/updateCompanyCity") Boolean updateCompanyCity(TCompanyCityResp req); @PostMapping("/company/updateCompany") Boolean updateCompany(CompanyInfoRes req); @PostMapping("/companyCity/getFranchiseeList") List getFranchiseeList(FranchiseeListReq req); @PostMapping("/company/selectList") List selectList(QueryWrapper ne); @PostMapping("/company/getCompanyScopeById") List> getCompanyScopeById( Integer id); @PostMapping("/company/getCompanyList") List> getCompanyList( GetCompanyListReq req); @PostMapping("/company/getFranchiseeList1") List> getFranchiseeList1( GetFranchiseeList1Req req); @PostMapping("/company/selectList1") List selectList1(DriverUpdateReq driverUpdateReq); @PostMapping("/company/getCompanyByTypeAndFlag") Company getCompanyByTypeAndFlag(CompanyQueryStateAndFlgReq companyQueryStateAndFlgReq); @PostMapping("/companyCity/deleteCompanyCity") void deleteCompanyCity(Integer id); @PostMapping("/companyCity/selectListOneChange") List selectListOneChange(Integer oneId); @PostMapping("/companyCity/queryIdByName") List queryIdByName(String company); @PostMapping("/companyCity/getAllIncomeMoney") Double getAllIncomeMoney(Integer companyId); @PostMapping("/companyCity/getAllIncomeMoney1") Double getAllIncomeMoney1(GetAllTradeMoneyReq getAllTradeMoneyReq); @PostMapping("/companyCity/selectList2") List selectList2(Integer id); @PostMapping("/companyCity/selectList3") List selectList3(Integer id); @PostMapping("/company/getAuditList") List> getAuditList( GetCompanyListReq req); @PostMapping("/company/getCompanyCityByCompanyId") List getCompanyCityByCompanyId(Integer id); @PostMapping("/company/removeById") Boolean removeById(Integer id); @PostMapping("/company/getCompanyCityById") List> getCompanyCityById( Integer id); // Object queryOperationalData(Integer type, String start, String end, Integer companyId, Integer offset, Integer limit); // // // HSSFWorkbook downloadOperationalData(Integer type, String start, String end, Integer companyId); }