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

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

上级 99fb486c
......@@ -74,4 +74,5 @@ public interface Account_abstract_paymentMapper extends BaseMapper<Account_abstr
List<Account_abstract_payment> selectByPartnerId(@Param("id") Serializable id) ;
}
......@@ -74,4 +74,5 @@ public interface Account_accountMapper extends BaseMapper<Account_account>{
List<Account_account> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_account_tagMapper extends BaseMapper<Account_account_ta
List<Account_account_tag> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -74,4 +74,5 @@ public interface Account_account_templateMapper extends BaseMapper<Account_accou
List<Account_account_template> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_account_typeMapper extends BaseMapper<Account_account_t
List<Account_account_type> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -72,4 +72,5 @@ public interface Account_analytic_accountMapper extends BaseMapper<Account_analy
List<Account_analytic_account> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -70,4 +70,5 @@ public interface Account_analytic_distributionMapper extends BaseMapper<Account_
List<Account_analytic_distribution> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -70,4 +70,5 @@ public interface Account_analytic_groupMapper extends BaseMapper<Account_analyti
List<Account_analytic_group> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -88,4 +88,5 @@ public interface Account_analytic_lineMapper extends BaseMapper<Account_analytic
List<Account_analytic_line> selectByProductUomId(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_analytic_tagMapper extends BaseMapper<Account_analytic_
List<Account_analytic_tag> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -76,4 +76,5 @@ public interface Account_bank_statementMapper extends BaseMapper<Account_bank_st
List<Account_bank_statement> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_bank_statement_cashboxMapper extends BaseMapper<Account
List<Account_bank_statement_cashbox> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_bank_statement_closebalanceMapper extends BaseMapper<Ac
List<Account_bank_statement_closebalance> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_bank_statement_importMapper extends BaseMapper<Account_
List<Account_bank_statement_import> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_bank_statement_import_journal_creationMapper extends Ba
List<Account_bank_statement_import_journal_creation> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -80,4 +80,5 @@ public interface Account_bank_statement_lineMapper extends BaseMapper<Account_ba
List<Account_bank_statement_line> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_cash_roundingMapper extends BaseMapper<Account_cash_rou
List<Account_cash_rounding> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_cashbox_lineMapper extends BaseMapper<Account_cashbox_l
List<Account_cashbox_line> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -92,4 +92,5 @@ public interface Account_chart_templateMapper extends BaseMapper<Account_chart_t
List<Account_chart_template> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_common_journal_reportMapper extends BaseMapper<Account_
List<Account_common_journal_report> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_common_reportMapper extends BaseMapper<Account_common_r
List<Account_common_report> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_financial_year_opMapper extends BaseMapper<Account_fina
List<Account_financial_year_op> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -72,4 +72,5 @@ public interface Account_fiscal_positionMapper extends BaseMapper<Account_fiscal
List<Account_fiscal_position> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -72,4 +72,5 @@ public interface Account_fiscal_position_accountMapper extends BaseMapper<Accoun
List<Account_fiscal_position_account> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -72,4 +72,5 @@ public interface Account_fiscal_position_account_templateMapper extends BaseMapp
List<Account_fiscal_position_account_template> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -72,4 +72,5 @@ public interface Account_fiscal_position_taxMapper extends BaseMapper<Account_fi
List<Account_fiscal_position_tax> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -72,4 +72,5 @@ public interface Account_fiscal_position_tax_templateMapper extends BaseMapper<A
List<Account_fiscal_position_tax_template> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -72,4 +72,5 @@ public interface Account_fiscal_position_templateMapper extends BaseMapper<Accou
List<Account_fiscal_position_template> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_fiscal_yearMapper extends BaseMapper<Account_fiscal_yea
List<Account_fiscal_year> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_full_reconcileMapper extends BaseMapper<Account_full_re
List<Account_full_reconcile> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_groupMapper extends BaseMapper<Account_group>{
List<Account_group> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_incotermsMapper extends BaseMapper<Account_incoterms>{
List<Account_incoterms> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -112,4 +112,5 @@ public interface Account_invoiceMapper extends BaseMapper<Account_invoice>{
List<Account_invoice> selectBySourceId(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_invoice_confirmMapper extends BaseMapper<Account_invoic
List<Account_invoice_confirm> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_invoice_import_wizardMapper extends BaseMapper<Account_
List<Account_invoice_import_wizard> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -84,4 +84,5 @@ public interface Account_invoice_lineMapper extends BaseMapper<Account_invoice_l
List<Account_invoice_line> selectByUomId(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_invoice_refundMapper extends BaseMapper<Account_invoice
List<Account_invoice_refund> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -96,4 +96,5 @@ public interface Account_invoice_reportMapper extends BaseMapper<Account_invoice
List<Account_invoice_report> selectByUserId(@Param("id") Serializable id) ;
}
......@@ -70,4 +70,5 @@ public interface Account_invoice_sendMapper extends BaseMapper<Account_invoice_s
List<Account_invoice_send> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -78,4 +78,5 @@ public interface Account_invoice_taxMapper extends BaseMapper<Account_invoice_ta
List<Account_invoice_tax> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -82,4 +82,5 @@ public interface Account_journalMapper extends BaseMapper<Account_journal>{
List<Account_journal> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -80,4 +80,5 @@ public interface Account_moveMapper extends BaseMapper<Account_move>{
List<Account_move> selectByStockMoveId(@Param("id") Serializable id) ;
}
......@@ -102,4 +102,5 @@ public interface Account_move_lineMapper extends BaseMapper<Account_move_line>{
List<Account_move_line> selectByProductUomId(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_move_reversalMapper extends BaseMapper<Account_move_rev
List<Account_move_reversal> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -76,4 +76,5 @@ public interface Account_partial_reconcileMapper extends BaseMapper<Account_part
List<Account_partial_reconcile> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -84,4 +84,5 @@ public interface Account_paymentMapper extends BaseMapper<Account_payment>{
List<Account_payment> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_payment_methodMapper extends BaseMapper<Account_payment
List<Account_payment_method> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_payment_termMapper extends BaseMapper<Account_payment_t
List<Account_payment_term> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_payment_term_lineMapper extends BaseMapper<Account_paym
List<Account_payment_term_line> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_print_journalMapper extends BaseMapper<Account_print_jo
List<Account_print_journal> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -84,4 +84,5 @@ public interface Account_reconcile_modelMapper extends BaseMapper<Account_reconc
List<Account_reconcile_model> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -76,4 +76,5 @@ public interface Account_reconcile_model_templateMapper extends BaseMapper<Accou
List<Account_reconcile_model_template> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -62,4 +62,5 @@ public interface Account_reconciliation_widgetMapper extends BaseMapper<Account_
@Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
}
......@@ -78,4 +78,5 @@ public interface Account_register_paymentsMapper extends BaseMapper<Account_regi
List<Account_register_payments> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Account_setup_bank_manual_configMapper extends BaseMapper<Accou
List<Account_setup_bank_manual_config> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -74,4 +74,5 @@ public interface Account_taxMapper extends BaseMapper<Account_tax>{
List<Account_tax> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_tax_groupMapper extends BaseMapper<Account_tax_group>{
List<Account_tax_group> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -78,4 +78,5 @@ public interface Account_tax_templateMapper extends BaseMapper<Account_tax_templ
List<Account_tax_template> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Account_unreconcileMapper extends BaseMapper<Account_unreconcil
List<Account_unreconcile> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -82,4 +82,5 @@ public interface Asset_assetMapper extends BaseMapper<Asset_asset>{
List<Asset_asset> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Asset_categoryMapper extends BaseMapper<Asset_category>{
List<Asset_category> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Asset_stateMapper extends BaseMapper<Asset_state>{
List<Asset_state> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -62,4 +62,5 @@ public interface Barcodes_barcode_events_mixinMapper extends BaseMapper<Barcodes
@Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
}
......@@ -68,4 +68,5 @@ public interface Base_automationMapper extends BaseMapper<Base_automation>{
List<Base_automation> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -70,4 +70,5 @@ public interface Base_automation_lead_testMapper extends BaseMapper<Base_automat
List<Base_automation_lead_test> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -70,4 +70,5 @@ public interface Base_automation_line_testMapper extends BaseMapper<Base_automat
List<Base_automation_line_test> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Base_language_exportMapper extends BaseMapper<Base_language_exp
List<Base_language_export> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Base_language_importMapper extends BaseMapper<Base_language_imp
List<Base_language_import> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Base_language_installMapper extends BaseMapper<Base_language_in
List<Base_language_install> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Base_module_uninstallMapper extends BaseMapper<Base_module_unin
List<Base_module_uninstall> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Base_module_updateMapper extends BaseMapper<Base_module_update>
List<Base_module_update> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Base_module_upgradeMapper extends BaseMapper<Base_module_upgrad
List<Base_module_upgrade> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -70,4 +70,5 @@ public interface Base_partner_merge_automatic_wizardMapper extends BaseMapper<Ba
List<Base_partner_merge_automatic_wizard> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Base_partner_merge_lineMapper extends BaseMapper<Base_partner_m
List<Base_partner_merge_line> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Base_update_translationsMapper extends BaseMapper<Base_update_t
List<Base_update_translations> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -70,4 +70,5 @@ public interface Res_bankMapper extends BaseMapper<Res_bank>{
List<Res_bank> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -98,4 +98,5 @@ public interface Res_companyMapper extends BaseMapper<Res_company>{
List<Res_company> selectByInternalTransitLocationId(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Res_configMapper extends BaseMapper<Res_config>{
List<Res_config> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Res_config_installerMapper extends BaseMapper<Res_config_instal
List<Res_config_installer> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -80,4 +80,5 @@ public interface Res_config_settingsMapper extends BaseMapper<Res_config_setting
List<Res_config_settings> selectByDefaultSaleOrderTemplateId(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Res_countryMapper extends BaseMapper<Res_country>{
List<Res_country> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Res_country_groupMapper extends BaseMapper<Res_country_group>{
List<Res_country_group> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Res_country_stateMapper extends BaseMapper<Res_country_state>{
List<Res_country_state> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -62,4 +62,5 @@ public interface Res_currencyMapper extends BaseMapper<Res_currency>{
@Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
}
......@@ -70,4 +70,5 @@ public interface Res_currency_rateMapper extends BaseMapper<Res_currency_rate>{
List<Res_currency_rate> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -62,4 +62,5 @@ public interface Res_customerMapper extends BaseMapper<Res_customer>{
@Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
}
......@@ -66,4 +66,5 @@ public interface Res_groupsMapper extends BaseMapper<Res_groups>{
List<Res_groups> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Res_langMapper extends BaseMapper<Res_lang>{
List<Res_lang> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -84,4 +84,7 @@ public interface Res_partnerMapper extends BaseMapper<Res_partner>{
List<Res_partner> selectByWriteUid(@Param("id") Serializable id) ;
boolean saveRelByOdoo_partner(@Param("partner_id") Long partner_id, List<cn.ibizlab.businesscentral.util.domain.MultiSelectItem> res_partner_categories);
}
......@@ -68,4 +68,5 @@ public interface Res_partner_autocomplete_syncMapper extends BaseMapper<Res_part
List<Res_partner_autocomplete_sync> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -74,4 +74,5 @@ public interface Res_partner_bankMapper extends BaseMapper<Res_partner_bank>{
List<Res_partner_bank> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -68,4 +68,5 @@ public interface Res_partner_categoryMapper extends BaseMapper<Res_partner_categ
List<Res_partner_category> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Res_partner_industryMapper extends BaseMapper<Res_partner_indus
List<Res_partner_industry> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Res_partner_res_partner_category_relMapper extends BaseMapper<R
List<Res_partner_res_partner_category_rel> selectByPartnerId(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Res_partner_titleMapper extends BaseMapper<Res_partner_title>{
List<Res_partner_title> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -62,4 +62,7 @@ public interface Res_supplierMapper extends BaseMapper<Res_supplier>{
@Delete("${sql}")
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param);
boolean saveRelByOdoo_supplier(@Param("partner_id") Long partner_id, List<cn.ibizlab.businesscentral.util.domain.MultiSelectItem> res_partner_categories);
}
......@@ -66,4 +66,5 @@ public interface Res_supplier_res_partner_category_relMapper extends BaseMapper<
List<Res_supplier_res_partner_category_rel> selectByPartnerId(@Param("id") Serializable id) ;
}
......@@ -74,4 +74,5 @@ public interface Res_usersMapper extends BaseMapper<Res_users>{
List<Res_users> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -66,4 +66,5 @@ public interface Res_users_logMapper extends BaseMapper<Res_users_log>{
List<Res_users_log> selectByWriteUid(@Param("id") Serializable id) ;
}
......@@ -347,6 +347,13 @@ public class Res_partnerServiceImpl extends EBSServiceImpl<Res_partnerMapper, Re
@Override
@Transactional
public boolean update(Res_partner et) {
if(et.getFocusNull().contains("category_id") || StringUtils.isNotBlank(et.getCategoryId())){
resPartnerResPartnerCategoryRelService.removeByPartnerId(et.getId());
if(StringUtils.isNotBlank(et.getCategoryId())){
this.baseMapper.saveRelByOdoo_partner(et.getId() , JSONArray.parseArray(et.getCategoryId(), cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class));
}
}
Res_partner old = new Res_partner() ;
CachedBeanCopier.copy(get(et.getId()), old);
boolean mail_notrack = et.get("mail_notrack") != null;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册