Commit 220a8f78 authored by rlgy's avatar rlgy

bugfixed

parent a9a9c456
......@@ -42,6 +42,8 @@ $("#add1").click(function () {
layer.msg(rev.msg);
if (rev.code == 0) {
layer.close(index);
table.reload("table1", {
});
}
});
$btn.button('reset');
......
......@@ -91,7 +91,8 @@ class Investment extends BaseActiveRecord
'a.address',
'a.create_at',
'a.update_at',
])->leftJoin('investment_type as b', 'a.tid=b.id')->leftJoin('member as c', 'a.uid=c.uid');
])->leftJoin('investment_type as b', 'a.tid=b.id')->leftJoin('member as c',
'a.uid=c.uid')->orderBy('a.create_at');
foreach ($condition as $item) {
$query = $query->andWhere($item);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment