费用支出表.sql 772 B

12345678910111213
  1. SELECT [id]
  2. ,[name] '费用项目'
  3. ,[money] '支出金额'
  4. ,[dat] '日期'
  5. ,[bz] '备注'
  6. ,[renyuan1] '取款人'
  7. ,[renyuan2] '经手人'
  8. ,[financecheck] '审核状态'
  9. ,[time] '时间'
  10. ,[photo] '收据相片' -- 导出xls时, 相片是导不出的, 注释掉;
  11. ,[hasphoto] '有无相片'
  12. FROM [Internal].[dbo].[gudingfeiyong]
  13. -- where [dat] between '2016-01-01 00:00:00' and '2016-12-31 23:59:59'