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.

46 lines
1.1 KiB

2 years ago
  1. namespace Entity
  2. {
  3. public class SqlCommand
  4. {
  5. public static string GetSqlCommand(string type)
  6. {
  7. var sSql = "";
  8. switch (type.ToLower())
  9. {
  10. case "importexhibition_getlist":
  11. sSql = "OSP_OTB_OPM_ImportExhibition_GetList";
  12. break;
  13. case "exportexhibition_getlist":
  14. sSql = "OSP_OTB_OPM_ExportExhibition_GetList";
  15. break;
  16. case "otherbusiness_getlist":
  17. sSql = "OSP_OTB_OPM_OtherBusiness_GetList";
  18. break;
  19. case "otherexhibitiontg_getlist":
  20. sSql = "OSP_OTB_OPM_OtherExhibitionTG_GetList";
  21. break;
  22. case "billstatus_getlist":
  23. sSql = "OSP_OTB_OPM_BillStatus_GetList";
  24. break;
  25. case "wenzhong_getlist":
  26. sSql = "OSP_OTB_EIP_WenZhong_GetList";
  27. break;
  28. default:
  29. break;
  30. }
  31. return sSql;
  32. }
  33. }
  34. }