You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
--<EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
update a set a.statedate=b.rzdate,a.statetime='00:00:00'
|
|
|
|
|
from t_order_head a,
|
|
|
|
|
(select orderno,max(rzdate) as rzdate from t_accept_head a,t_pay_bill b where a.billno = b.billno and b.isaccounted='0'
|
|
|
|
|
group by orderno) b
|
|
|
|
|
where a.billno=b.orderno
|
|
|
|
|
go
|
|
|
|
|
--<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
update a set a.bizdate=b.rzdate
|
|
|
|
|
from t_pay_bill a, t_accept_head b
|
|
|
|
|
where a.billno=b.billno
|
|
|
|
|
go
|
|
|
|
|
--<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˻<EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
update a set a.bizdate=b.rzdate
|
|
|
|
|
from t_pay_bill a, t_return_head b
|
|
|
|
|
where a.billno=b.billno
|
|
|
|
|
go
|
|
|
|
|
--<EFBFBD><EFBFBD><EFBFBD>½<EFBFBD><EFBFBD>۵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
update a set a.bizdate=b.rzdate
|
|
|
|
|
from t_pay_bill a, t_adjbuyprice_head b
|
|
|
|
|
where a.billno=b.billno
|
|
|
|
|
go
|
|
|
|
|
|