bugfix change_appversion
This commit is contained in:
@@ -29,7 +29,7 @@ class dbflow(crudbase):
|
||||
return None
|
||||
|
||||
def get_flow_by_flowid(self,db: Session,flowid:str):
|
||||
return db.execute(super().get_by_conditions({"flowid":flowid})).scalars().all()
|
||||
return db.execute(super().get_by_conditions({"flowid":flowid})).scalars().first()
|
||||
|
||||
def get_flows_by_appid(self,db: Session,domainurl:str,appid:str):
|
||||
return db.execute(select(models.Flow).filter(and_(models.Flow.domainurl == domainurl,models.Flow.appid == appid))).scalars().all()
|
||||
@@ -155,7 +155,6 @@ class dbapp(crudbase):
|
||||
domainurl = flow.domainurl,
|
||||
name = flow.name,
|
||||
content = flow.content,
|
||||
version = db_app.version,
|
||||
updateuserid = userid,
|
||||
createuserid = userid
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user