select a.billno,a.billcode,a.billno,a.dates,a.ontime,c.OrgName,d.CardCode,d.Beactive,d.fakrq,d.sxrq,b.Balance as handSelAmt,d.Balance
from RetBillMt a(nolock)
join TrCouponDt b(nolock) on a.entid=b.entid and a.billno=b.billno
join OrgDoc c(nolock) on c.EntId = a.EntId and c.OrgId = a.OrgId
join CardDoc d(nolock) on d.EntId = b.EntId and d.CardId = b.CardId
join ContactDoc e(nolock) on e.EntId = a.EntId and e.ContactId = a.ContactId
where a.billno = :billno and a.entid = :_entid
order by a.billcode
相关文章
- 01-312021-02-17:规定1和A对应、2和B对应、3和C对应...26和Z对应,那么一个数字字符串比如“111”就可以转化为:“AAA“、“KA“和“AK“。给定一个只有数字字符组成的字符串str,请
- 01-31leetcode 397,784,898,100,101,104,108,110,111,112,226,235,257
- 01-31华为AR-111S路由器GRE协议设置
- 01-31leetcode 111 二叉树的最小深度
- 01-31111
- 01-31leetcode 111. 二叉树的最小深度
- 01-31111
- 01-31111
- 01-31leetcode--111. 二叉树的最小深度
- 01-31111