fix:design progress
This commit is contained in:
@@ -65,7 +65,9 @@ class DesignProgressRepository(BaseRepository[CreateDesignProgress]):
|
|||||||
)
|
)
|
||||||
return await self.get(get_record)
|
return await self.get(get_record)
|
||||||
async def check_complete(self,get_record:GetRecord):
|
async def check_complete(self,get_record:GetRecord):
|
||||||
result = False
|
result ={
|
||||||
|
"exist":False
|
||||||
|
}
|
||||||
if get_record.type :
|
if get_record.type :
|
||||||
if get_record.type > 1:
|
if get_record.type > 1:
|
||||||
progress = await use_collection(COLLECTION).find_one(
|
progress = await use_collection(COLLECTION).find_one(
|
||||||
|
|||||||
Reference in New Issue
Block a user