资产授权
parent
7d5a95c4d1
commit
1dcc48fe7e
|
@ -24,10 +24,10 @@ public class AssetAccreditServiceImpl extends ServiceImpl<AssetAccreditMapper, A
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<AssetAccredit> getList(AssetAccreditQueryReq assetAccreditQueryReq) {
|
public List<AssetAccredit> getList(AssetAccreditQueryReq assetAccreditQueryReq) {
|
||||||
if(StringUtils.isNotNull(assetAccreditQueryReq.getIdType())){
|
if(!StringUtils.isNotNull(assetAccreditQueryReq.getIdType())){
|
||||||
throw new RuntimeException("授权类型不能为空");
|
throw new RuntimeException("授权类型不能为空");
|
||||||
}
|
}
|
||||||
if(StringUtils.isNotNull(assetAccreditQueryReq.getDataType())){
|
if(!StringUtils.isNotNull(assetAccreditQueryReq.getDataType())){
|
||||||
throw new RuntimeException("授权数据类型不能为空");
|
throw new RuntimeException("授权数据类型不能为空");
|
||||||
}
|
}
|
||||||
List<AssetAccredit> list = list(new LambdaQueryWrapper<>() {{
|
List<AssetAccredit> list = list(new LambdaQueryWrapper<>() {{
|
||||||
|
|
Loading…
Reference in New Issue