(improvement)(config) Split the application-local.yml file based on functionality. (#1250)

This commit is contained in:
lexluo09
2024-06-27 16:56:16 +08:00
committed by GitHub
parent 8b88528938
commit bbd61ac937
23 changed files with 162 additions and 163 deletions

View File

@@ -15,7 +15,7 @@ import java.util.Objects;
@Slf4j
public class LoadRemoveService {
@Value("${mapper.remove.nature.prefix:}")
@Value("${s2.mapper.remove.nature.prefix:}")
private String mapperRemoveNaturePrefix;
public List removeNatures(List value) {

View File

@@ -37,16 +37,16 @@ import static com.tencent.supersonic.common.pojo.Constants.YEAR;
@Data
public class DateModeUtils {
@Value("${query.parameter.sys.date:sys_imp_date}")
@Value("${s2.query.parameter.sys.date:sys_imp_date}")
private String sysDateCol;
@Value("${query.parameter.sys.month:sys_imp_month}")
@Value("${s2.query.parameter.sys.month:sys_imp_month}")
private String sysDateMonthCol;
@Value("${query.parameter.sys.month:sys_imp_week}")
@Value("${s2.query.parameter.sys.month:sys_imp_week}")
private String sysDateWeekCol;
@Value("${query.parameter.sys.zipper.begin:start_}")
@Value("${s2.query.parameter.sys.zipper.begin:start_}")
private String sysZipperDateColBegin;
@Value("${query.parameter.sys.zipper.end:end_}")
@Value("${s2.query.parameter.sys.zipper.end:end_}")
private String sysZipperDateColEnd;
public Boolean recentMode(DateConf dateInfo) {