master
ljl 10 months ago
parent 4382eb030d
commit f8031a39e9

@ -47,7 +47,7 @@ class OpUserInvoiceTplDao extends AbstractDao {
}
public function getAutoCodeByTplId($tplId, $mallId) {
return $this->queryFirstField("select auth_code from %b where mall_id = %s and op_seller_invoice_tpl_id = %i", $this->getTable(), $mallId, $tplId);
return $this->queryFirstField("select auth_code from %b where mall_id = %s and op_user_invoice_tpl_id = %i", $this->getTable(), $mallId, $tplId);
}
public function getByAuthCode($authCode) {

Loading…
Cancel
Save