fix: chuncheon, cheonan 패키지 적용
parent
5f699f331b
commit
531ee45ffc
@ -1,4 +1,4 @@
|
||||
package kr.xit.biz.chuncheon.model;
|
||||
package kr.xit.biz.ccn.model;
|
||||
|
||||
import javax.validation.constraints.Size;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package kr.xit.biz.chuncheon.service;
|
||||
package kr.xit.biz.ccn.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import kr.xit.biz.chuncheon.model.ChuncheonSndngResultDTO;
|
||||
import kr.xit.biz.ccn.model.ChuncheonSndngResultDTO;
|
||||
import kr.xit.biz.ens.model.cmm.CmmEnsFileInfDTO.FmcExcelUpload;
|
||||
import kr.xit.biz.ens.model.cntc.CntcDTO;
|
||||
|
@ -1,20 +0,0 @@
|
||||
package kr.xit.core.spring.config.support;
|
||||
|
||||
import org.springframework.context.annotation.Condition;
|
||||
import org.springframework.context.annotation.ConditionContext;
|
||||
import org.springframework.core.type.AnnotatedTypeMetadata;
|
||||
|
||||
import lombok.NonNull;
|
||||
|
||||
public class ProfileConditionOfSisul implements Condition {
|
||||
@Override
|
||||
public boolean matches(ConditionContext context, @NonNull AnnotatedTypeMetadata metadata) {
|
||||
String[] activeProfiles = context.getEnvironment().getActiveProfiles();
|
||||
for (String profile : activeProfiles) {
|
||||
if (profile.matches(".*sisul.*")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue