Commit bb2aa3cb authored by alex yao's avatar alex yao

fix: Agent应用收藏

parent cd9f9847
...@@ -749,7 +749,7 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ ...@@ -749,7 +749,7 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ
} }
Integer id = publishEntity.getId(); Integer id = publishEntity.getId();
BizAgentApplicationMallEntity mallEntity = bizAgentApplicationMallService.getByAgentPublishId(id); BizAgentApplicationMallEntity mallEntity = bizAgentApplicationMallService.getByAgentPublishId(id);
if (mallEntity == null) { if (mallEntity == null || CommonConstant.YOrN.N.equals(mallEntity.getIsSale())) {
logger.warn("应用尚未上架,agentId:{}", agentId); logger.warn("应用尚未上架,agentId:{}", agentId);
return; return;
} }
......
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