|
|
@@ -6,6 +6,7 @@ import java.util.Collection;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import com.style24.persistence.domain.AflinkFee;
|
|
|
import com.style24.persistence.domain.Brand;
|
|
|
import com.style24.persistence.domain.Color;
|
|
|
import com.style24.persistence.domain.CommonCode;
|
|
|
@@ -481,7 +482,23 @@ public class TssRendererService {
|
|
|
* @since 2021. 1. 20
|
|
|
*/
|
|
|
public Collection<CommonCode> getAflinkList(String afChannel) {
|
|
|
- return rendererDao.getAflinkList(afChannel);
|
|
|
+ AflinkFee aflinkFee = new AflinkFee();
|
|
|
+ aflinkFee.setAfChannel(afChannel);
|
|
|
+ return rendererDao.getAflinkList(aflinkFee);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 제휴채널 목록
|
|
|
+ * @param afChannel - 상위제휴채널
|
|
|
+ * @return
|
|
|
+ * @author gagamel
|
|
|
+ * @since 2021. 1. 20
|
|
|
+ */
|
|
|
+ public Collection<CommonCode> getAflinkList(String afChannel, String afLinkCd) {
|
|
|
+ AflinkFee aflinkFee = new AflinkFee();
|
|
|
+ aflinkFee.setAfChannel(afChannel);
|
|
|
+ aflinkFee.setAfLinkCd(afLinkCd);
|
|
|
+ return rendererDao.getAflinkList(aflinkFee);
|
|
|
}
|
|
|
|
|
|
}
|