提交 5d3aa7fe 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码,后台体系[Spring Boot]

上级 def64d9e
...@@ -40,22 +40,36 @@ public interface IAccount_taxService extends IService<Account_tax>{ ...@@ -40,22 +40,36 @@ public interface IAccount_taxService extends IService<Account_tax>{
Page<Account_tax> searchDefault(Account_taxSearchContext context) ; Page<Account_tax> searchDefault(Account_taxSearchContext context) ;
Page<Account_tax> searchPurchase(Account_taxSearchContext context) ; Page<Account_tax> searchPurchase(Account_taxSearchContext context) ;
Page<Account_tax> searchSale(Account_taxSearchContext context) ; Page<Account_tax> searchSale(Account_taxSearchContext context) ;
List<Account_tax> selectByAccountId(Long id) ; List<Account_tax> selectByAccountId(Long id);
void removeByAccountId(Long id) ; List<Account_tax> selectByAccountId(Collection<Long> ids);
List<Account_tax> selectByCashBasisAccountId(Long id) ; void removeByAccountId(Long id);
void removeByCashBasisAccountId(Long id) ; List<Account_tax> selectByCashBasisAccountId(Long id);
List<Account_tax> selectByCashBasisBaseAccountId(Long id) ; void resetByCashBasisAccountId(Long id);
void removeByCashBasisBaseAccountId(Long id) ; void resetByCashBasisAccountId(Collection<Long> ids);
List<Account_tax> selectByRefundAccountId(Long id) ; void removeByCashBasisAccountId(Long id);
void removeByRefundAccountId(Long id) ; List<Account_tax> selectByCashBasisBaseAccountId(Long id);
List<Account_tax> selectByTaxGroupId(Long id) ; void resetByCashBasisBaseAccountId(Long id);
void removeByTaxGroupId(Long id) ; void resetByCashBasisBaseAccountId(Collection<Long> ids);
List<Account_tax> selectByCompanyId(Long id) ; void removeByCashBasisBaseAccountId(Long id);
void removeByCompanyId(Long id) ; List<Account_tax> selectByRefundAccountId(Long id);
List<Account_tax> selectByCreateUid(Long id) ; List<Account_tax> selectByRefundAccountId(Collection<Long> ids);
void removeByCreateUid(Long id) ; void removeByRefundAccountId(Long id);
List<Account_tax> selectByWriteUid(Long id) ; List<Account_tax> selectByTaxGroupId(Long id);
void removeByWriteUid(Long id) ; void resetByTaxGroupId(Long id);
void resetByTaxGroupId(Collection<Long> ids);
void removeByTaxGroupId(Long id);
List<Account_tax> selectByCompanyId(Long id);
void resetByCompanyId(Long id);
void resetByCompanyId(Collection<Long> ids);
void removeByCompanyId(Long id);
List<Account_tax> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Account_tax> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,42 +38,77 @@ public interface IRes_companyService extends IService<Res_company>{ ...@@ -38,42 +38,77 @@ public interface IRes_companyService extends IService<Res_company>{
boolean save(Res_company et) ; boolean save(Res_company et) ;
void saveBatch(List<Res_company> list) ; void saveBatch(List<Res_company> list) ;
Page<Res_company> searchDefault(Res_companySearchContext context) ; Page<Res_company> searchDefault(Res_companySearchContext context) ;
List<Res_company> selectByPropertyStockAccountInputCategId(Long id) ; List<Res_company> selectByPropertyStockAccountInputCategId(Long id);
void removeByPropertyStockAccountInputCategId(Long id) ; void resetByPropertyStockAccountInputCategId(Long id);
List<Res_company> selectByPropertyStockAccountOutputCategId(Long id) ; void resetByPropertyStockAccountInputCategId(Collection<Long> ids);
void removeByPropertyStockAccountOutputCategId(Long id) ; void removeByPropertyStockAccountInputCategId(Long id);
List<Res_company> selectByPropertyStockValuationAccountId(Long id) ; List<Res_company> selectByPropertyStockAccountOutputCategId(Long id);
void removeByPropertyStockValuationAccountId(Long id) ; void resetByPropertyStockAccountOutputCategId(Long id);
List<Res_company> selectByTransferAccountId(Long id) ; void resetByPropertyStockAccountOutputCategId(Collection<Long> ids);
void removeByTransferAccountId(Long id) ; void removeByPropertyStockAccountOutputCategId(Long id);
List<Res_company> selectByChartTemplateId(Long id) ; List<Res_company> selectByPropertyStockValuationAccountId(Long id);
void removeByChartTemplateId(Long id) ; void resetByPropertyStockValuationAccountId(Long id);
List<Res_company> selectByIncotermId(Long id) ; void resetByPropertyStockValuationAccountId(Collection<Long> ids);
void removeByIncotermId(Long id) ; void removeByPropertyStockValuationAccountId(Long id);
List<Res_company> selectByCurrencyExchangeJournalId(Long id) ; List<Res_company> selectByTransferAccountId(Long id);
void removeByCurrencyExchangeJournalId(Long id) ; void resetByTransferAccountId(Long id);
List<Res_company> selectByTaxCashBasisJournalId(Long id) ; void resetByTransferAccountId(Collection<Long> ids);
void removeByTaxCashBasisJournalId(Long id) ; void removeByTransferAccountId(Long id);
List<Res_company> selectByAccountOpeningMoveId(Long id) ; List<Res_company> selectByChartTemplateId(Long id);
void removeByAccountOpeningMoveId(Long id) ; void resetByChartTemplateId(Long id);
List<Res_company> selectByAccountPurchaseTaxId(Long id) ; void resetByChartTemplateId(Collection<Long> ids);
void removeByAccountPurchaseTaxId(Long id) ; void removeByChartTemplateId(Long id);
List<Res_company> selectByAccountSaleTaxId(Long id) ; List<Res_company> selectByIncotermId(Long id);
void removeByAccountSaleTaxId(Long id) ; void resetByIncotermId(Long id);
List<Res_company> selectByResourceCalendarId(Long id) ; void resetByIncotermId(Collection<Long> ids);
void removeByResourceCalendarId(Long id) ; void removeByIncotermId(Long id);
List<Res_company> selectByParentId(Long id) ; List<Res_company> selectByCurrencyExchangeJournalId(Long id);
void removeByParentId(Long id) ; void resetByCurrencyExchangeJournalId(Long id);
List<Res_company> selectByCurrencyId(Long id) ; void resetByCurrencyExchangeJournalId(Collection<Long> ids);
void removeByCurrencyId(Long id) ; void removeByCurrencyExchangeJournalId(Long id);
List<Res_company> selectByPartnerId(Long id) ; List<Res_company> selectByTaxCashBasisJournalId(Long id);
void removeByPartnerId(Long id) ; void resetByTaxCashBasisJournalId(Long id);
List<Res_company> selectByCreateUid(Long id) ; void resetByTaxCashBasisJournalId(Collection<Long> ids);
void removeByCreateUid(Long id) ; void removeByTaxCashBasisJournalId(Long id);
List<Res_company> selectByWriteUid(Long id) ; List<Res_company> selectByAccountOpeningMoveId(Long id);
void removeByWriteUid(Long id) ; void resetByAccountOpeningMoveId(Long id);
List<Res_company> selectByInternalTransitLocationId(Long id) ; void resetByAccountOpeningMoveId(Collection<Long> ids);
void removeByInternalTransitLocationId(Long id) ; void removeByAccountOpeningMoveId(Long id);
List<Res_company> selectByAccountPurchaseTaxId(Long id);
void resetByAccountPurchaseTaxId(Long id);
void resetByAccountPurchaseTaxId(Collection<Long> ids);
void removeByAccountPurchaseTaxId(Long id);
List<Res_company> selectByAccountSaleTaxId(Long id);
void resetByAccountSaleTaxId(Long id);
void resetByAccountSaleTaxId(Collection<Long> ids);
void removeByAccountSaleTaxId(Long id);
List<Res_company> selectByResourceCalendarId(Long id);
List<Res_company> selectByResourceCalendarId(Collection<Long> ids);
void removeByResourceCalendarId(Long id);
List<Res_company> selectByParentId(Long id);
void resetByParentId(Long id);
void resetByParentId(Collection<Long> ids);
void removeByParentId(Long id);
List<Res_company> selectByCurrencyId(Long id);
void resetByCurrencyId(Long id);
void resetByCurrencyId(Collection<Long> ids);
void removeByCurrencyId(Long id);
List<Res_company> selectByPartnerId(Long id);
void resetByPartnerId(Long id);
void resetByPartnerId(Collection<Long> ids);
void removeByPartnerId(Long id);
List<Res_company> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Res_company> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
List<Res_company> selectByInternalTransitLocationId(Long id);
void resetByInternalTransitLocationId(Long id);
void resetByInternalTransitLocationId(Collection<Long> ids);
void removeByInternalTransitLocationId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,12 +38,18 @@ public interface IRes_countryService extends IService<Res_country>{ ...@@ -38,12 +38,18 @@ public interface IRes_countryService extends IService<Res_country>{
boolean save(Res_country et) ; boolean save(Res_country et) ;
void saveBatch(List<Res_country> list) ; void saveBatch(List<Res_country> list) ;
Page<Res_country> searchDefault(Res_countrySearchContext context) ; Page<Res_country> searchDefault(Res_countrySearchContext context) ;
List<Res_country> selectByCurrencyId(Long id) ; List<Res_country> selectByCurrencyId(Long id);
void removeByCurrencyId(Long id) ; void resetByCurrencyId(Long id);
List<Res_country> selectByCreateUid(Long id) ; void resetByCurrencyId(Collection<Long> ids);
void removeByCreateUid(Long id) ; void removeByCurrencyId(Long id);
List<Res_country> selectByWriteUid(Long id) ; List<Res_country> selectByCreateUid(Long id);
void removeByWriteUid(Long id) ; void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Res_country> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,14 @@ public interface IRes_country_groupService extends IService<Res_country_group>{ ...@@ -38,10 +38,14 @@ public interface IRes_country_groupService extends IService<Res_country_group>{
boolean save(Res_country_group et) ; boolean save(Res_country_group et) ;
void saveBatch(List<Res_country_group> list) ; void saveBatch(List<Res_country_group> list) ;
Page<Res_country_group> searchDefault(Res_country_groupSearchContext context) ; Page<Res_country_group> searchDefault(Res_country_groupSearchContext context) ;
List<Res_country_group> selectByCreateUid(Long id) ; List<Res_country_group> selectByCreateUid(Long id);
void removeByCreateUid(Long id) ; void resetByCreateUid(Long id);
List<Res_country_group> selectByWriteUid(Long id) ; void resetByCreateUid(Collection<Long> ids);
void removeByWriteUid(Long id) ; void removeByCreateUid(Long id);
List<Res_country_group> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,12 +38,18 @@ public interface IRes_country_stateService extends IService<Res_country_state>{ ...@@ -38,12 +38,18 @@ public interface IRes_country_stateService extends IService<Res_country_state>{
boolean save(Res_country_state et) ; boolean save(Res_country_state et) ;
void saveBatch(List<Res_country_state> list) ; void saveBatch(List<Res_country_state> list) ;
Page<Res_country_state> searchDefault(Res_country_stateSearchContext context) ; Page<Res_country_state> searchDefault(Res_country_stateSearchContext context) ;
List<Res_country_state> selectByCountryId(Long id) ; List<Res_country_state> selectByCountryId(Long id);
void removeByCountryId(Long id) ; void resetByCountryId(Long id);
List<Res_country_state> selectByCreateUid(Long id) ; void resetByCountryId(Collection<Long> ids);
void removeByCreateUid(Long id) ; void removeByCountryId(Long id);
List<Res_country_state> selectByWriteUid(Long id) ; List<Res_country_state> selectByCreateUid(Long id);
void removeByWriteUid(Long id) ; void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Res_country_state> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,28 +38,48 @@ public interface IRes_partnerService extends IService<Res_partner>{ ...@@ -38,28 +38,48 @@ public interface IRes_partnerService extends IService<Res_partner>{
boolean save(Res_partner et) ; boolean save(Res_partner et) ;
void saveBatch(List<Res_partner> list) ; void saveBatch(List<Res_partner> list) ;
Page<Res_partner> searchDefault(Res_partnerSearchContext context) ; Page<Res_partner> searchDefault(Res_partnerSearchContext context) ;
List<Res_partner> selectByTeamId(Long id) ; List<Res_partner> selectByTeamId(Long id);
void removeByTeamId(Long id) ; void resetByTeamId(Long id);
List<Res_partner> selectByCompanyId(Long id) ; void resetByTeamId(Collection<Long> ids);
void removeByCompanyId(Long id) ; void removeByTeamId(Long id);
List<Res_partner> selectByStateId(Long id) ; List<Res_partner> selectByCompanyId(Long id);
void removeByStateId(Long id) ; void resetByCompanyId(Long id);
List<Res_partner> selectByCountryId(Long id) ; void resetByCompanyId(Collection<Long> ids);
void removeByCountryId(Long id) ; void removeByCompanyId(Long id);
List<Res_partner> selectByIndustryId(Long id) ; List<Res_partner> selectByStateId(Long id);
void removeByIndustryId(Long id) ; List<Res_partner> selectByStateId(Collection<Long> ids);
List<Res_partner> selectByTitle(Long id) ; void removeByStateId(Long id);
void removeByTitle(Long id) ; List<Res_partner> selectByCountryId(Long id);
List<Res_partner> selectByCommercialPartnerId(Long id) ; List<Res_partner> selectByCountryId(Collection<Long> ids);
void removeByCommercialPartnerId(Long id) ; void removeByCountryId(Long id);
List<Res_partner> selectByParentId(Long id) ; List<Res_partner> selectByIndustryId(Long id);
void removeByParentId(Long id) ; void resetByIndustryId(Long id);
List<Res_partner> selectByCreateUid(Long id) ; void resetByIndustryId(Collection<Long> ids);
void removeByCreateUid(Long id) ; void removeByIndustryId(Long id);
List<Res_partner> selectByUserId(Long id) ; List<Res_partner> selectByTitle(Long id);
void removeByUserId(Long id) ; void resetByTitle(Long id);
List<Res_partner> selectByWriteUid(Long id) ; void resetByTitle(Collection<Long> ids);
void removeByWriteUid(Long id) ; void removeByTitle(Long id);
List<Res_partner> selectByCommercialPartnerId(Long id);
void resetByCommercialPartnerId(Long id);
void resetByCommercialPartnerId(Collection<Long> ids);
void removeByCommercialPartnerId(Long id);
List<Res_partner> selectByParentId(Long id);
void resetByParentId(Long id);
void resetByParentId(Collection<Long> ids);
void removeByParentId(Long id);
List<Res_partner> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Res_partner> selectByUserId(Long id);
void resetByUserId(Long id);
void resetByUserId(Collection<Long> ids);
void removeByUserId(Long id);
List<Res_partner> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,12 +38,17 @@ public interface IRes_partner_categoryService extends IService<Res_partner_categ ...@@ -38,12 +38,17 @@ public interface IRes_partner_categoryService extends IService<Res_partner_categ
boolean save(Res_partner_category et) ; boolean save(Res_partner_category et) ;
void saveBatch(List<Res_partner_category> list) ; void saveBatch(List<Res_partner_category> list) ;
Page<Res_partner_category> searchDefault(Res_partner_categorySearchContext context) ; Page<Res_partner_category> searchDefault(Res_partner_categorySearchContext context) ;
List<Res_partner_category> selectByParentId(Long id) ; List<Res_partner_category> selectByParentId(Long id);
void removeByParentId(Long id) ; void removeByParentId(Collection<Long> ids);
List<Res_partner_category> selectByCreateUid(Long id) ; void removeByParentId(Long id);
void removeByCreateUid(Long id) ; List<Res_partner_category> selectByCreateUid(Long id);
List<Res_partner_category> selectByWriteUid(Long id) ; void resetByCreateUid(Long id);
void removeByWriteUid(Long id) ; void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Res_partner_category> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,10 @@ public interface IRes_partner_res_partner_category_relService extends IService<R ...@@ -38,10 +38,10 @@ public interface IRes_partner_res_partner_category_relService extends IService<R
boolean save(Res_partner_res_partner_category_rel et) ; boolean save(Res_partner_res_partner_category_rel et) ;
void saveBatch(List<Res_partner_res_partner_category_rel> list) ; void saveBatch(List<Res_partner_res_partner_category_rel> list) ;
Page<Res_partner_res_partner_category_rel> searchDefault(Res_partner_res_partner_category_relSearchContext context) ; Page<Res_partner_res_partner_category_rel> searchDefault(Res_partner_res_partner_category_relSearchContext context) ;
List<Res_partner_res_partner_category_rel> selectByCategoryId(Long id) ; List<Res_partner_res_partner_category_rel> selectByCategoryId(Long id);
void removeByCategoryId(Long id) ; void removeByCategoryId(Long id);
List<Res_partner_res_partner_category_rel> selectByPartnerId(Long id) ; List<Res_partner_res_partner_category_rel> selectByPartnerId(Long id);
void removeByPartnerId(Long id) ; void removeByPartnerId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,14 @@ public interface IRes_partner_titleService extends IService<Res_partner_title>{ ...@@ -38,10 +38,14 @@ public interface IRes_partner_titleService extends IService<Res_partner_title>{
boolean save(Res_partner_title et) ; boolean save(Res_partner_title et) ;
void saveBatch(List<Res_partner_title> list) ; void saveBatch(List<Res_partner_title> list) ;
Page<Res_partner_title> searchDefault(Res_partner_titleSearchContext context) ; Page<Res_partner_title> searchDefault(Res_partner_titleSearchContext context) ;
List<Res_partner_title> selectByCreateUid(Long id) ; List<Res_partner_title> selectByCreateUid(Long id);
void removeByCreateUid(Long id) ; void resetByCreateUid(Long id);
List<Res_partner_title> selectByWriteUid(Long id) ; void resetByCreateUid(Collection<Long> ids);
void removeByWriteUid(Long id) ; void removeByCreateUid(Long id);
List<Res_partner_title> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,10 @@ public interface IRes_supplier_res_partner_category_relService extends IService< ...@@ -38,10 +38,10 @@ public interface IRes_supplier_res_partner_category_relService extends IService<
boolean save(Res_supplier_res_partner_category_rel et) ; boolean save(Res_supplier_res_partner_category_rel et) ;
void saveBatch(List<Res_supplier_res_partner_category_rel> list) ; void saveBatch(List<Res_supplier_res_partner_category_rel> list) ;
Page<Res_supplier_res_partner_category_rel> searchDefault(Res_supplier_res_partner_category_relSearchContext context) ; Page<Res_supplier_res_partner_category_rel> searchDefault(Res_supplier_res_partner_category_relSearchContext context) ;
List<Res_supplier_res_partner_category_rel> selectByCategoryId(Long id) ; List<Res_supplier_res_partner_category_rel> selectByCategoryId(Long id);
void removeByCategoryId(Long id) ; void removeByCategoryId(Long id);
List<Res_supplier_res_partner_category_rel> selectByPartnerId(Long id) ; List<Res_supplier_res_partner_category_rel> selectByPartnerId(Long id);
void removeByPartnerId(Long id) ; void removeByPartnerId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,18 +38,29 @@ public interface IRes_usersService extends IService<Res_users>{ ...@@ -38,18 +38,29 @@ public interface IRes_usersService extends IService<Res_users>{
boolean save(Res_users et) ; boolean save(Res_users et) ;
void saveBatch(List<Res_users> list) ; void saveBatch(List<Res_users> list) ;
Page<Res_users> searchDefault(Res_usersSearchContext context) ; Page<Res_users> searchDefault(Res_usersSearchContext context) ;
List<Res_users> selectBySaleTeamId(Long id) ; List<Res_users> selectBySaleTeamId(Long id);
void removeBySaleTeamId(Long id) ; void resetBySaleTeamId(Long id);
List<Res_users> selectByAliasId(Long id) ; void resetBySaleTeamId(Collection<Long> ids);
void removeByAliasId(Long id) ; void removeBySaleTeamId(Long id);
List<Res_users> selectByCompanyId(Long id) ; List<Res_users> selectByAliasId(Long id);
void removeByCompanyId(Long id) ; void resetByAliasId(Long id);
List<Res_users> selectByPartnerId(Long id) ; void resetByAliasId(Collection<Long> ids);
void removeByPartnerId(Long id) ; void removeByAliasId(Long id);
List<Res_users> selectByCreateUid(Long id) ; List<Res_users> selectByCompanyId(Long id);
void removeByCreateUid(Long id) ; void resetByCompanyId(Long id);
List<Res_users> selectByWriteUid(Long id) ; void resetByCompanyId(Collection<Long> ids);
void removeByWriteUid(Long id) ; void removeByCompanyId(Long id);
List<Res_users> selectByPartnerId(Long id);
List<Res_users> selectByPartnerId(Collection<Long> ids);
void removeByPartnerId(Long id);
List<Res_users> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Res_users> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,34 +38,61 @@ public interface ICrm_leadService extends IService<Crm_lead>{ ...@@ -38,34 +38,61 @@ public interface ICrm_leadService extends IService<Crm_lead>{
boolean save(Crm_lead et) ; boolean save(Crm_lead et) ;
void saveBatch(List<Crm_lead> list) ; void saveBatch(List<Crm_lead> list) ;
Page<Crm_lead> searchDefault(Crm_leadSearchContext context) ; Page<Crm_lead> searchDefault(Crm_leadSearchContext context) ;
List<Crm_lead> selectByLostReason(Long id) ; List<Crm_lead> selectByLostReason(Long id);
void removeByLostReason(Long id) ; void resetByLostReason(Long id);
List<Crm_lead> selectByStageId(Long id) ; void resetByLostReason(Collection<Long> ids);
void removeByStageId(Long id) ; void removeByLostReason(Long id);
List<Crm_lead> selectByTeamId(Long id) ; List<Crm_lead> selectByStageId(Long id);
void removeByTeamId(Long id) ; List<Crm_lead> selectByStageId(Collection<Long> ids);
List<Crm_lead> selectByCompanyId(Long id) ; void removeByStageId(Long id);
void removeByCompanyId(Long id) ; List<Crm_lead> selectByTeamId(Long id);
List<Crm_lead> selectByStateId(Long id) ; void resetByTeamId(Long id);
void removeByStateId(Long id) ; void resetByTeamId(Collection<Long> ids);
List<Crm_lead> selectByCountryId(Long id) ; void removeByTeamId(Long id);
void removeByCountryId(Long id) ; List<Crm_lead> selectByCompanyId(Long id);
List<Crm_lead> selectByTitle(Long id) ; void resetByCompanyId(Long id);
void removeByTitle(Long id) ; void resetByCompanyId(Collection<Long> ids);
List<Crm_lead> selectByPartnerId(Long id) ; void removeByCompanyId(Long id);
void removeByPartnerId(Long id) ; List<Crm_lead> selectByStateId(Long id);
List<Crm_lead> selectByCreateUid(Long id) ; void resetByStateId(Long id);
void removeByCreateUid(Long id) ; void resetByStateId(Collection<Long> ids);
List<Crm_lead> selectByUserId(Long id) ; void removeByStateId(Long id);
void removeByUserId(Long id) ; List<Crm_lead> selectByCountryId(Long id);
List<Crm_lead> selectByWriteUid(Long id) ; void resetByCountryId(Long id);
void removeByWriteUid(Long id) ; void resetByCountryId(Collection<Long> ids);
List<Crm_lead> selectByCampaignId(Long id) ; void removeByCountryId(Long id);
void removeByCampaignId(Long id) ; List<Crm_lead> selectByTitle(Long id);
List<Crm_lead> selectByMediumId(Long id) ; void resetByTitle(Long id);
void removeByMediumId(Long id) ; void resetByTitle(Collection<Long> ids);
List<Crm_lead> selectBySourceId(Long id) ; void removeByTitle(Long id);
void removeBySourceId(Long id) ; List<Crm_lead> selectByPartnerId(Long id);
void resetByPartnerId(Long id);
void resetByPartnerId(Collection<Long> ids);
void removeByPartnerId(Long id);
List<Crm_lead> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Crm_lead> selectByUserId(Long id);
void resetByUserId(Long id);
void resetByUserId(Collection<Long> ids);
void removeByUserId(Long id);
List<Crm_lead> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
List<Crm_lead> selectByCampaignId(Long id);
void resetByCampaignId(Long id);
void resetByCampaignId(Collection<Long> ids);
void removeByCampaignId(Long id);
List<Crm_lead> selectByMediumId(Long id);
void resetByMediumId(Long id);
void resetByMediumId(Collection<Long> ids);
void removeByMediumId(Long id);
List<Crm_lead> selectBySourceId(Long id);
void resetBySourceId(Long id);
void resetBySourceId(Collection<Long> ids);
void removeBySourceId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,8 +38,8 @@ public interface IIr_attachmentService extends IService<Ir_attachment>{ ...@@ -38,8 +38,8 @@ public interface IIr_attachmentService extends IService<Ir_attachment>{
boolean save(Ir_attachment et) ; boolean save(Ir_attachment et) ;
void saveBatch(List<Ir_attachment> list) ; void saveBatch(List<Ir_attachment> list) ;
Page<Ir_attachment> searchDefault(Ir_attachmentSearchContext context) ; Page<Ir_attachment> searchDefault(Ir_attachmentSearchContext context) ;
List<Ir_attachment> selectByCompanyId(Long id) ; List<Ir_attachment> selectByCompanyId(Long id);
void removeByCompanyId(Long id) ; void removeByCompanyId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -39,8 +39,8 @@ public interface IIr_model_fieldsService extends IService<Ir_model_fields>{ ...@@ -39,8 +39,8 @@ public interface IIr_model_fieldsService extends IService<Ir_model_fields>{
void saveBatch(List<Ir_model_fields> list) ; void saveBatch(List<Ir_model_fields> list) ;
Page<Ir_model_fields> searchDefault(Ir_model_fieldsSearchContext context) ; Page<Ir_model_fields> searchDefault(Ir_model_fieldsSearchContext context) ;
Page<Ir_model_fields> searchTrackingFields(Ir_model_fieldsSearchContext context) ; Page<Ir_model_fields> searchTrackingFields(Ir_model_fieldsSearchContext context) ;
List<Ir_model_fields> selectByModelId(Long id) ; List<Ir_model_fields> selectByModelId(Long id);
void removeByModelId(Long id) ; void removeByModelId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -46,12 +46,12 @@ public interface IIr_sequenceService extends IService<Ir_sequence>{ ...@@ -46,12 +46,12 @@ public interface IIr_sequenceService extends IService<Ir_sequence>{
Ir_sequence select_nextval(Ir_sequence et) ; Ir_sequence select_nextval(Ir_sequence et) ;
Ir_sequence update_nogap(Ir_sequence et) ; Ir_sequence update_nogap(Ir_sequence et) ;
Page<Ir_sequence> searchDefault(Ir_sequenceSearchContext context) ; Page<Ir_sequence> searchDefault(Ir_sequenceSearchContext context) ;
List<Ir_sequence> selectByCompanyId(Long id) ; List<Ir_sequence> selectByCompanyId(Long id);
void removeByCompanyId(Long id) ; void removeByCompanyId(Long id);
List<Ir_sequence> selectByCreateUid(Long id) ; List<Ir_sequence> selectByCreateUid(Long id);
void removeByCreateUid(Long id) ; void removeByCreateUid(Long id);
List<Ir_sequence> selectByWriteUid(Long id) ; List<Ir_sequence> selectByWriteUid(Long id);
void removeByWriteUid(Long id) ; void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -41,12 +41,12 @@ public interface IIr_sequence_date_rangeService extends IService<Ir_sequence_dat ...@@ -41,12 +41,12 @@ public interface IIr_sequence_date_rangeService extends IService<Ir_sequence_dat
Ir_sequence_date_range select_nextval(Ir_sequence_date_range et) ; Ir_sequence_date_range select_nextval(Ir_sequence_date_range et) ;
Ir_sequence_date_range update_nogap(Ir_sequence_date_range et) ; Ir_sequence_date_range update_nogap(Ir_sequence_date_range et) ;
Page<Ir_sequence_date_range> searchDefault(Ir_sequence_date_rangeSearchContext context) ; Page<Ir_sequence_date_range> searchDefault(Ir_sequence_date_rangeSearchContext context) ;
List<Ir_sequence_date_range> selectBySequenceId(Long id) ; List<Ir_sequence_date_range> selectBySequenceId(Long id);
void removeBySequenceId(Long id) ; void removeBySequenceId(Long id);
List<Ir_sequence_date_range> selectByCreateUid(Long id) ; List<Ir_sequence_date_range> selectByCreateUid(Long id);
void removeByCreateUid(Long id) ; void removeByCreateUid(Long id);
List<Ir_sequence_date_range> selectByWriteUid(Long id) ; List<Ir_sequence_date_range> selectByWriteUid(Long id);
void removeByWriteUid(Long id) ; void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -39,22 +39,35 @@ public interface IMail_activityService extends IService<Mail_activity>{ ...@@ -39,22 +39,35 @@ public interface IMail_activityService extends IService<Mail_activity>{
boolean save(Mail_activity et) ; boolean save(Mail_activity et) ;
void saveBatch(List<Mail_activity> list) ; void saveBatch(List<Mail_activity> list) ;
Page<Mail_activity> searchDefault(Mail_activitySearchContext context) ; Page<Mail_activity> searchDefault(Mail_activitySearchContext context) ;
List<Mail_activity> selectByCalendarEventId(Long id) ; List<Mail_activity> selectByCalendarEventId(Long id);
void removeByCalendarEventId(Long id) ; void removeByCalendarEventId(Collection<Long> ids);
List<Mail_activity> selectByActivityTypeId(Long id) ; void removeByCalendarEventId(Long id);
void removeByActivityTypeId(Long id) ; List<Mail_activity> selectByActivityTypeId(Long id);
List<Mail_activity> selectByPreviousActivityTypeId(Long id) ; List<Mail_activity> selectByActivityTypeId(Collection<Long> ids);
void removeByPreviousActivityTypeId(Long id) ; void removeByActivityTypeId(Long id);
List<Mail_activity> selectByRecommendedActivityTypeId(Long id) ; List<Mail_activity> selectByPreviousActivityTypeId(Long id);
void removeByRecommendedActivityTypeId(Long id) ; void resetByPreviousActivityTypeId(Long id);
List<Mail_activity> selectByNoteId(Long id) ; void resetByPreviousActivityTypeId(Collection<Long> ids);
void removeByNoteId(Long id) ; void removeByPreviousActivityTypeId(Long id);
List<Mail_activity> selectByCreateUid(Long id) ; List<Mail_activity> selectByRecommendedActivityTypeId(Long id);
void removeByCreateUid(Long id) ; void resetByRecommendedActivityTypeId(Long id);
List<Mail_activity> selectByUserId(Long id) ; void resetByRecommendedActivityTypeId(Collection<Long> ids);
void removeByUserId(Long id) ; void removeByRecommendedActivityTypeId(Long id);
List<Mail_activity> selectByWriteUid(Long id) ; List<Mail_activity> selectByNoteId(Long id);
void removeByWriteUid(Long id) ; void removeByNoteId(Collection<Long> ids);
void removeByNoteId(Long id);
List<Mail_activity> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Mail_activity> selectByUserId(Long id);
void resetByUserId(Long id);
void resetByUserId(Collection<Long> ids);
void removeByUserId(Long id);
List<Mail_activity> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,12 +38,18 @@ public interface IMail_activity_typeService extends IService<Mail_activity_type> ...@@ -38,12 +38,18 @@ public interface IMail_activity_typeService extends IService<Mail_activity_type>
boolean save(Mail_activity_type et) ; boolean save(Mail_activity_type et) ;
void saveBatch(List<Mail_activity_type> list) ; void saveBatch(List<Mail_activity_type> list) ;
Page<Mail_activity_type> searchDefault(Mail_activity_typeSearchContext context) ; Page<Mail_activity_type> searchDefault(Mail_activity_typeSearchContext context) ;
List<Mail_activity_type> selectByDefaultNextTypeId(Long id) ; List<Mail_activity_type> selectByDefaultNextTypeId(Long id);
void removeByDefaultNextTypeId(Long id) ; void resetByDefaultNextTypeId(Long id);
List<Mail_activity_type> selectByCreateUid(Long id) ; void resetByDefaultNextTypeId(Collection<Long> ids);
void removeByCreateUid(Long id) ; void removeByDefaultNextTypeId(Long id);
List<Mail_activity_type> selectByWriteUid(Long id) ; List<Mail_activity_type> selectByCreateUid(Long id);
void removeByWriteUid(Long id) ; void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Mail_activity_type> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,12 @@ public interface IMail_followersService extends IService<Mail_followers>{ ...@@ -38,10 +38,12 @@ public interface IMail_followersService extends IService<Mail_followers>{
boolean save(Mail_followers et) ; boolean save(Mail_followers et) ;
void saveBatch(List<Mail_followers> list) ; void saveBatch(List<Mail_followers> list) ;
Page<Mail_followers> searchDefault(Mail_followersSearchContext context) ; Page<Mail_followers> searchDefault(Mail_followersSearchContext context) ;
List<Mail_followers> selectByChannelId(Long id) ; List<Mail_followers> selectByChannelId(Long id);
void removeByChannelId(Long id) ; void removeByChannelId(Collection<Long> ids);
List<Mail_followers> selectByPartnerId(Long id) ; void removeByChannelId(Long id);
void removeByPartnerId(Long id) ; List<Mail_followers> selectByPartnerId(Long id);
void removeByPartnerId(Collection<Long> ids);
void removeByPartnerId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,10 @@ public interface IMail_followers_mail_message_subtype_relService extends IServic ...@@ -38,10 +38,10 @@ public interface IMail_followers_mail_message_subtype_relService extends IServic
boolean save(Mail_followers_mail_message_subtype_rel et) ; boolean save(Mail_followers_mail_message_subtype_rel et) ;
void saveBatch(List<Mail_followers_mail_message_subtype_rel> list) ; void saveBatch(List<Mail_followers_mail_message_subtype_rel> list) ;
Page<Mail_followers_mail_message_subtype_rel> searchDefault(Mail_followers_mail_message_subtype_relSearchContext context) ; Page<Mail_followers_mail_message_subtype_rel> searchDefault(Mail_followers_mail_message_subtype_relSearchContext context) ;
List<Mail_followers_mail_message_subtype_rel> selectByMailFollowersId(Long id) ; List<Mail_followers_mail_message_subtype_rel> selectByMailFollowersId(Long id);
void removeByMailFollowersId(Long id) ; void removeByMailFollowersId(Long id);
List<Mail_followers_mail_message_subtype_rel> selectByMailMessageSubtypeId(Long id) ; List<Mail_followers_mail_message_subtype_rel> selectByMailMessageSubtypeId(Long id);
void removeByMailMessageSubtypeId(Long id) ; void removeByMailMessageSubtypeId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -41,20 +41,34 @@ public interface IMail_messageService extends IService<Mail_message>{ ...@@ -41,20 +41,34 @@ public interface IMail_messageService extends IService<Mail_message>{
void saveBatch(List<Mail_message> list) ; void saveBatch(List<Mail_message> list) ;
Page<Mail_message> searchByRes(Mail_messageSearchContext context) ; Page<Mail_message> searchByRes(Mail_messageSearchContext context) ;
Page<Mail_message> searchDefault(Mail_messageSearchContext context) ; Page<Mail_message> searchDefault(Mail_messageSearchContext context) ;
List<Mail_message> selectByMailActivityTypeId(Long id) ; List<Mail_message> selectByMailActivityTypeId(Long id);
void removeByMailActivityTypeId(Long id) ; void resetByMailActivityTypeId(Long id);
List<Mail_message> selectBySubtypeId(Long id) ; void resetByMailActivityTypeId(Collection<Long> ids);
void removeBySubtypeId(Long id) ; void removeByMailActivityTypeId(Long id);
List<Mail_message> selectByParentId(Long id) ; List<Mail_message> selectBySubtypeId(Long id);
void removeByParentId(Long id) ; void resetBySubtypeId(Long id);
List<Mail_message> selectByAuthorId(Long id) ; void resetBySubtypeId(Collection<Long> ids);
void removeByAuthorId(Long id) ; void removeBySubtypeId(Long id);
List<Mail_message> selectByCreateUid(Long id) ; List<Mail_message> selectByParentId(Long id);
void removeByCreateUid(Long id) ; void resetByParentId(Long id);
List<Mail_message> selectByModeratorId(Long id) ; void resetByParentId(Collection<Long> ids);
void removeByModeratorId(Long id) ; void removeByParentId(Long id);
List<Mail_message> selectByWriteUid(Long id) ; List<Mail_message> selectByAuthorId(Long id);
void removeByWriteUid(Long id) ; void resetByAuthorId(Long id);
void resetByAuthorId(Collection<Long> ids);
void removeByAuthorId(Long id);
List<Mail_message> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Mail_message> selectByModeratorId(Long id);
void resetByModeratorId(Long id);
void resetByModeratorId(Collection<Long> ids);
void removeByModeratorId(Long id);
List<Mail_message> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -39,12 +39,18 @@ public interface IMail_message_subtypeService extends IService<Mail_message_subt ...@@ -39,12 +39,18 @@ public interface IMail_message_subtypeService extends IService<Mail_message_subt
void saveBatch(List<Mail_message_subtype> list) ; void saveBatch(List<Mail_message_subtype> list) ;
Page<Mail_message_subtype> searchDefault(Mail_message_subtypeSearchContext context) ; Page<Mail_message_subtype> searchDefault(Mail_message_subtypeSearchContext context) ;
Page<Mail_message_subtype> searchDefaultEx(Mail_message_subtypeSearchContext context) ; Page<Mail_message_subtype> searchDefaultEx(Mail_message_subtypeSearchContext context) ;
List<Mail_message_subtype> selectByParentId(Long id) ; List<Mail_message_subtype> selectByParentId(Long id);
void removeByParentId(Long id) ; void resetByParentId(Long id);
List<Mail_message_subtype> selectByCreateUid(Long id) ; void resetByParentId(Collection<Long> ids);
void removeByCreateUid(Long id) ; void removeByParentId(Long id);
List<Mail_message_subtype> selectByWriteUid(Long id) ; List<Mail_message_subtype> selectByCreateUid(Long id);
void removeByWriteUid(Long id) ; void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Mail_message_subtype> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,12 +38,17 @@ public interface IMail_tracking_valueService extends IService<Mail_tracking_valu ...@@ -38,12 +38,17 @@ public interface IMail_tracking_valueService extends IService<Mail_tracking_valu
boolean save(Mail_tracking_value et) ; boolean save(Mail_tracking_value et) ;
void saveBatch(List<Mail_tracking_value> list) ; void saveBatch(List<Mail_tracking_value> list) ;
Page<Mail_tracking_value> searchDefault(Mail_tracking_valueSearchContext context) ; Page<Mail_tracking_value> searchDefault(Mail_tracking_valueSearchContext context) ;
List<Mail_tracking_value> selectByMailMessageId(Long id) ; List<Mail_tracking_value> selectByMailMessageId(Long id);
void removeByMailMessageId(Long id) ; void removeByMailMessageId(Collection<Long> ids);
List<Mail_tracking_value> selectByCreateUid(Long id) ; void removeByMailMessageId(Long id);
void removeByCreateUid(Long id) ; List<Mail_tracking_value> selectByCreateUid(Long id);
List<Mail_tracking_value> selectByWriteUid(Long id) ; void resetByCreateUid(Long id);
void removeByWriteUid(Long id) ; void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Mail_tracking_value> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,10 @@ public interface IMessage_attachment_relService extends IService<Message_attachm ...@@ -38,10 +38,10 @@ public interface IMessage_attachment_relService extends IService<Message_attachm
boolean save(Message_attachment_rel et) ; boolean save(Message_attachment_rel et) ;
void saveBatch(List<Message_attachment_rel> list) ; void saveBatch(List<Message_attachment_rel> list) ;
Page<Message_attachment_rel> searchDefault(Message_attachment_relSearchContext context) ; Page<Message_attachment_rel> searchDefault(Message_attachment_relSearchContext context) ;
List<Message_attachment_rel> selectByAttachmentId(Long id) ; List<Message_attachment_rel> selectByAttachmentId(Long id);
void removeByAttachmentId(Long id) ; void removeByAttachmentId(Long id);
List<Message_attachment_rel> selectByMessageId(Long id) ; List<Message_attachment_rel> selectByMessageId(Long id);
void removeByMessageId(Long id) ; void removeByMessageId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,14 @@ public interface IProduct_attributeService extends IService<Product_attribute>{ ...@@ -38,10 +38,14 @@ public interface IProduct_attributeService extends IService<Product_attribute>{
boolean save(Product_attribute et) ; boolean save(Product_attribute et) ;
void saveBatch(List<Product_attribute> list) ; void saveBatch(List<Product_attribute> list) ;
Page<Product_attribute> searchDefault(Product_attributeSearchContext context) ; Page<Product_attribute> searchDefault(Product_attributeSearchContext context) ;
List<Product_attribute> selectByCreateUid(Long id) ; List<Product_attribute> selectByCreateUid(Long id);
void removeByCreateUid(Long id) ; void resetByCreateUid(Long id);
List<Product_attribute> selectByWriteUid(Long id) ; void resetByCreateUid(Collection<Long> ids);
void removeByWriteUid(Long id) ; void removeByCreateUid(Long id);
List<Product_attribute> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,10 @@ public interface IProduct_attribute_value_product_template_attribute_line_relSer ...@@ -38,10 +38,10 @@ public interface IProduct_attribute_value_product_template_attribute_line_relSer
boolean save(Product_attribute_value_product_template_attribute_line_rel et) ; boolean save(Product_attribute_value_product_template_attribute_line_rel et) ;
void saveBatch(List<Product_attribute_value_product_template_attribute_line_rel> list) ; void saveBatch(List<Product_attribute_value_product_template_attribute_line_rel> list) ;
Page<Product_attribute_value_product_template_attribute_line_rel> searchDefault(Product_attribute_value_product_template_attribute_line_relSearchContext context) ; Page<Product_attribute_value_product_template_attribute_line_rel> searchDefault(Product_attribute_value_product_template_attribute_line_relSearchContext context) ;
List<Product_attribute_value_product_template_attribute_line_rel> selectByProductAttributeValueId(Long id) ; List<Product_attribute_value_product_template_attribute_line_rel> selectByProductAttributeValueId(Long id);
void removeByProductAttributeValueId(Long id) ; void removeByProductAttributeValueId(Long id);
List<Product_attribute_value_product_template_attribute_line_rel> selectByProductTemplateAttributeLineId(Long id) ; List<Product_attribute_value_product_template_attribute_line_rel> selectByProductTemplateAttributeLineId(Long id);
void removeByProductTemplateAttributeLineId(Long id) ; void removeByProductTemplateAttributeLineId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,14 +38,21 @@ public interface IProduct_categoryService extends IService<Product_category>{ ...@@ -38,14 +38,21 @@ public interface IProduct_categoryService extends IService<Product_category>{
boolean save(Product_category et) ; boolean save(Product_category et) ;
void saveBatch(List<Product_category> list) ; void saveBatch(List<Product_category> list) ;
Page<Product_category> searchDefault(Product_categorySearchContext context) ; Page<Product_category> searchDefault(Product_categorySearchContext context) ;
List<Product_category> selectByParentId(Long id) ; List<Product_category> selectByParentId(Long id);
void removeByParentId(Long id) ; void removeByParentId(Collection<Long> ids);
List<Product_category> selectByRemovalStrategyId(Long id) ; void removeByParentId(Long id);
void removeByRemovalStrategyId(Long id) ; List<Product_category> selectByRemovalStrategyId(Long id);
List<Product_category> selectByCreateUid(Long id) ; void resetByRemovalStrategyId(Long id);
void removeByCreateUid(Long id) ; void resetByRemovalStrategyId(Collection<Long> ids);
List<Product_category> selectByWriteUid(Long id) ; void removeByRemovalStrategyId(Long id);
void removeByWriteUid(Long id) ; List<Product_category> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Product_category> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,12 +38,17 @@ public interface IProduct_productService extends IService<Product_product>{ ...@@ -38,12 +38,17 @@ public interface IProduct_productService extends IService<Product_product>{
boolean save(Product_product et) ; boolean save(Product_product et) ;
void saveBatch(List<Product_product> list) ; void saveBatch(List<Product_product> list) ;
Page<Product_product> searchDefault(Product_productSearchContext context) ; Page<Product_product> searchDefault(Product_productSearchContext context) ;
List<Product_product> selectByProductTmplId(Long id) ; List<Product_product> selectByProductTmplId(Long id);
void removeByProductTmplId(Long id) ; void removeByProductTmplId(Collection<Long> ids);
List<Product_product> selectByCreateUid(Long id) ; void removeByProductTmplId(Long id);
void removeByCreateUid(Long id) ; List<Product_product> selectByCreateUid(Long id);
List<Product_product> selectByWriteUid(Long id) ; void resetByCreateUid(Long id);
void removeByWriteUid(Long id) ; void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Product_product> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,22 +38,34 @@ public interface IProduct_supplierinfoService extends IService<Product_supplieri ...@@ -38,22 +38,34 @@ public interface IProduct_supplierinfoService extends IService<Product_supplieri
boolean save(Product_supplierinfo et) ; boolean save(Product_supplierinfo et) ;
void saveBatch(List<Product_supplierinfo> list) ; void saveBatch(List<Product_supplierinfo> list) ;
Page<Product_supplierinfo> searchDefault(Product_supplierinfoSearchContext context) ; Page<Product_supplierinfo> searchDefault(Product_supplierinfoSearchContext context) ;
List<Product_supplierinfo> selectByPurchaseRequisitionLineId(Long id) ; List<Product_supplierinfo> selectByPurchaseRequisitionLineId(Long id);
void removeByPurchaseRequisitionLineId(Long id) ; void removeByPurchaseRequisitionLineId(Collection<Long> ids);
List<Product_supplierinfo> selectByName(Long id) ; void removeByPurchaseRequisitionLineId(Long id);
void removeByName(Long id) ; List<Product_supplierinfo> selectByName(Long id);
List<Product_supplierinfo> selectByProductId(Long id) ; void removeByName(Long id);
void removeByProductId(Long id) ; List<Product_supplierinfo> selectByProductId(Long id);
List<Product_supplierinfo> selectByProductTmplId(Long id) ; void resetByProductId(Long id);
void removeByProductTmplId(Long id) ; void resetByProductId(Collection<Long> ids);
List<Product_supplierinfo> selectByCompanyId(Long id) ; void removeByProductId(Long id);
void removeByCompanyId(Long id) ; List<Product_supplierinfo> selectByProductTmplId(Long id);
List<Product_supplierinfo> selectByCurrencyId(Long id) ; void removeByProductTmplId(Collection<Long> ids);
void removeByCurrencyId(Long id) ; void removeByProductTmplId(Long id);
List<Product_supplierinfo> selectByCreateUid(Long id) ; List<Product_supplierinfo> selectByCompanyId(Long id);
void removeByCreateUid(Long id) ; void resetByCompanyId(Long id);
List<Product_supplierinfo> selectByWriteUid(Long id) ; void resetByCompanyId(Collection<Long> ids);
void removeByWriteUid(Long id) ; void removeByCompanyId(Long id);
List<Product_supplierinfo> selectByCurrencyId(Long id);
void resetByCurrencyId(Long id);
void resetByCurrencyId(Collection<Long> ids);
void removeByCurrencyId(Long id);
List<Product_supplierinfo> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Product_supplierinfo> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,18 +38,30 @@ public interface IProduct_templateService extends IService<Product_template>{ ...@@ -38,18 +38,30 @@ public interface IProduct_templateService extends IService<Product_template>{
boolean save(Product_template et) ; boolean save(Product_template et) ;
void saveBatch(List<Product_template> list) ; void saveBatch(List<Product_template> list) ;
Page<Product_template> searchDefault(Product_templateSearchContext context) ; Page<Product_template> searchDefault(Product_templateSearchContext context) ;
List<Product_template> selectByCategId(Long id) ; List<Product_template> selectByCategId(Long id);
void removeByCategId(Long id) ; void resetByCategId(Long id);
List<Product_template> selectByCompanyId(Long id) ; void resetByCategId(Collection<Long> ids);
void removeByCompanyId(Long id) ; void removeByCategId(Long id);
List<Product_template> selectByCreateUid(Long id) ; List<Product_template> selectByCompanyId(Long id);
void removeByCreateUid(Long id) ; void resetByCompanyId(Long id);
List<Product_template> selectByWriteUid(Long id) ; void resetByCompanyId(Collection<Long> ids);
void removeByWriteUid(Long id) ; void removeByCompanyId(Long id);
List<Product_template> selectByUomId(Long id) ; List<Product_template> selectByCreateUid(Long id);
void removeByUomId(Long id) ; void resetByCreateUid(Long id);
List<Product_template> selectByUomPoId(Long id) ; void resetByCreateUid(Collection<Long> ids);
void removeByUomPoId(Long id) ; void removeByCreateUid(Long id);
List<Product_template> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
List<Product_template> selectByUomId(Long id);
void resetByUomId(Long id);
void resetByUomId(Collection<Long> ids);
void removeByUomId(Long id);
List<Product_template> selectByUomPoId(Long id);
void resetByUomPoId(Long id);
void resetByUomPoId(Collection<Long> ids);
void removeByUomPoId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,14 +38,20 @@ public interface IProduct_template_attribute_lineService extends IService<Produc ...@@ -38,14 +38,20 @@ public interface IProduct_template_attribute_lineService extends IService<Produc
boolean save(Product_template_attribute_line et) ; boolean save(Product_template_attribute_line et) ;
void saveBatch(List<Product_template_attribute_line> list) ; void saveBatch(List<Product_template_attribute_line> list) ;
Page<Product_template_attribute_line> searchDefault(Product_template_attribute_lineSearchContext context) ; Page<Product_template_attribute_line> searchDefault(Product_template_attribute_lineSearchContext context) ;
List<Product_template_attribute_line> selectByAttributeId(Long id) ; List<Product_template_attribute_line> selectByAttributeId(Long id);
void removeByAttributeId(Long id) ; List<Product_template_attribute_line> selectByAttributeId(Collection<Long> ids);
List<Product_template_attribute_line> selectByProductTmplId(Long id) ; void removeByAttributeId(Long id);
void removeByProductTmplId(Long id) ; List<Product_template_attribute_line> selectByProductTmplId(Long id);
List<Product_template_attribute_line> selectByCreateUid(Long id) ; void removeByProductTmplId(Collection<Long> ids);
void removeByCreateUid(Long id) ; void removeByProductTmplId(Long id);
List<Product_template_attribute_line> selectByWriteUid(Long id) ; List<Product_template_attribute_line> selectByCreateUid(Long id);
void removeByWriteUid(Long id) ; void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Product_template_attribute_line> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,10 @@ public interface IAccount_move_purchase_order_relService extends IService<Accoun ...@@ -38,10 +38,10 @@ public interface IAccount_move_purchase_order_relService extends IService<Accoun
boolean save(Account_move_purchase_order_rel et) ; boolean save(Account_move_purchase_order_rel et) ;
void saveBatch(List<Account_move_purchase_order_rel> list) ; void saveBatch(List<Account_move_purchase_order_rel> list) ;
Page<Account_move_purchase_order_rel> searchDefault(Account_move_purchase_order_relSearchContext context) ; Page<Account_move_purchase_order_rel> searchDefault(Account_move_purchase_order_relSearchContext context) ;
List<Account_move_purchase_order_rel> selectByAccountMoveId(Long id) ; List<Account_move_purchase_order_rel> selectByAccountMoveId(Long id);
void removeByAccountMoveId(Long id) ; void removeByAccountMoveId(Long id);
List<Account_move_purchase_order_rel> selectByPurchaseOrderId(Long id) ; List<Account_move_purchase_order_rel> selectByPurchaseOrderId(Long id);
void removeByPurchaseOrderId(Long id) ; void removeByPurchaseOrderId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,10 @@ public interface IAccount_tax_purchase_order_line_relService extends IService<Ac ...@@ -38,10 +38,10 @@ public interface IAccount_tax_purchase_order_line_relService extends IService<Ac
boolean save(Account_tax_purchase_order_line_rel et) ; boolean save(Account_tax_purchase_order_line_rel et) ;
void saveBatch(List<Account_tax_purchase_order_line_rel> list) ; void saveBatch(List<Account_tax_purchase_order_line_rel> list) ;
Page<Account_tax_purchase_order_line_rel> searchDefault(Account_tax_purchase_order_line_relSearchContext context) ; Page<Account_tax_purchase_order_line_rel> searchDefault(Account_tax_purchase_order_line_relSearchContext context) ;
List<Account_tax_purchase_order_line_rel> selectByAccountTaxId(Long id) ; List<Account_tax_purchase_order_line_rel> selectByAccountTaxId(Long id);
void removeByAccountTaxId(Long id) ; void removeByAccountTaxId(Long id);
List<Account_tax_purchase_order_line_rel> selectByPurchaseOrderLineId(Long id) ; List<Account_tax_purchase_order_line_rel> selectByPurchaseOrderLineId(Long id);
void removeByPurchaseOrderLineId(Long id) ; void removeByPurchaseOrderLineId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,16 +38,26 @@ public interface IPurchase_bill_unionService extends IService<Purchase_bill_unio ...@@ -38,16 +38,26 @@ public interface IPurchase_bill_unionService extends IService<Purchase_bill_unio
boolean save(Purchase_bill_union et) ; boolean save(Purchase_bill_union et) ;
void saveBatch(List<Purchase_bill_union> list) ; void saveBatch(List<Purchase_bill_union> list) ;
Page<Purchase_bill_union> searchDefault(Purchase_bill_unionSearchContext context) ; Page<Purchase_bill_union> searchDefault(Purchase_bill_unionSearchContext context) ;
List<Purchase_bill_union> selectByVendorBillId(Long id) ; List<Purchase_bill_union> selectByVendorBillId(Long id);
void removeByVendorBillId(Long id) ; void resetByVendorBillId(Long id);
List<Purchase_bill_union> selectByPurchaseOrderId(Long id) ; void resetByVendorBillId(Collection<Long> ids);
void removeByPurchaseOrderId(Long id) ; void removeByVendorBillId(Long id);
List<Purchase_bill_union> selectByCompanyId(Long id) ; List<Purchase_bill_union> selectByPurchaseOrderId(Long id);
void removeByCompanyId(Long id) ; void resetByPurchaseOrderId(Long id);
List<Purchase_bill_union> selectByCurrencyId(Long id) ; void resetByPurchaseOrderId(Collection<Long> ids);
void removeByCurrencyId(Long id) ; void removeByPurchaseOrderId(Long id);
List<Purchase_bill_union> selectByPartnerId(Long id) ; List<Purchase_bill_union> selectByCompanyId(Long id);
void removeByPartnerId(Long id) ; void resetByCompanyId(Long id);
void resetByCompanyId(Collection<Long> ids);
void removeByCompanyId(Long id);
List<Purchase_bill_union> selectByCurrencyId(Long id);
void resetByCurrencyId(Long id);
void resetByCurrencyId(Collection<Long> ids);
void removeByCurrencyId(Long id);
List<Purchase_bill_union> selectByPartnerId(Long id);
void resetByPartnerId(Long id);
void resetByPartnerId(Collection<Long> ids);
void removeByPartnerId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -46,30 +46,50 @@ public interface IPurchase_orderService extends IService<Purchase_order>{ ...@@ -46,30 +46,50 @@ public interface IPurchase_orderService extends IService<Purchase_order>{
void saveBatch(List<Purchase_order> list) ; void saveBatch(List<Purchase_order> list) ;
Page<Purchase_order> searchDefault(Purchase_orderSearchContext context) ; Page<Purchase_order> searchDefault(Purchase_orderSearchContext context) ;
Page<Purchase_order> searchOrder(Purchase_orderSearchContext context) ; Page<Purchase_order> searchOrder(Purchase_orderSearchContext context) ;
List<Purchase_order> selectByRequisitionId(Long id) ; List<Purchase_order> selectByRequisitionId(Long id);
void removeByRequisitionId(Long id) ; void removeByRequisitionId(Long id);
List<Purchase_order> selectByPartnerId(Long id) ; List<Purchase_order> selectByPartnerId(Long id);
void removeByPartnerId(Long id) ; void removeByPartnerId(Long id);
List<Purchase_order> selectByFiscalPositionId(Long id) ; List<Purchase_order> selectByFiscalPositionId(Long id);
void removeByFiscalPositionId(Long id) ; void resetByFiscalPositionId(Long id);
List<Purchase_order> selectByIncotermId(Long id) ; void resetByFiscalPositionId(Collection<Long> ids);
void removeByIncotermId(Long id) ; void removeByFiscalPositionId(Long id);
List<Purchase_order> selectByPaymentTermId(Long id) ; List<Purchase_order> selectByIncotermId(Long id);
void removeByPaymentTermId(Long id) ; void resetByIncotermId(Long id);
List<Purchase_order> selectByCompanyId(Long id) ; void resetByIncotermId(Collection<Long> ids);
void removeByCompanyId(Long id) ; void removeByIncotermId(Long id);
List<Purchase_order> selectByCurrencyId(Long id) ; List<Purchase_order> selectByPaymentTermId(Long id);
void removeByCurrencyId(Long id) ; void resetByPaymentTermId(Long id);
List<Purchase_order> selectByDestAddressId(Long id) ; void resetByPaymentTermId(Collection<Long> ids);
void removeByDestAddressId(Long id) ; void removeByPaymentTermId(Long id);
List<Purchase_order> selectByCreateUid(Long id) ; List<Purchase_order> selectByCompanyId(Long id);
void removeByCreateUid(Long id) ; void resetByCompanyId(Long id);
List<Purchase_order> selectByUserId(Long id) ; void resetByCompanyId(Collection<Long> ids);
void removeByUserId(Long id) ; void removeByCompanyId(Long id);
List<Purchase_order> selectByWriteUid(Long id) ; List<Purchase_order> selectByCurrencyId(Long id);
void removeByWriteUid(Long id) ; void resetByCurrencyId(Long id);
List<Purchase_order> selectByPickingTypeId(Long id) ; void resetByCurrencyId(Collection<Long> ids);
void removeByPickingTypeId(Long id) ; void removeByCurrencyId(Long id);
List<Purchase_order> selectByDestAddressId(Long id);
void resetByDestAddressId(Long id);
void resetByDestAddressId(Collection<Long> ids);
void removeByDestAddressId(Long id);
List<Purchase_order> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Purchase_order> selectByUserId(Long id);
void resetByUserId(Long id);
void resetByUserId(Collection<Long> ids);
void removeByUserId(Long id);
List<Purchase_order> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
List<Purchase_order> selectByPickingTypeId(Long id);
void resetByPickingTypeId(Long id);
void resetByPickingTypeId(Collection<Long> ids);
void removeByPickingTypeId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -40,30 +40,53 @@ public interface IPurchase_order_lineService extends IService<Purchase_order_lin ...@@ -40,30 +40,53 @@ public interface IPurchase_order_lineService extends IService<Purchase_order_lin
void saveBatch(List<Purchase_order_line> list) ; void saveBatch(List<Purchase_order_line> list) ;
Page<HashMap> searchCalc_order_amount(Purchase_order_lineSearchContext context) ; Page<HashMap> searchCalc_order_amount(Purchase_order_lineSearchContext context) ;
Page<Purchase_order_line> searchDefault(Purchase_order_lineSearchContext context) ; Page<Purchase_order_line> searchDefault(Purchase_order_lineSearchContext context) ;
List<Purchase_order_line> selectByAccountAnalyticId(Long id) ; List<Purchase_order_line> selectByAccountAnalyticId(Long id);
void removeByAccountAnalyticId(Long id) ; void resetByAccountAnalyticId(Long id);
List<Purchase_order_line> selectByProductId(Long id) ; void resetByAccountAnalyticId(Collection<Long> ids);
void removeByProductId(Long id) ; void removeByAccountAnalyticId(Long id);
List<Purchase_order_line> selectByOrderId(Long id) ; List<Purchase_order_line> selectByProductId(Long id);
void removeByOrderId(Long id) ; void resetByProductId(Long id);
List<Purchase_order_line> selectByCompanyId(Long id) ; void resetByProductId(Collection<Long> ids);
void removeByCompanyId(Long id) ; void removeByProductId(Long id);
List<Purchase_order_line> selectByCurrencyId(Long id) ; List<Purchase_order_line> selectByOrderId(Long id);
void removeByCurrencyId(Long id) ; void removeByOrderId(Collection<Long> ids);
List<Purchase_order_line> selectByPartnerId(Long id) ; void removeByOrderId(Long id);
void removeByPartnerId(Long id) ; List<Purchase_order_line> selectByCompanyId(Long id);
List<Purchase_order_line> selectByCreateUid(Long id) ; void resetByCompanyId(Long id);
void removeByCreateUid(Long id) ; void resetByCompanyId(Collection<Long> ids);
List<Purchase_order_line> selectByWriteUid(Long id) ; void removeByCompanyId(Long id);
void removeByWriteUid(Long id) ; List<Purchase_order_line> selectByCurrencyId(Long id);
List<Purchase_order_line> selectBySaleLineId(Long id) ; void resetByCurrencyId(Long id);
void removeBySaleLineId(Long id) ; void resetByCurrencyId(Collection<Long> ids);
List<Purchase_order_line> selectBySaleOrderId(Long id) ; void removeByCurrencyId(Long id);
void removeBySaleOrderId(Long id) ; List<Purchase_order_line> selectByPartnerId(Long id);
List<Purchase_order_line> selectByOrderpointId(Long id) ; void resetByPartnerId(Long id);
void removeByOrderpointId(Long id) ; void resetByPartnerId(Collection<Long> ids);
List<Purchase_order_line> selectByProductUom(Long id) ; void removeByPartnerId(Long id);
void removeByProductUom(Long id) ; List<Purchase_order_line> selectByCreateUid(Long id);
void resetByCreateUid(Long id);
void resetByCreateUid(Collection<Long> ids);
void removeByCreateUid(Long id);
List<Purchase_order_line> selectByWriteUid(Long id);
void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
List<Purchase_order_line> selectBySaleLineId(Long id);
void resetBySaleLineId(Long id);
void resetBySaleLineId(Collection<Long> ids);
void removeBySaleLineId(Long id);
List<Purchase_order_line> selectBySaleOrderId(Long id);
void resetBySaleOrderId(Long id);
void resetBySaleOrderId(Collection<Long> ids);
void removeBySaleOrderId(Long id);
List<Purchase_order_line> selectByOrderpointId(Long id);
void resetByOrderpointId(Long id);
void resetByOrderpointId(Collection<Long> ids);
void removeByOrderpointId(Long id);
List<Purchase_order_line> selectByProductUom(Long id);
void resetByProductUom(Long id);
void resetByProductUom(Collection<Long> ids);
void removeByProductUom(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,32 +38,58 @@ public interface IPurchase_reportService extends IService<Purchase_report>{ ...@@ -38,32 +38,58 @@ public interface IPurchase_reportService extends IService<Purchase_report>{
boolean save(Purchase_report et) ; boolean save(Purchase_report et) ;
void saveBatch(List<Purchase_report> list) ; void saveBatch(List<Purchase_report> list) ;
Page<Purchase_report> searchDefault(Purchase_reportSearchContext context) ; Page<Purchase_report> searchDefault(Purchase_reportSearchContext context) ;
List<Purchase_report> selectByAccountAnalyticId(Long id) ; List<Purchase_report> selectByAccountAnalyticId(Long id);
void removeByAccountAnalyticId(Long id) ; void resetByAccountAnalyticId(Long id);
List<Purchase_report> selectByFiscalPositionId(Long id) ; void resetByAccountAnalyticId(Collection<Long> ids);
void removeByFiscalPositionId(Long id) ; void removeByAccountAnalyticId(Long id);
List<Purchase_report> selectByCategoryId(Long id) ; List<Purchase_report> selectByFiscalPositionId(Long id);
void removeByCategoryId(Long id) ; void resetByFiscalPositionId(Long id);
List<Purchase_report> selectByProductId(Long id) ; void resetByFiscalPositionId(Collection<Long> ids);
void removeByProductId(Long id) ; void removeByFiscalPositionId(Long id);
List<Purchase_report> selectByProductTmplId(Long id) ; List<Purchase_report> selectByCategoryId(Long id);
void removeByProductTmplId(Long id) ; void resetByCategoryId(Long id);
List<Purchase_report> selectByCompanyId(Long id) ; void resetByCategoryId(Collection<Long> ids);
void removeByCompanyId(Long id) ; void removeByCategoryId(Long id);
List<Purchase_report> selectByCountryId(Long id) ; List<Purchase_report> selectByProductId(Long id);
void removeByCountryId(Long id) ; void resetByProductId(Long id);
List<Purchase_report> selectByCurrencyId(Long id) ; void resetByProductId(Collection<Long> ids);
void removeByCurrencyId(Long id) ; void removeByProductId(Long id);
List<Purchase_report> selectByCommercialPartnerId(Long id) ; List<Purchase_report> selectByProductTmplId(Long id);
void removeByCommercialPartnerId(Long id) ; void resetByProductTmplId(Long id);
List<Purchase_report> selectByPartnerId(Long id) ; void resetByProductTmplId(Collection<Long> ids);
void removeByPartnerId(Long id) ; void removeByProductTmplId(Long id);
List<Purchase_report> selectByUserId(Long id) ; List<Purchase_report> selectByCompanyId(Long id);
void removeByUserId(Long id) ; void resetByCompanyId(Long id);
List<Purchase_report> selectByPickingTypeId(Long id) ; void resetByCompanyId(Collection<Long> ids);
void removeByPickingTypeId(Long id) ; void removeByCompanyId(Long id);
List<Purchase_report> selectByProductUom(Long id) ; List<Purchase_report> selectByCountryId(Long id);
void removeByProductUom(Long id) ; void resetByCountryId(Long id);
void resetByCountryId(Collection<Long> ids);
void removeByCountryId(Long id);
List<Purchase_report> selectByCurrencyId(Long id);
void resetByCurrencyId(Long id);
void resetByCurrencyId(Collection<Long> ids);
void removeByCurrencyId(Long id);
List<Purchase_report> selectByCommercialPartnerId(Long id);
void resetByCommercialPartnerId(Long id);
void resetByCommercialPartnerId(Collection<Long> ids);
void removeByCommercialPartnerId(Long id);
List<Purchase_report> selectByPartnerId(Long id);
void resetByPartnerId(Long id);
void resetByPartnerId(Collection<Long> ids);
void removeByPartnerId(Long id);
List<Purchase_report> selectByUserId(Long id);
void resetByUserId(Long id);
void resetByUserId(Collection<Long> ids);
void removeByUserId(Long id);
List<Purchase_report> selectByPickingTypeId(Long id);
void resetByPickingTypeId(Long id);
void resetByPickingTypeId(Collection<Long> ids);
void removeByPickingTypeId(Long id);
List<Purchase_report> selectByProductUom(Long id);
void resetByProductUom(Long id);
void resetByProductUom(Collection<Long> ids);
void removeByProductUom(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -44,20 +44,20 @@ public interface IPurchase_requisitionService extends IService<Purchase_requisit ...@@ -44,20 +44,20 @@ public interface IPurchase_requisitionService extends IService<Purchase_requisit
boolean save(Purchase_requisition et) ; boolean save(Purchase_requisition et) ;
void saveBatch(List<Purchase_requisition> list) ; void saveBatch(List<Purchase_requisition> list) ;
Page<Purchase_requisition> searchDefault(Purchase_requisitionSearchContext context) ; Page<Purchase_requisition> searchDefault(Purchase_requisitionSearchContext context) ;
List<Purchase_requisition> selectByTypeId(Long id) ; List<Purchase_requisition> selectByTypeId(Long id);
void removeByTypeId(Long id) ; void removeByTypeId(Long id);
List<Purchase_requisition> selectByCompanyId(Long id) ; List<Purchase_requisition> selectByCompanyId(Long id);
void removeByCompanyId(Long id) ; void removeByCompanyId(Long id);
List<Purchase_requisition> selectByCurrencyId(Long id) ; List<Purchase_requisition> selectByCurrencyId(Long id);
void removeByCurrencyId(Long id) ; void removeByCurrencyId(Long id);
List<Purchase_requisition> selectByVendorId(Long id) ; List<Purchase_requisition> selectByVendorId(Long id);
void removeByVendorId(Long id) ; void removeByVendorId(Long id);
List<Purchase_requisition> selectByCreateUid(Long id) ; List<Purchase_requisition> selectByCreateUid(Long id);
void removeByCreateUid(Long id) ; void removeByCreateUid(Long id);
List<Purchase_requisition> selectByUserId(Long id) ; List<Purchase_requisition> selectByUserId(Long id);
void removeByUserId(Long id) ; void removeByUserId(Long id);
List<Purchase_requisition> selectByWriteUid(Long id) ; List<Purchase_requisition> selectByWriteUid(Long id);
void removeByWriteUid(Long id) ; void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,22 +38,23 @@ public interface IPurchase_requisition_lineService extends IService<Purchase_req ...@@ -38,22 +38,23 @@ public interface IPurchase_requisition_lineService extends IService<Purchase_req
boolean save(Purchase_requisition_line et) ; boolean save(Purchase_requisition_line et) ;
void saveBatch(List<Purchase_requisition_line> list) ; void saveBatch(List<Purchase_requisition_line> list) ;
Page<Purchase_requisition_line> searchDefault(Purchase_requisition_lineSearchContext context) ; Page<Purchase_requisition_line> searchDefault(Purchase_requisition_lineSearchContext context) ;
List<Purchase_requisition_line> selectByAccountAnalyticId(Long id) ; List<Purchase_requisition_line> selectByAccountAnalyticId(Long id);
void removeByAccountAnalyticId(Long id) ; void removeByAccountAnalyticId(Long id);
List<Purchase_requisition_line> selectByProductId(Long id) ; List<Purchase_requisition_line> selectByProductId(Long id);
void removeByProductId(Long id) ; void removeByProductId(Long id);
List<Purchase_requisition_line> selectByRequisitionId(Long id) ; List<Purchase_requisition_line> selectByRequisitionId(Long id);
void removeByRequisitionId(Long id) ; void removeByRequisitionId(Collection<Long> ids);
List<Purchase_requisition_line> selectByCompanyId(Long id) ; void removeByRequisitionId(Long id);
void removeByCompanyId(Long id) ; List<Purchase_requisition_line> selectByCompanyId(Long id);
List<Purchase_requisition_line> selectByCreateUid(Long id) ; void removeByCompanyId(Long id);
void removeByCreateUid(Long id) ; List<Purchase_requisition_line> selectByCreateUid(Long id);
List<Purchase_requisition_line> selectByWriteUid(Long id) ; void removeByCreateUid(Long id);
void removeByWriteUid(Long id) ; List<Purchase_requisition_line> selectByWriteUid(Long id);
List<Purchase_requisition_line> selectByMoveDestId(Long id) ; void removeByWriteUid(Long id);
void removeByMoveDestId(Long id) ; List<Purchase_requisition_line> selectByMoveDestId(Long id);
List<Purchase_requisition_line> selectByProductUomId(Long id) ; void removeByMoveDestId(Long id);
void removeByProductUomId(Long id) ; List<Purchase_requisition_line> selectByProductUomId(Long id);
void removeByProductUomId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,10 +38,10 @@ public interface IPurchase_requisition_typeService extends IService<Purchase_req ...@@ -38,10 +38,10 @@ public interface IPurchase_requisition_typeService extends IService<Purchase_req
boolean save(Purchase_requisition_type et) ; boolean save(Purchase_requisition_type et) ;
void saveBatch(List<Purchase_requisition_type> list) ; void saveBatch(List<Purchase_requisition_type> list) ;
Page<Purchase_requisition_type> searchDefault(Purchase_requisition_typeSearchContext context) ; Page<Purchase_requisition_type> searchDefault(Purchase_requisition_typeSearchContext context) ;
List<Purchase_requisition_type> selectByCreateUid(Long id) ; List<Purchase_requisition_type> selectByCreateUid(Long id);
void removeByCreateUid(Long id) ; void removeByCreateUid(Long id);
List<Purchase_requisition_type> selectByWriteUid(Long id) ; List<Purchase_requisition_type> selectByWriteUid(Long id);
void removeByWriteUid(Long id) ; void removeByWriteUid(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -38,12 +38,17 @@ public interface IUom_uomService extends IService<Uom_uom>{ ...@@ -38,12 +38,17 @@ public interface IUom_uomService extends IService<Uom_uom>{
boolean save(Uom_uom et) ; boolean save(Uom_uom et) ;
void saveBatch(List<Uom_uom> list) ; void saveBatch(List<Uom_uom> list) ;
Page<Uom_uom> searchDefault(Uom_uomSearchContext context) ; Page<Uom_uom> searchDefault(Uom_uomSearchContext context) ;
List<Uom_uom> selectByCreateUid(Long id) ; List<Uom_uom> selectByCreateUid(Long id);
void removeByCreateUid(Long id) ; void resetByCreateUid(Long id);
List<Uom_uom> selectByWriteUid(Long id) ; void resetByCreateUid(Collection<Long> ids);
void removeByWriteUid(Long id) ; void removeByCreateUid(Long id);
List<Uom_uom> selectByCategoryId(Long id) ; List<Uom_uom> selectByWriteUid(Long id);
void removeByCategoryId(Long id) ; void resetByWriteUid(Long id);
void resetByWriteUid(Collection<Long> ids);
void removeByWriteUid(Long id);
List<Uom_uom> selectByCategoryId(Long id);
void removeByCategoryId(Collection<Long> ids);
void removeByCategoryId(Long id);
/** /**
*自定义查询SQL *自定义查询SQL
* @param sql select * from table where id =#{et.param} * @param sql select * from table where id =#{et.param}
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="Res_supplierResultMap" databaseId="postgresql"> <select id="selectById" resultMap="Res_supplierResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1 ) t1 where id=#{id}]]> <![CDATA[select t1.* from (SELECT (SELECT array_to_json(array_agg(t.*)) FROM (SELECT m1.CATEGORY_ID as srfkey, m2.NAME AS srfmajortext FROM res_partner_res_partner_category_rel m1 LEFT JOIN RES_PARTNER_CATEGORY m2 ON m1.CATEGORY_ID = m2.ID where m1.partner_id =t1.id ) t) AS CATEGORY_ID, t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1 ) t1 where id=#{id}]]>
</select> </select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 --> <!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql"> <sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1 <![CDATA[ SELECT (SELECT array_to_json(array_agg(t.*)) FROM (SELECT m1.CATEGORY_ID as srfkey, m2.NAME AS srfmajortext FROM res_partner_res_partner_category_rel m1 LEFT JOIN RES_PARTNER_CATEGORY m2 ON m1.CATEGORY_ID = m2.ID where m1.partner_id =t1.id ) t) AS CATEGORY_ID, t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="postgresql"> <sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1 <![CDATA[ SELECT (SELECT array_to_json(array_agg(t.*)) FROM (SELECT m1.CATEGORY_ID as srfkey, m2.NAME AS srfmajortext FROM res_partner_res_partner_category_rel m1 LEFT JOIN RES_PARTNER_CATEGORY m2 ON m1.CATEGORY_ID = m2.ID where m1.partner_id =t1.id ) t) AS CATEGORY_ID, t1.EMAIL, t1.FUNCTION, t1.ID, t1.MOBILE, t1.NAME, t1.PHONE, t1.TYPE, t1.VAT FROM RES_PARTNER t1
]]> ]]>
</sql> </sql>
</mapper> </mapper>
......
...@@ -151386,8 +151386,9 @@ ...@@ -151386,8 +151386,9 @@
"field_type":"ONE2MANYDATA", "field_type":"ONE2MANYDATA",
"nullable":1, "nullable":1,
"physical_field":0, "physical_field":0,
"data_type":"TEXT", "data_type":"VARCHAR",
"data_length":1048576, "data_length":200,
"expression":"(SELECT array_to_json(array_agg(t.*)) FROM (SELECT m1.CATEGORY_ID as srfkey, m2.NAME AS srfmajortext FROM res_partner_res_partner_category_rel m1 LEFT JOIN RES_PARTNER_CATEGORY m2 ON m1.CATEGORY_ID = m2.ID where m1.partner_id =t1.id ) t)",
"key_field":0, "key_field":0,
"show_order":1000, "show_order":1000,
"major_field":0 "major_field":0
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册