rabin 2 年之前
父節點
當前提交
bccb4ad45a
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. 15 0
      app/shop/database/sell_order.php

+ 15 - 0
app/shop/database/sell_order.php

@@ -972,5 +972,20 @@ return array
             'type' => 'one',
             'col' => 'sum(card_code_cash) as total',
         ),
+
+        'getCardAlls' => array
+        (
+            # 匹配的正则或函数 选填项
+            'option' => array
+            (
+                'start' => array('yes-cdate', '>='),
+                'end' => array('yes-cdate', '<='),
+                'card_code_id' => 'yes',
+                // 'status' => array('yes', 'in'),
+                'state' => 1,
+            ),
+            'type' => 'one',
+            'col' => 'sum(card_code_cash) as total',
+        ),
     ),
 );