master
zhang chengzhi 2024-08-23 21:56:13 +08:00
parent b9413bdeb2
commit 1443bf6a06
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public static EtlRuleResp etlRuleRespBuilder(RuleEngine etlRule){
return EtlRuleResp.builder()
.id(etlRule.getId())
.type(etlRule.getType())
.code(etlRule.getCode())
.name(etlRule.getName())
.status(etlRule.getStatus())
.open(etlRule.getOpen())

View File

@ -67,7 +67,7 @@ public class EtlRuleServiceImpl extends ServiceImpl<EtlRuleMapper, RuleEngine>
);
queryWrapper.eq(
StringUtils.isNotEmpty(req.getType()), RuleEngine::getType,req.getType()
StringUtils.isNotEmpty(req.getCode()), RuleEngine::getCode,req.getCode()
);
List<RuleEngine> etlRuleList = this.list(queryWrapper);