Heng source code to fix the problem: PROCEDURE xingcai.setCoin does not exist

Heng source inside should contain a number of functions, if you're missing them, because the code will not complete and error, should generally contain the following functions, you can complete your source if the basis of this check.

ssc_fcoin_bet
ssc_fcoin_cash
addScore
auto_clearData
cancelBet
clearData
clearData2
conComAll
conComSingle
consumptionCommission
delUser
delUser2
delUsers
getQzInfo
isFirstRechargeCom
kanjiang
pro_count
pro_pay
readConComSet
readRechargeComSet
setCoin
setRechar geCom
setUpFanDian
task

Tip PROCEDURE xingcai.setCoin does not exist, and that is the problem serCoin function of apricot color source, please check your code. Or find me fix the problem, you can also secondary development, following a Q. Please refer to the self-inspection apricot color source code.

/*
-- 函数:setCoin
--时间:2019.06.03 
--修改:QQ4770851
*/
 1 CREATE DEFINER=`root`@`localhost` PROCEDURE `setCoin`(_coin float, _fcoin float, _uid int, _liqType int, _type int, _info varchar(255) character set utf8, _extfield0 int, _extfield1 varchar(255) character set utf8, _extfield2 varchar(255) character set utf8)
 2 begin
 3     
 4     DECLARE currentTime INT DEFAULT UNIX_TIMESTAMP();
 5     DECLARE _userCoin FLOAT;
 6     DECLARE _count INT  DEFAULT 0;
 7     
 8     IF _coin IS NULL THEN
 9         SET _coin=0;
10     END IF;
11     IF _fcoin IS NULL THEN
12         SET _fcoin=0;
13     END IF;
14     
15     SELECT COUNT(1) INTO _count FROM blast_coin_log WHERE  extfield0=_extfield0  AND info='***金'  AND `uid`=_uid;
16     IF  _count<1 THEN
17     
18     SELECT coin INTO _userCoin FROM blast_members WHERE `uid`=_uid;
19     
20     INSERT INTO blast_coin_log(coin, fcoin, userCoin, `uid`, actionTime, liqType, `type`, info, extfield0, extfield1, extfield2) VALUES(_coin, _fcoin, _userCoin, _uid, currentTime, _liqType, _type, _info, _extfield0, _extfield1, _extfield2);
21     END IF;
22     
23 end

Guess you like

Origin blog.csdn.net/jeesr/article/details/90754448