|
|
|
@ -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) {
|
|
|
|
|