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

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

上级 80260c6b
...@@ -63,6 +63,7 @@ public interface Res_supplierMapper extends BaseMapper<Res_supplier>{ ...@@ -63,6 +63,7 @@ public interface Res_supplierMapper extends BaseMapper<Res_supplier>{
boolean deleteBySQL(@Param("sql") String sql, @Param("et")Map param); 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);
boolean saveRelByOdooSupplier(@Param("partner_id") Long partner_id, List<cn.ibizlab.businesscentral.util.domain.MultiSelectItem> res_partner_categories);
} }
...@@ -99,7 +99,7 @@ public class Res_supplierServiceImpl extends EBSServiceImpl<Res_supplierMapper, ...@@ -99,7 +99,7 @@ public class Res_supplierServiceImpl extends EBSServiceImpl<Res_supplierMapper,
} }
if(org.apache.commons.lang3.StringUtils.isNotBlank(et.getCategoryId())){ if(org.apache.commons.lang3.StringUtils.isNotBlank(et.getCategoryId())){
this.baseMapper.saveRelByOdoo_supplier(et.getId() , com.alibaba.fastjson.JSONArray.parseArray(category_id, cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class)); this.baseMapper.saveRelByOdooSupplier(et.getId() , com.alibaba.fastjson.JSONArray.parseArray(category_id, cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class));
} }
return true; return true;
...@@ -117,7 +117,7 @@ public class Res_supplierServiceImpl extends EBSServiceImpl<Res_supplierMapper, ...@@ -117,7 +117,7 @@ public class Res_supplierServiceImpl extends EBSServiceImpl<Res_supplierMapper,
if(et.getFocusNull().contains("category_id") || org.apache.commons.lang3.StringUtils.isNotBlank(et.getCategoryId())){ if(et.getFocusNull().contains("category_id") || org.apache.commons.lang3.StringUtils.isNotBlank(et.getCategoryId())){
resSupplierResPartnerCategoryRelService.removeByPartnerId(et.getId()); resSupplierResPartnerCategoryRelService.removeByPartnerId(et.getId());
if(org.apache.commons.lang3.StringUtils.isNotBlank(et.getCategoryId())){ if(org.apache.commons.lang3.StringUtils.isNotBlank(et.getCategoryId())){
this.baseMapper.saveRelByOdoo_supplier(et.getId() , com.alibaba.fastjson.JSONArray.parseArray(et.getCategoryId(), cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class)); this.baseMapper.saveRelByOdooSupplier(et.getId() , com.alibaba.fastjson.JSONArray.parseArray(et.getCategoryId(), cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class));
} }
} }
......
...@@ -88,6 +88,7 @@ public interface Purchase_order_lineMapper extends BaseMapper<Purchase_order_lin ...@@ -88,6 +88,7 @@ public interface Purchase_order_lineMapper extends BaseMapper<Purchase_order_lin
List<Purchase_order_line> selectByProductUom(@Param("id") Serializable id) ; List<Purchase_order_line> selectByProductUom(@Param("id") Serializable id) ;
boolean saveRelByOdoo_purchase_order_line(@Param("purchase_order_line_id") Long purchase_order_line_id, List<cn.ibizlab.businesscentral.util.domain.MultiSelectItem> account_taxes);
boolean saveRelByOdooPurchaseOrderLine(@Param("purchase_order_line_id") Long purchase_order_line_id, List<cn.ibizlab.businesscentral.util.domain.MultiSelectItem> account_taxes);
} }
...@@ -135,7 +135,7 @@ public class Purchase_order_lineServiceImpl extends EBSServiceImpl<Purchase_orde ...@@ -135,7 +135,7 @@ public class Purchase_order_lineServiceImpl extends EBSServiceImpl<Purchase_orde
} }
if(org.apache.commons.lang3.StringUtils.isNotBlank(et.getTaxesId())){ if(org.apache.commons.lang3.StringUtils.isNotBlank(et.getTaxesId())){
this.baseMapper.saveRelByOdoo_purchase_order_line(et.getId() , com.alibaba.fastjson.JSONArray.parseArray(taxes_id, cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class)); this.baseMapper.saveRelByOdooPurchaseOrderLine(et.getId() , com.alibaba.fastjson.JSONArray.parseArray(taxes_id, cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class));
} }
return true; return true;
...@@ -154,7 +154,7 @@ public class Purchase_order_lineServiceImpl extends EBSServiceImpl<Purchase_orde ...@@ -154,7 +154,7 @@ public class Purchase_order_lineServiceImpl extends EBSServiceImpl<Purchase_orde
if(et.getFocusNull().contains("taxes_id") || org.apache.commons.lang3.StringUtils.isNotBlank(et.getTaxesId())){ if(et.getFocusNull().contains("taxes_id") || org.apache.commons.lang3.StringUtils.isNotBlank(et.getTaxesId())){
accountTaxPurchaseOrderLineRelService.removeByPartnerId(et.getId()); accountTaxPurchaseOrderLineRelService.removeByPartnerId(et.getId());
if(org.apache.commons.lang3.StringUtils.isNotBlank(et.getTaxesId())){ if(org.apache.commons.lang3.StringUtils.isNotBlank(et.getTaxesId())){
this.baseMapper.saveRelByOdoo_purchase_order_line(et.getId() , com.alibaba.fastjson.JSONArray.parseArray(et.getTaxesId(), cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class)); this.baseMapper.saveRelByOdooPurchaseOrderLine(et.getId() , com.alibaba.fastjson.JSONArray.parseArray(et.getTaxesId(), cn.ibizlab.businesscentral.util.domain.MultiSelectItem.class));
} }
} }
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
]]> ]]>
</sql> </sql>
<insert id="saveRelByOdoo_supplier" parameterType="map"> <insert id="saveRelByOdooSupplier" parameterType="map">
INSERT INTO RES_PARTNER_RES_PARTNER_CATEGORY_REL( INSERT INTO RES_PARTNER_RES_PARTNER_CATEGORY_REL(
PARTNER_ID,CATEGORY_ID PARTNER_ID,CATEGORY_ID
)values )values
......
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
]]> ]]>
</sql> </sql>
<insert id="saveRelByOdoo_purchase_order_line" parameterType="map"> <insert id="saveRelByOdooPurchaseOrderLine" parameterType="map">
INSERT INTO ACCOUNT_TAX_PURCHASE_ORDER_LINE_REL( INSERT INTO ACCOUNT_TAX_PURCHASE_ORDER_LINE_REL(
PURCHASE_ORDER_LINE_ID,ACCOUNT_TAX_ID PURCHASE_ORDER_LINE_ID,ACCOUNT_TAX_ID
)values )values
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册