package com.goafanti.organization.service; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletResponse; import com.goafanti.common.bo.Result; import com.goafanti.common.model.CompanyLibrary; import com.goafanti.common.model.OfficialFeePrice; import com.goafanti.common.model.PatentPrice; import com.goafanti.common.model.PaymentLog; import com.goafanti.common.model.SoftWritingPrice; import com.goafanti.common.model.TOrderPayment; import com.goafanti.common.model.ThirdPartyCompany; import com.goafanti.core.mybatis.page.Pagination; import com.goafanti.organization.bo.InputNodeList; import com.goafanti.organization.bo.InputPaymentList; import com.goafanti.organization.bo.InputPaymentNode; import com.goafanti.organization.bo.InuptFinancialPayment; import com.goafanti.organization.bo.OutPaymentLog; import com.goafanti.organization.bo.OutPaymentNode; import com.goafanti.organization.bo.OutThirdPartyCompany; import com.goafanti.organization.bo.outFinancialPayment; import com.goafanti.organization.bo.outNodeList; import com.goafanti.organization.bo.outPaymentList; import com.goafanti.organization.bo.outOrderPayment; public interface ThirdPartyCompanyService { int addCompany(ThirdPartyCompany t, Integer calculation, Integer type); List selectVague(String name, Integer type); int updateCompany(ThirdPartyCompany t, Integer calculation); int addPaymentNode(InputPaymentNode p); int updatePaymentNode(InputPaymentNode p); List selectCompany(Integer tid); List selectPaymentNode(Integer tid); int deleteCompany(String id); int deletePaymentNode(String id); int addOrderPayment(TOrderPayment p); outOrderPayment OrderPaymentDetails(Integer id); int updateOrderPayment(TOrderPayment p); List selectOrderPayment(Integer id); List selectPaymentLog(Integer id); int addfinancialPayment(InuptFinancialPayment f); List selectfinancialPayment(Integer id); int checkPayment(TOrderPayment p); boolean checkprojectDun(TOrderPayment p); Pagination selectPaymentList(InputPaymentList i); Pagination selectPaymentList(InputNodeList i); int insertSoftWritingPrice(SoftWritingPrice s); int updateSoftWritingPrice(SoftWritingPrice s); Pagination listSoftWritingPrice(SoftWritingPrice s, Integer pageNo, Integer pageSize); int deleteSoftWritingPrice(Integer id); Integer pushSelectByCid(String companyName, int i); boolean checkSoftWritingPrice(SoftWritingPrice s); Map updateGroupPayment(String ids); int addOfficialFeePrice(OfficialFeePrice o); int updateOfficialFeePrice(OfficialFeePrice o); int deleteOfficialFeePrice(Integer id); Pagination listOfficialFeePrice(Integer type, Integer patentType, Integer pageSize, Integer pageNo); int deleteFinancialPayment(Integer id); boolean addNodeCheck(InputPaymentNode p); void calculationUnitPrice(ThirdPartyCompany t); int addpatentPrice(PatentPrice p); int updatepatentPrice(PatentPrice p); int deletepatentPrice(Integer id); List listpatentPrice(String name); void calculationPatentUnitPrice(ThirdPartyCompany t); boolean addCompanyChekeNumber(ThirdPartyCompany t); void checkGetAmount(TOrderPayment p); Result exportPaymentList(HttpServletResponse response, InputPaymentList ip, Integer type); boolean checkOfficialFeePrice(OfficialFeePrice o); int pushPaymentExamine(PaymentLog in, String pids); boolean checkQuantity(TOrderPayment p); Map checkThirdParty(Integer id); Object checkNode(Integer id); Object updateCheck(Integer id, Integer type); }