|
|
@@ -141,7 +141,7 @@ public abstract class BaseService<T> extends ServiceImpl<com.baomidou.mybatisplu
|
|
|
}
|
|
|
})
|
|
|
.collect(Collectors.toList());
|
|
|
- return super.update(new UpdateWrapper<T>().set(String.valueOf(PojoConfig.VALUES.get("validKey")), PojoConfig.VALUES.get("unValid")).in(getPrimaryKey(), uuidList).eq(String.valueOf(PojoConfig.VALUES.get("validKey")), PojoConfig.VALUES.get("isValid"))) ?
|
|
|
+ return super.update(new UpdateWrapper<T>().set(String.valueOf(PojoConfig.VALUES.get("validKey")), PojoConfig.VALUES.get("isValid")).in(getPrimaryKey(), uuidList).eq(String.valueOf(PojoConfig.VALUES.get("validKey")), PojoConfig.VALUES.get("unValid"))) ?
|
|
|
ResponseResultUtil.success() : ResponseResultUtil.error(ResponseCodeEnum.ENABLE_FAIL);
|
|
|
// return ResponseResultUtil.success(SqlHelper.retBool(getRepository().disableBatch(ids)));
|
|
|
}
|