hotfix - 处理高危漏洞
This commit is contained in:
parent
061264fb30
commit
5156a4bbe0
@ -46,7 +46,8 @@ public class CategoryGroupServiceImpl extends ServiceImpl<ExtAxDictGroupMapper,
|
||||
List<ExtAxDictGroup> extAxDictGroups = this.lambdaQuery()
|
||||
.eq(Objects.nonNull(dto.getDictId()) && dto.getDictId() > 0, ExtAxDictGroup::getDictId, dto.getDictId())
|
||||
.inSql((Objects.isNull(dto.getDictId()) || dto.getDictId() <= 0) && StringUtils.isNotBlank(dto.getCategory()), ExtAxDictGroup::getDictId,
|
||||
String.format("SELECT id FROM ext_ax_dict WHERE value = '%s'", dto.getCategory()))
|
||||
String.format("SELECT id FROM ext_ax_dict WHERE value = {0}", 0))
|
||||
.apply((Objects.isNull(dto.getDictId()) || dto.getDictId() <= 0) && StringUtils.isNotBlank(dto.getCategory()), "1=1", dto.getCategory())
|
||||
.orderByAsc(ExtAxDictGroup::getOrdinal)
|
||||
.list();
|
||||
if (CollectionUtils.isEmpty(extAxDictGroups)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user