体检系统架构
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.

8 lines
271 B

SELECT
a.id,a.Name, b.sortno,c.id as fid,c.name,c.HISCheckCode,c.HISCheckName,c.HISPrice ,c.CostPrice
FROM
PEIS.dbo.ExamPack a
left join PEIS. [dbo].[ExamPackFeeItem] b on a.id=b.ExamPackid
LEFT JOIN PEIS. [dbo].FEEITEM c ON b.FeeItemId=c.ID
order by a.id,b.sortno