From 5306696062cf0c9f0b398d17132e7a54f062e68d Mon Sep 17 00:00:00 2001 From: zhengyf Date: Wed, 22 Jan 2025 14:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BD=E7=9F=A5=EF=BC=9A=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=88=86=E5=89=B2=E4=BD=BF=E7=94=A8#?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin/base/ShopPluginInitializer.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/base/ShopPluginInitializer.java b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/base/ShopPluginInitializer.java index 137920fe..eb30d42d 100644 --- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/base/ShopPluginInitializer.java +++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/base/ShopPluginInitializer.java @@ -224,7 +224,7 @@ public class ShopPluginInitializer extends PluginBaseEntity { * coed_lastDate */ public void startImplement(String code) { - String[] split = code.split("_"); + String[] split = code.split("#"); try { OfsShopDto shopEntity = new OfsShopDto(); @@ -281,7 +281,7 @@ public class ShopPluginInitializer extends PluginBaseEntity { if (ofsShopDto.getBizCode() != null && !"".equals(ofsShopDto.getBizCode().trim())) { boolean isExis = true; IntegrationTaskLivingDetailsEntity integrationTaskLivingDetailsEntity = new IntegrationTaskLivingDetailsEntity(); - integrationTaskLivingDetailsEntity.setRootAppPk(ofsShopDto.getBizCode() + "_" + ofsShopDto.getLastUpdated()); + integrationTaskLivingDetailsEntity.setRootAppPk(ofsShopDto.getBizCode() + "#" + ofsShopDto.getLastUpdated()); integrationTaskLivingDetailsEntity.setNewState(ProfilesActiveConstant.LOG_STATUS_Y); integrationTaskLivingDetailsEntity.setPluginId(getPluginId()); List integrationTaskLivingDetailsEntities = iIntegrationTaskLivingDetailsDao.query(integrationTaskLivingDetailsEntity); @@ -309,7 +309,7 @@ public class ShopPluginInitializer extends PluginBaseEntity { if (ofsShopDto.getBizCode() != null && !"".equals(ofsShopDto.getBizCode().trim())) { boolean isExis = true; IntegrationTaskLivingDetailsEntity integrationTaskLivingDetailsEntity = new IntegrationTaskLivingDetailsEntity(); - integrationTaskLivingDetailsEntity.setRootAppPk("defdoc_" + ofsShopDto.getBizCode() + "_" + ofsShopDto.getLastUpdated()); + integrationTaskLivingDetailsEntity.setRootAppPk("defdoc#" + ofsShopDto.getBizCode() + "#" + ofsShopDto.getLastUpdated()); integrationTaskLivingDetailsEntity.setNewState(ProfilesActiveConstant.LOG_STATUS_Y); integrationTaskLivingDetailsEntity.setPluginId(getPluginId()); List integrationTaskLivingDetailsEntities = iIntegrationTaskLivingDetailsDao.query(integrationTaskLivingDetailsEntity); @@ -401,7 +401,7 @@ public class ShopPluginInitializer extends PluginBaseEntity { integrationTaskLivingDetailsEntity.setNewTransmitInfo(attribute.getData()); integrationTaskLivingDetailsEntity.setNewPushDate(new Date()); integrationTaskLivingDetailsEntity.setBusinessDate(businessFormat); - integrationTaskLivingDetailsEntity.setRootAppPk(shopEntity.getBizCode() + "_" + businessFormat); + integrationTaskLivingDetailsEntity.setRootAppPk(shopEntity.getBizCode() + "#" + businessFormat); integrationTaskLivingDetailsEntity.setRootAppBill(shopEntity.getBizCode()); integrationTaskLivingDetailsEntity.setPluginId(getPluginId()); if (res_custdoc != null) { @@ -419,7 +419,7 @@ public class ShopPluginInitializer extends PluginBaseEntity { integrationTaskLivingDetailsEntity.setNewTransmitInfo(ErrMessage); integrationTaskLivingDetailsEntity.setNewPushDate(new Date()); integrationTaskLivingDetailsEntity.setBusinessDate(businessFormat); - integrationTaskLivingDetailsEntity.setRootAppPk(shopEntity.getBizCode() + "_" + businessFormat); + integrationTaskLivingDetailsEntity.setRootAppPk(shopEntity.getBizCode() + "#" + businessFormat); integrationTaskLivingDetailsEntity.setRootAppBill(shopEntity.getBizCode()); integrationTaskLivingDetailsEntity.setPluginId(getPluginId()); if (bdCubasdocEntity_old != null) { @@ -522,8 +522,8 @@ public class ShopPluginInitializer extends PluginBaseEntity { integrationTaskLivingDetailsEntity.setNewTransmitInfo(attribute.getData()); integrationTaskLivingDetailsEntity.setNewPushDate(new Date()); integrationTaskLivingDetailsEntity.setBusinessDate(businessFormat); - integrationTaskLivingDetailsEntity.setRootAppPk("defdoc_" + shopEntity.getBizCode() + "_" + businessFormat); - integrationTaskLivingDetailsEntity.setRootAppBill("defdoc_" + shopEntity.getBizCode()); + integrationTaskLivingDetailsEntity.setRootAppPk("defdoc#" + shopEntity.getBizCode() + "#" + businessFormat); + integrationTaskLivingDetailsEntity.setRootAppBill("defdoc#" + shopEntity.getBizCode()); integrationTaskLivingDetailsEntity.setPluginId(getPluginId()); saveOrUpdateBusinessLogUtil.saveOrUpdate(integrationTaskLivingDetailsEntity); @@ -537,8 +537,8 @@ public class ShopPluginInitializer extends PluginBaseEntity { integrationTaskLivingDetailsEntity.setNewTransmitInfo(ErrMessage); integrationTaskLivingDetailsEntity.setNewPushDate(new Date()); integrationTaskLivingDetailsEntity.setBusinessDate(businessFormat); - integrationTaskLivingDetailsEntity.setRootAppPk("defdoc_" + shopEntity.getBizCode() + "_" + businessFormat); - integrationTaskLivingDetailsEntity.setRootAppBill("defdoc_" + shopEntity.getBizCode()); + integrationTaskLivingDetailsEntity.setRootAppPk("defdoc#" + shopEntity.getBizCode() + "#" + businessFormat); + integrationTaskLivingDetailsEntity.setRootAppBill("defdoc#" + shopEntity.getBizCode()); integrationTaskLivingDetailsEntity.setPluginId(getPluginId()); saveOrUpdateBusinessLogUtil.saveOrUpdate(integrationTaskLivingDetailsEntity); @@ -554,8 +554,8 @@ public class ShopPluginInitializer extends PluginBaseEntity { integrationTaskLivingDetailsEntity.setNewTransmitInfo(ErrMessage); integrationTaskLivingDetailsEntity.setNewPushDate(new Date()); integrationTaskLivingDetailsEntity.setBusinessDate(businessFormat); - integrationTaskLivingDetailsEntity.setRootAppPk("defdoc_" + ofsShopDto.getBizCode() + "_" + businessFormat); - integrationTaskLivingDetailsEntity.setRootAppBill("defdoc_" + ofsShopDto.getBizCode()); + integrationTaskLivingDetailsEntity.setRootAppPk("defdoc#" + ofsShopDto.getBizCode() + "#" + businessFormat); + integrationTaskLivingDetailsEntity.setRootAppBill("defdoc#" + ofsShopDto.getBizCode()); integrationTaskLivingDetailsEntity.setPluginId(getPluginId()); saveOrUpdateBusinessLogUtil.saveOrUpdate(integrationTaskLivingDetailsEntity);