Commit 628250b1 authored by christ's avatar christ

refund

parent f02c4297
...@@ -214,7 +214,7 @@ class RefundServiceModel extends \Business\AbstractModel ...@@ -214,7 +214,7 @@ class RefundServiceModel extends \Business\AbstractModel
public function makeRefund($storeId,$refundId){ public function makeRefund($storeId,$refundId){
$refundReturnDao = \DAO\Order\RefundReturnModel::getInstance(DbNameConst::masterDBConnectName); $refundReturnDao = \DAO\Order\RefundReturnModel::getInstance(DbNameConst::masterDBConnectName);
$returnDetail=$refundReturnDao->findByRefundId($refundId); $returnDetail=$refundReturnDao->findByRefundId($refundId,$refundReturnDao->refundDetailField);
if($returnDetail['storeId']!=$storeId){ if($returnDetail['storeId']!=$storeId){
ErrorModel::throwException(CodeConfigModel::notExistRefund); ErrorModel::throwException(CodeConfigModel::notExistRefund);
}$updateData=array(); }$updateData=array();
......
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