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