Commit ead97580932058f758336daead055565c4f0080e
1 parent
e417fdc0
优化用例代码
Showing
2 changed files
with
6 additions
and
0 deletions
commons/api/entranceFeeBill_details.py
... | ... | @@ -67,6 +67,9 @@ class entranceFeeBill_details(): |
67 | 67 | WHERE a.goods_id=b.id |
68 | 68 | AND a.market_id={} |
69 | 69 | AND a.`status`=4 |
70 | + AND a.company_id IS NOT NULL | |
71 | + AND a.ic IS NOT NULL | |
72 | + AND a.cashier_name IS NOT NULL | |
70 | 73 | ORDER BY a.id DESC LIMIT 1;""".format(sy1.user["sy_user01"]["firmId"]) |
71 | 74 | |
72 | 75 | ... | ... |
commons/api/entranceFeeBill_provesPage.py
... | ... | @@ -49,6 +49,9 @@ class entranceFeeBill_provesPage(): |
49 | 49 | AND a.market_id={} |
50 | 50 | AND a.yn=1 |
51 | 51 | AND c.fee_item_name LIKE "%检测费%" |
52 | + AND a.company_id IS NOT NULL | |
53 | + AND a.ic IS NOT NULL | |
54 | + AND b.prove_type_code IS NOT NULL | |
52 | 55 | ORDER BY a.id DESC LIMIT 1;""".format(sy1.user["sy_user01"]["firmId"]) |
53 | 56 | |
54 | 57 | ... | ... |