|
|
|
@ -19,6 +19,7 @@ import org.springframework.context.i18n.LocaleContextHolder;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -86,7 +87,10 @@ public class NcCodeServiceImpl extends ServiceImpl<NcCodeMapper, NcCode> impleme
|
|
|
|
|
public List<NcCodeDto> findNcCodeDescriptionByNcCode(String ncCode) {
|
|
|
|
|
String site = CommonMethods.getSite();
|
|
|
|
|
String locale = LocaleContextHolder.getLocale().getLanguage();
|
|
|
|
|
return ncCodeMapper.findNcCodeDescriptionByNcCode(site,locale,ncCode);
|
|
|
|
|
ArrayList<String> ncCodeList = new ArrayList<>();
|
|
|
|
|
String[] split = ncCode.split(",");
|
|
|
|
|
|
|
|
|
|
return ncCodeMapper.findNcCodeDescriptionByNcCode(site,locale,split);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|