交班相关代码
This commit is contained in:
@@ -34,6 +34,7 @@ public class ShopVendorServiceImpl extends ServiceImpl<ShopVendorMapper, ShopVen
|
||||
}
|
||||
Long shopId = StpKit.USER.getShopId(0L);
|
||||
queryWrapper.eq(ShopVendor::getShopId, shopId);
|
||||
queryWrapper.eq(ShopVendor::getIsDel, DeleteEnum.NORMAL.value());
|
||||
queryWrapper.orderBy(ShopVendor::getSort, true);
|
||||
queryWrapper.orderBy(ShopVendor::getId, false);
|
||||
return queryWrapper;
|
||||
@@ -48,7 +49,6 @@ public class ShopVendorServiceImpl extends ServiceImpl<ShopVendorMapper, ShopVen
|
||||
@Override
|
||||
public List<ShopVendorDTO> getShopVendorList(ShopVendorDTO param) {
|
||||
QueryWrapper queryWrapper = buildQueryWrapper(param);
|
||||
queryWrapper.eq(ShopVendor::getIsDel, DeleteEnum.NORMAL.value());
|
||||
return super.listAs(queryWrapper, ShopVendorDTO.class);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user