Commit 74a53851 authored by zw's avatar zw

时间轴

parent 42e70acf
......@@ -288,11 +288,12 @@ class PayLogService
*/
public function getRefundDetail($refund_id)
{
$field = "id,report_id,agent_id,agent_name,order_no,order_id,refund_money,status,name,phone,bank,card_no,
remark,receipt_number,type,refund_cause,pay_log_id,refund_way";
$field = "a.id,a.report_id,a.agent_id,a.agent_name,a.order_no,a.order_id,a.refund_money,a.status,a.name
,a.phone,a.bank,a.card_no, a.remark,a.receipt_number,a.type,a.refund_cause,a.pay_log_id,a.refund_way,
a.create_time,b.income_time";
$params["id"] = $refund_id;
$params["is_del"] = 0;
$result = $this->oRefundModel->selectRefundByOrderNo($field, $params);
$result = $this->oRefundModel->selectRefundDetailByOrderNo($field, $params);
if (count($result) > 0) {
$item = $result[0];
$item["img_path"] = CHAT_IMG_URL;
......
......@@ -151,7 +151,9 @@ class ORefundModel extends Model{
if (isset($params["order_id"])) {
$where_["a.order_id"] = $params["order_id"];
}
if (isset($params["id"])) {
$where_["id"] = $params["id"];
}
return $this->db_
->field($filed)
......
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