L
llh_lily
Unregistered / Unconfirmed
GUEST, unregistred user!
假如你的数据库是sql server试试将
'select max(lycs) as lcs from ly'
'insert into ly(lycs,lytime,lynr) valuesls,:le,:lr)
改为
'insert into ly(lycs,lytime,lynr) select max(lycs) as lcs ,:le,:lr from ly'
'select max(lycs) as lcs from ly'
'insert into ly(lycs,lytime,lynr) valuesls,:le,:lr)
改为
'insert into ly(lycs,lytime,lynr) select max(lycs) as lcs ,:le,:lr from ly'