发布时间:2025-2-13
特价活动:>>>> 用友U8、T6、T+、T3软件产品4折优惠,畅捷通T+cloud、好会计、好业财、好生意云产品6-8折优惠,另有话费赠送。
问题回复:
请执行以下脚本
UPDATE FA_total set dblmonthvalue=(select A.DBLVALUE from fa_total a where A.iperiod=4 and a.sdeptnum=b.sdeptnum and a.stypenum=b.stypenum) from fa_total b where iperiod=5 update fa_total set dblAddValue= ( select sum(dblvalue) from fa_cards where scardnum>='09107' and fa_cards.sdeptnum=fa_total.sdeptnum and fa_cards.stypenum=fa_total.stypenum group by sdeptnum,stypenum ) where iperiod=5 update fa_total set dblvalue=isnull(dblmonthvalue,0)+isnull(dbladdvalue,0) where iperiod=5
截屏,微信识别二维码
客服QQ:5151867
(点击QQ号复制,添加好友)