fix: typing 取消

This commit is contained in:
caoqianming 2023-10-26 08:59:00 +08:00
parent 0aea02ffc9
commit 4869a2cb8a
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ from typing import List
class PmService:
@classmethod
def make_utasks_from_orderitems(cls, user, orderitemIds: List[str], start_date: date, end_date: date, belong_dept: Dept | None):
def make_utasks_from_orderitems(cls, user, orderitemIds: List[str], start_date: date, end_date: date, belong_dept):
start_date_str = start_date.strftime('%Y%m%d')
if start_date >= end_date:
raise ParseError('开始时间不可大于结束时间')