|
|
@@ -21,12 +21,6 @@ class SettleController extends BaseController
|
|
|
$transaction = $connection->beginTransaction();
|
|
|
try {
|
|
|
|
|
|
- //先将客户未过期的结账单置为过期
|
|
|
- $customId = $post['customId'] ?? 0;
|
|
|
- if(!empty($customId)){
|
|
|
- SettleClass::updateByCondition(['customId' => $customId, 'status' => 1], ['status' => 3]);
|
|
|
- }
|
|
|
-
|
|
|
$staff = $this->shopAdmin;
|
|
|
$payWay = $post['payWay'] ?? dict::getDict('payWay', 'wxPay');
|
|
|
$id = $post['id'] ?? '';
|