style: 使用ruff格式化通知公告管理模块,优化导入
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
from module_admin.dao.notice_dao import *
|
||||
from module_admin.entity.vo.common_vo import CrudResponseModel
|
||||
from sqlalchemy.ext.asyncio import AsyncSession
|
||||
from config.constant import CommonConstant
|
||||
from exceptions.exception import ServiceException
|
||||
from utils.common_util import export_list2excel, CamelCaseUtil
|
||||
from module_admin.dao.notice_dao import NoticeDao
|
||||
from module_admin.entity.vo.common_vo import CrudResponseModel
|
||||
from module_admin.entity.vo.notice_vo import DeleteNoticeModel, NoticeModel, NoticePageQueryModel
|
||||
from utils.common_util import CamelCaseUtil
|
||||
|
||||
|
||||
class NoticeService:
|
||||
@@ -11,7 +13,9 @@ class NoticeService:
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
async def get_notice_list_services(cls, query_db: AsyncSession, query_object: NoticePageQueryModel, is_page: bool = True):
|
||||
async def get_notice_list_services(
|
||||
cls, query_db: AsyncSession, query_object: NoticePageQueryModel, is_page: bool = True
|
||||
):
|
||||
"""
|
||||
获取通知公告列表信息service
|
||||
:param query_db: orm对象
|
||||
|
Reference in New Issue
Block a user