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.
47 lines
1.1 KiB
47 lines
1.1 KiB
namespace Entity
|
|
{
|
|
public class SqlCommand
|
|
{
|
|
public static string GetSqlCommand(string type)
|
|
{
|
|
var sSql = "";
|
|
switch (type.ToLower())
|
|
{
|
|
case "importexhibition_getlist":
|
|
|
|
sSql = "OSP_OTB_OPM_ImportExhibition_GetList";
|
|
break;
|
|
|
|
case "exportexhibition_getlist":
|
|
|
|
sSql = "OSP_OTB_OPM_ExportExhibition_GetList";
|
|
break;
|
|
|
|
case "otherbusiness_getlist":
|
|
|
|
sSql = "OSP_OTB_OPM_OtherBusiness_GetList";
|
|
break;
|
|
|
|
case "otherexhibitiontg_getlist":
|
|
|
|
sSql = "OSP_OTB_OPM_OtherExhibitionTG_GetList";
|
|
break;
|
|
|
|
case "billstatus_getlist":
|
|
|
|
sSql = "OSP_OTB_OPM_BillStatus_GetList";
|
|
break;
|
|
|
|
case "wenzhong_getlist":
|
|
|
|
sSql = "OSP_OTB_EIP_WenZhong_GetList";
|
|
break;
|
|
|
|
default:
|
|
break;
|
|
}
|
|
|
|
return sSql;
|
|
}
|
|
}
|
|
}
|