|
|
@@ -15,6 +15,53 @@ class Taskorderguquan
|
|
15
|
15
|
|
|
16
|
16
|
public function assignment()
|
|
17
|
17
|
{
|
|
|
18
|
+ /**
|
|
|
19
|
+ * 本周补贴人员名单
|
|
|
20
|
+ * 周金花200(13959100621)
|
|
|
21
|
+ * 黄金花200(18603401312)
|
|
|
22
|
+ * 李素红100(13701061395)
|
|
|
23
|
+ * 周行体200(13231658486)
|
|
|
24
|
+ * 徐立苹100(13521438652)
|
|
|
25
|
+ * 刘银霞100(13161909228)
|
|
|
26
|
+ * 金 波100(13801358713)
|
|
|
27
|
+ * 王 玲 100(15810064711)
|
|
|
28
|
+ * 吕丽娣100(15960349667)
|
|
|
29
|
+ * 张传莲100(15332507711)
|
|
|
30
|
+ * 齐玲霞100(13620628844)
|
|
|
31
|
+ */
|
|
|
32
|
+ $data = [
|
|
|
33
|
+ '13959100621' => 200,
|
|
|
34
|
+ '18603401312' => 200,
|
|
|
35
|
+ '13701061395' => 100,
|
|
|
36
|
+ '13231658486' => 200,
|
|
|
37
|
+ '13521438652' => 100,
|
|
|
38
|
+ '13161909228' => 100,
|
|
|
39
|
+ '13801358713' => 100,
|
|
|
40
|
+ '15810064711' => 100,
|
|
|
41
|
+ '15960349667' => 100,
|
|
|
42
|
+ '15332507711' => 100,
|
|
|
43
|
+ '13620628844' => 100,
|
|
|
44
|
+ ];
|
|
|
45
|
+ $result = Db::name("user")
|
|
|
46
|
+ ->whereIn("account", array_keys($data))
|
|
|
47
|
+ ->where('is_del', 0)
|
|
|
48
|
+ ->field('uid, brokerage_price, account, nickname')
|
|
|
49
|
+ ->select();
|
|
|
50
|
+ $res = [];
|
|
|
51
|
+ foreach ($result as $v) {
|
|
|
52
|
+ Db::name("user")->where("uid", $v['uid'])->inc("brokerage_price", $data[$v['account']])->save();
|
|
|
53
|
+ $this->bill_user_log111111($v['uid'], "佣金补贴", $data[$v['account']], "佣金补贴", 8);//股权分佣明细2.0系统
|
|
|
54
|
+ $res[] = [
|
|
|
55
|
+ 'uid' => $v['uid'],
|
|
|
56
|
+ 'account' => $v['account'],
|
|
|
57
|
+ 'brokerage_price_pre' => $v['brokerage_price'],
|
|
|
58
|
+ 'brokerage_price' => $data[$v['account']],
|
|
|
59
|
+ 'nickname' => $v['nickname']
|
|
|
60
|
+ ];
|
|
|
61
|
+ }
|
|
|
62
|
+ return json($res);
|
|
|
63
|
+
|
|
|
64
|
+
|
|
18
|
65
|
$result = [
|
|
19
|
66
|
'oldOrderExistGongXian' => [],
|
|
20
|
67
|
'orderExistGongXian' => [],
|