This commit is contained in:
parent
9275a164cc
commit
46e0e996d2
|
|
@ -65,7 +65,7 @@ namespace NP.BO.Controllers
|
||||||
}
|
}
|
||||||
if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval10))
|
if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval10))
|
||||||
{
|
{
|
||||||
vm.stringval10 = vm.stringval10 ?? DateTime.Now.ToString("yyyy-MM-01");
|
vm.stringval10 = vm.stringval10 ?? DateTime.Now.AddMonths(-1).ToString("yyyy-MM-01");
|
||||||
}
|
}
|
||||||
if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval11))
|
if (vm.viewidx == 0 && !IsPost() && string.IsNullOrEmpty(vm.stringval11))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -158,8 +158,8 @@
|
||||||
<isNotNull property="tseq" prepend="and">t.tseq=#tseq#</isNotNull>
|
<isNotNull property="tseq" prepend="and">t.tseq=#tseq#</isNotNull>
|
||||||
<isNotNull property="tmno" prepend="and">a.tmno=#tmno#</isNotNull>
|
<isNotNull property="tmno" prepend="and">a.tmno=#tmno#</isNotNull>
|
||||||
<isNotNull property="iscurrent" prepend="and">a.setime > now()</isNotNull>
|
<isNotNull property="iscurrent" prepend="and">a.setime > now()</isNotNull>
|
||||||
<isNotNull property="sstime" prepend="and">t.sstime >= #sstime#</isNotNull>
|
<isNotNull property="sstime" prepend="and">a.sstime >= #sstime#</isNotNull>
|
||||||
<isNotNull property="setime" prepend="and">t.setime <= #setime#</isNotNull>
|
<isNotNull property="setime" prepend="and">a.setime <= #setime#</isNotNull>
|
||||||
) a
|
) a
|
||||||
<include refid="sql.pagedynamic"></include>
|
<include refid="sql.pagedynamic"></include>
|
||||||
order by a.rno
|
order by a.rno
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue