From ccdf344ba449f02d4ab43b06b944aa47621bd582 Mon Sep 17 00:00:00 2001 From: hyunho Date: Mon, 28 Dec 2020 06:22:52 +0000 Subject: [PATCH] --- BO/Controllers/cmController.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BO/Controllers/cmController.cs b/BO/Controllers/cmController.cs index c41084f..86b75b3 100644 --- a/BO/Controllers/cmController.cs +++ b/BO/Controllers/cmController.cs @@ -59,10 +59,10 @@ namespace NP.BO.Controllers //{ // vm.CGs2 = Dao.Get("cm.cgs", new System.Collections.Hashtable() { { "isuse", 1 }, { "pcgno", vm.stringval },{ "isdel", 0 } }); //} - if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval12)) - { - vm.stringval12 = DateTime.Now.Year.ToString(); - } + //if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval12)) + //{ + // vm.stringval12 = DateTime.Now.Year.ToString(); + //} if (vm.viewidx == 0 && !string.IsNullOrEmpty(vm.stringval10)) { vm.stringval10 = vm.stringval10 ?? DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01");