Commit 13f40423 by 陶光胜

init

parent 5a04b808
......@@ -85,7 +85,7 @@ public class StoreMessageHandler implements MessageHandler {
enterpriseId = Integer.valueOf(fieldMap.get("new_enterprise_id").getValue());
storeId = Integer.valueOf(fieldMap.get("new_store_id").getValue());
storeInfoId = Integer.valueOf(fieldMap.get("new_store_info_id").getValue());
if (Integer.valueOf(fieldMap.get(OLD_STATUS).getValue()) == 0 && Integer.valueOf(fieldMap.get(NEW_STATUS).getValue()) == 1) { //删除
if (Integer.valueOf(fieldMap.get(OLD_STATUS).getValue()) == 1 && Integer.valueOf(fieldMap.get(NEW_STATUS).getValue()) == 0) { //删除
this.storeApiService.deleteStoreFromEs(enterpriseId, storeId);
}else {
this.storeIndexRefreshHandler.refreshStoreIndex(enterpriseId, storeId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment