|
@ -13,6 +13,7 @@ import com.yihu.jw.utils.hibernate.HibenateUtils;
|
|
|
import com.yihu.mysql.query.BaseJpaService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
import java.util.Iterator;
|
|
@ -50,6 +51,7 @@ public class AdvertisementLaunchService extends BaseJpaService<AdvertisementLaun
|
|
|
return deviceDao.findByAdvIdInfo(advId);
|
|
|
}
|
|
|
|
|
|
@Transactional
|
|
|
public JSONObject allotDevice(String advIds, String devIds) {
|
|
|
JSONObject result = new JSONObject();
|
|
|
if (StringUtils.isEmpty(advIds)) {
|