Commit 30db4e54711e6c632873a123e7eeb814b2c6a20c
1 parent
8cd0070f
s
Showing
4 changed files
with
4 additions
and
4 deletions
testcase/heb/feedbackAccounrecordController_list/test_feedbackAccounrecordController_list.py
@@ -20,7 +20,7 @@ class test_feedbackAccounrecordController_list(unittest.TestCase): | @@ -20,7 +20,7 @@ class test_feedbackAccounrecordController_list(unittest.TestCase): | ||
20 | self.body = db.mysql_selectOne( | 20 | self.body = db.mysql_selectOne( |
21 | '''SELECT dili_jmsf.feedback_account_record.created,dili_jmsf.feedback_order.record_number | 21 | '''SELECT dili_jmsf.feedback_account_record.created,dili_jmsf.feedback_order.record_number |
22 | FROM `dili_jmsf`.`feedback_order` LEFT JOIN `dili_jmsf`.`feedback_account_record` ON dili_jmsf.feedback_order.id = dili_jmsf.feedback_account_record.order_ids | 22 | FROM `dili_jmsf`.`feedback_order` LEFT JOIN `dili_jmsf`.`feedback_account_record` ON dili_jmsf.feedback_order.id = dili_jmsf.feedback_account_record.order_ids |
23 | -WHERE market_id = '''+str(heb.user["sy_user01"]["firmId"])+''' ORDER BY dili_jmsf.feedback_account_record.order_ids DESC LIMIT 1''') | 23 | +WHERE market_id = '''+str(heb.user["heb_user01"]["firmId"])+''' ORDER BY dili_jmsf.feedback_account_record.order_ids DESC LIMIT 1''') |
24 | # print("查询出查询时间和交易流水号:", self.body[0],self.body[1]) | 24 | # print("查询出查询时间和交易流水号:", self.body[0],self.body[1]) |
25 | 25 | ||
26 | def test_feedbackAccounrecordController_list_01(self): | 26 | def test_feedbackAccounrecordController_list_01(self): |
testcase/heb/feedbackCustomerController/test_feedback_customer_enable.py
@@ -21,7 +21,7 @@ class test_feedback_customer_enable(unittest.TestCase): | @@ -21,7 +21,7 @@ class test_feedback_customer_enable(unittest.TestCase): | ||
21 | def setUp(self): | 21 | def setUp(self): |
22 | self.ids = db.mysql_selectOne(''' | 22 | self.ids = db.mysql_selectOne(''' |
23 | SELECT id FROM `dili_jmsf`.`feedback_customer` WHERE `status` = '2' and | 23 | SELECT id FROM `dili_jmsf`.`feedback_customer` WHERE `status` = '2' and |
24 | - market_id='''+str(heb.user["sy_user01"]["firmId"])+''' ORDER BY `id` DESC LIMIT 1''')[0] | 24 | + market_id='''+str(heb.user["heb_user01"]["firmId"])+''' ORDER BY `id` DESC LIMIT 1''')[0] |
25 | print(self.ids) | 25 | print(self.ids) |
26 | def test_feedback_customer_enable_01(self): | 26 | def test_feedback_customer_enable_01(self): |
27 | "返还人启用" | 27 | "返还人启用" |
testcase/heb/feedbackCustomerController/test_feedback_customer_query.py
@@ -18,7 +18,7 @@ class test_feedback_customer_query(unittest.TestCase): | @@ -18,7 +18,7 @@ class test_feedback_customer_query(unittest.TestCase): | ||
18 | pass | 18 | pass |
19 | def setUp(self): | 19 | def setUp(self): |
20 | self.name1 = db.mysql_selectOne('''SELECT name FROM `dili_jmsf`.`feedback_customer` | 20 | self.name1 = db.mysql_selectOne('''SELECT name FROM `dili_jmsf`.`feedback_customer` |
21 | - WHERE market_id = ''' + str(heb.user["sy_user01"]["firmId"]) + ''' ORDER BY `id` DESC LIMIT 1''')[0] | 21 | + WHERE market_id = ''' + str(heb.user["heb_user01"]["firmId"]) + ''' ORDER BY `id` DESC LIMIT 1''')[0] |
22 | def test_feedback_customer_query_01(self): | 22 | def test_feedback_customer_query_01(self): |
23 | "返还人列表查询" | 23 | "返还人列表查询" |
24 | print(fcq.url) | 24 | print(fcq.url) |
testcase/heb/feedbackOrderController/test_feedback_order_settlement_query.py
@@ -18,7 +18,7 @@ class test_feedback_order_settlement_query(unittest.TestCase): | @@ -18,7 +18,7 @@ class test_feedback_order_settlement_query(unittest.TestCase): | ||
18 | pass | 18 | pass |
19 | def setUp(self): | 19 | def setUp(self): |
20 | self.ids = db.mysql_selectOne('''SELECT id FROM `dili_jmsf`.`feedback_customer` WHERE | 20 | self.ids = db.mysql_selectOne('''SELECT id FROM `dili_jmsf`.`feedback_customer` WHERE |
21 | - `status` = '1' and market_id = ''' + str(heb.user["sy_user01"]["firmId"]) + ''' | 21 | + `status` = '1' and market_id = ''' + str(heb.user["heb_user01"]["firmId"]) + ''' |
22 | ORDER BY `id` DESC LIMIT 1''')[0] | 22 | ORDER BY `id` DESC LIMIT 1''')[0] |
23 | def test_feedback_order_settlement_query_01(self): | 23 | def test_feedback_order_settlement_query_01(self): |
24 | "根据返还人和缴费时间进行查询" | 24 | "根据返还人和缴费时间进行查询" |