Beispiel #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()
Beispiel #2
0
 def getUserCount(self):
     logger.info(inspect.stack()[0][3])
     sql = UserSQLMapper().getSQL(inspect.stack()[0][3])
     daoOperate = DbBaseHelper(sql)
     return daoOperate.read()
Beispiel #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()
Beispiel #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()
Beispiel #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()