Search in sources :

Example 6 with SubscriptionFollower

use of com.topcom.cms.yuqing.domain.SubscriptionFollower in project topcom-cloud by 545314690.

the class SubscriptionFollowerManagerImpl method save.

@Override
public List<SubscriptionFollower> save(Iterable<SubscriptionFollower> entities) {
    for (SubscriptionFollower entity : entities) {
        List<SubscriptionFollower> byOpenid = this.findByOpenid(entity.getOpenid());
        this.deleteInBatch(byOpenid);
    }
    return super.save(entities);
}
Also used : SubscriptionFollower(com.topcom.cms.yuqing.domain.SubscriptionFollower)

Aggregations

SubscriptionFollower (com.topcom.cms.yuqing.domain.SubscriptionFollower)6 ApiOperation (io.swagger.annotations.ApiOperation)2 JSONObject (net.sf.json.JSONObject)2 HashMap (java.util.HashMap)1 PageRequest (org.springframework.data.domain.PageRequest)1 Pageable (org.springframework.data.domain.Pageable)1