|
@@ -28,11 +28,6 @@ public class PublicContentServiceImpl {
|
|
|
@Autowired
|
|
|
private PublishMiniprogramMapper publishMiniprogramMapper;
|
|
|
|
|
|
- @Autowired
|
|
|
- private GroupSendResultMapper groupSendResultMapper;
|
|
|
-
|
|
|
- @Autowired
|
|
|
- private AigcService aigcService;
|
|
|
|
|
|
public int getSendCount(Long planAccountId) {
|
|
|
PublishContentExample example = new PublishContentExample();
|
|
@@ -108,19 +103,6 @@ public class PublicContentServiceImpl {
|
|
|
publishContent.setId(publishContentId);
|
|
|
publishContent.setReason(reason);
|
|
|
publishContentMapper.updateByPrimaryKeySelective(publishContent);
|
|
|
-
|
|
|
- GroupSendResultExample example = new GroupSendResultExample();
|
|
|
- example.createCriteria().andPushIdEqualTo(pushId);
|
|
|
- List<GroupSendResult> groupSendResults = groupSendResultMapper.selectByExample(example);
|
|
|
- if (!CollectionUtils.isEmpty(groupSendResults)) {
|
|
|
- GroupSendResult groupSendResult = groupSendResults.get(0);
|
|
|
- GroupSendResult updateGroupSendResult = new GroupSendResult();
|
|
|
- updateGroupSendResult.setId(groupSendResult.getId());
|
|
|
- updateGroupSendResult.setStatus(status);
|
|
|
- groupSendResultMapper.updateByPrimaryKeySelective(updateGroupSendResult);
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
|
|
|
public void updatePublishContentPushId(List<Long> ids, String pushId) {
|