丽知:店铺日志分割使用#
This commit is contained in:
parent
a9a35f4aaf
commit
5306696062
|
@ -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<IntegrationTaskLivingDetailsEntity> 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<IntegrationTaskLivingDetailsEntity> 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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue