def getCurrentUserIsleader(self, args): logger.info(inspect.stack()[0][3]) sql = UserSQLMapper().getSQL(inspect.stack()[0][3]) daoOperate = DbBaseHelper(sql, args) return daoOperate.read()
def getUserCount(self): logger.info(inspect.stack()[0][3]) sql = UserSQLMapper().getSQL(inspect.stack()[0][3]) daoOperate = DbBaseHelper(sql) return daoOperate.read()
def deleteUserInfoByName(self, args): logger.info(inspect.stack()[0][3]) sql = UserSQLMapper().getSQL(inspect.stack()[0][3]) daoOperate = DbBaseHelper(sql, args) return daoOperate.write()
def getUserByUnionid(self, args): #实例化 logger.info(inspect.stack()[0][3]) sql = UserSQLMapper().getSQL(inspect.stack()[0][3]) daoOperate = DbBaseHelper(sql, args) return daoOperate.read()
def addUser(self, args): #实例化 logger.info(inspect.stack()[0][3]) sql = UserSQLMapper().getSQL(inspect.stack()[0][3]) daoOperate = DbBaseHelper(sql, args) return daoOperate.write()