Commit 675401a7 authored by Vu Duy Anh's avatar Vu Duy Anh

anhvd commit scenario services

parent d6061aa6
...@@ -10,5 +10,5 @@ import org.springframework.stereotype.Repository; ...@@ -10,5 +10,5 @@ import org.springframework.stereotype.Repository;
@Repository @Repository
public interface ScenarioRepository extends JpaRepository<Scenario, Long> { public interface ScenarioRepository extends JpaRepository<Scenario, Long> {
Scenario findScenarioByCampaignIdAndCompanySiteId(Long campaignId, Long companySiteId);
} }
package com.viettel.campaign.repository.ccms_full; package com.viettel.campaign.repository.ccms_full;
import com.viettel.campaign.web.dto.ResultDTO;
/** /**
* @author anhvd_itsol * @author anhvd_itsol
*/ */
......
package com.viettel.campaign.repository.ccms_full.impl; package com.viettel.campaign.repository.ccms_full.impl;
import com.viettel.campaign.model.ccms_full.Scenario;
import com.viettel.campaign.repository.ccms_full.ScenarioRepositoryCustom; import com.viettel.campaign.repository.ccms_full.ScenarioRepositoryCustom;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
...@@ -9,5 +10,4 @@ import org.springframework.stereotype.Repository; ...@@ -9,5 +10,4 @@ import org.springframework.stereotype.Repository;
@Repository @Repository
public class ScenarioRepositoryImpl implements ScenarioRepositoryCustom { public class ScenarioRepositoryImpl implements ScenarioRepositoryCustom {
} }
package com.viettel.campaign.service;
/**
* @author anhvd_itsol
*/
public interface ScenarioService {
}
package com.viettel.campaign.service.impl;
import com.viettel.campaign.service.ScenarioService;
import org.springframework.stereotype.Service;
/**
* @author anhvd_itsol
*/
@Service
public class ScenarioServiceImpl implements ScenarioService {
}
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