//Insert
string strSql = @"SELECT * from orgcontract WHERE GUID =@GUID";
List<MySqlParameter> lstParamm = new List<MySqlParameter>();
lstParamm.Add(new MySqlParameter("@GUID", CMS.GUID));
DataTable dtContract = MySqlServerHelper.GetDataTableBySql(strSql, lstParamm.ToArray());
if (dtContract.Rows.Count == 0)
{
}
else
{
ReturnData.Result = "客户存在";
}