def OrganizationUpdate(): if request.method == 'POST': data = request.values return update(Organization, data)
def allrolesUpdate(): if request.method == 'POST': data = request.values return update(Role, data)
def InstrumentationUpdate(): if request.method == 'POST': data = request.values return update(Instrumentation, data)
def equipmentUpdate(): if request.method == 'POST': data = request.values # 返回请求中的参数和form return update(Equipment, data)
def put(self): return update(request.values)
def BrandFlagUpdate(): if request.method == 'POST': data = request.values # 返回请求中的参数和form return update(BrandFlag, data)
def BatchInfoDetailUpdate(): if request.method == 'POST': data = request.values # 返回请求中的参数和form return update(BatchInfoDetail, data)