This commit is contained in:
hyunho 2020-12-28 06:22:52 +00:00
parent d4270444d4
commit ccdf344ba4
1 changed files with 4 additions and 4 deletions

View File

@ -59,10 +59,10 @@ namespace NP.BO.Controllers
//{ //{
// vm.CGs2 = Dao.Get<CG>("cm.cgs", new System.Collections.Hashtable() { { "isuse", 1 }, { "pcgno", vm.stringval },{ "isdel", 0 } }); // vm.CGs2 = Dao.Get<CG>("cm.cgs", new System.Collections.Hashtable() { { "isuse", 1 }, { "pcgno", vm.stringval },{ "isdel", 0 } });
//} //}
if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval12)) //if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval12))
{ //{
vm.stringval12 = DateTime.Now.Year.ToString(); // vm.stringval12 = DateTime.Now.Year.ToString();
} //}
if (vm.viewidx == 0 && !string.IsNullOrEmpty(vm.stringval10)) if (vm.viewidx == 0 && !string.IsNullOrEmpty(vm.stringval10))
{ {
vm.stringval10 = vm.stringval10 ?? DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01"); vm.stringval10 = vm.stringval10 ?? DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01");