protected string GetYK_ZJYXQ(object zjlx, object yxq, object yxq1, object yxq2, object yxq3)
        {
            EyouSoft.Model.EnumType.YlStructure.YKZJLeiXing _zjlx = (EyouSoft.Model.EnumType.YlStructure.YKZJLeiXing)zjlx;
            string _yxq  = string.Empty;
            string _yxq1 = string.Empty;
            string _yxq2 = string.Empty;
            string _yxq3 = string.Empty;

            if (yxq != null)
            {
                _yxq = yxq.ToString();
            }
            if (yxq1 != null)
            {
                _yxq1 = yxq1.ToString();
            }
            if (yxq2 != null)
            {
                _yxq2 = yxq2.ToString();
            }
            if (yxq3 != null)
            {
                _yxq3 = yxq3.ToString();
            }

            if (string.IsNullOrEmpty(_yxq) &&
                string.IsNullOrEmpty(_yxq1) &&
                string.IsNullOrEmpty(_yxq2) &&
                string.IsNullOrEmpty(_yxq3))
            {
                return(string.Empty);
            }

            if (!string.IsNullOrEmpty(_yxq))
            {
                return(Utils.GetDateTime(_yxq).ToString("yyyy-MM-dd"));
            }

            if (!string.IsNullOrEmpty(_yxq1))
            {
                if (string.IsNullOrEmpty(_yxq2))
                {
                    _yxq2 = "01";
                }
                if (string.IsNullOrEmpty(_yxq3))
                {
                    _yxq3 = "01";
                }

                var d = Utils.GetDateTimeNullable(_yxq1 + "-" + _yxq2 + "-" + _yxq3);
                if (d.HasValue)
                {
                    return(d.Value.ToString("yyyy-MM-dd"));
                }
            }

            return(string.Empty);
        }
        protected string GetYK_CSRQ(object zjlx, object sr, object sr1, object sr2, object sr3)
        {
            EyouSoft.Model.EnumType.YlStructure.YKZJLeiXing _zjlx = (EyouSoft.Model.EnumType.YlStructure.YKZJLeiXing)zjlx;
            string _sr  = string.Empty;
            string _sr1 = string.Empty;
            string _sr2 = string.Empty;
            string _sr3 = string.Empty;

            if (sr != null)
            {
                _sr = sr.ToString();
            }
            if (sr1 != null)
            {
                _sr1 = sr1.ToString();
            }
            if (sr2 != null)
            {
                _sr2 = sr2.ToString();
            }
            if (sr3 != null)
            {
                _sr3 = sr3.ToString();
            }

            if (string.IsNullOrEmpty(_sr) &&
                string.IsNullOrEmpty(_sr1) &&
                string.IsNullOrEmpty(_sr2) &&
                string.IsNullOrEmpty(_sr3))
            {
                return(string.Empty);
            }

            if (!string.IsNullOrEmpty(_sr))
            {
                var d = Utils.GetDateTimeNullable(_sr);
                if (d.HasValue)
                {
                    return(d.Value.ToString("yyyy-MM-dd"));
                }
            }

            if (!string.IsNullOrEmpty(_sr1))
            {
                if (string.IsNullOrEmpty(_sr2))
                {
                    _sr2 = "01";
                }
                if (string.IsNullOrEmpty(_sr3))
                {
                    _sr3 = "01";
                }

                var d = Utils.GetDateTimeNullable(_sr1 + "-" + _sr2 + "-" + _sr3);
                if (d.HasValue)
                {
                    return(d.Value.ToString("yyyy-MM-dd"));
                }
            }

            return(string.Empty);
        }