This commit is contained in:
parent
3d9c7ea93b
commit
3c7f295d48
|
|
@ -441,7 +441,18 @@ namespace NP.BO.Controllers
|
|||
{
|
||||
ht.Add("hascomplete", 1);
|
||||
}
|
||||
|
||||
ht.Add("cnamelike", vm.stringval5);
|
||||
|
||||
if (vm.stringval6 == "0")
|
||||
{
|
||||
ht.Add("noresult", 1);
|
||||
}
|
||||
else if (vm.stringval6 == "1")
|
||||
{
|
||||
ht.Add("result", 1);
|
||||
}
|
||||
|
||||
vm.IsAdmin = SUserInfo.IsAdmin;
|
||||
if (SUserInfo.IsTeacher)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@
|
|||
}
|
||||
</select>
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-유형선택;0:온라인;1:오프라인;2:혼합" }, { "name", "stringval3" }, { "selected", Model.stringval3 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-수료처리여부;1:수료처리;0:수료미처리" }, { "name", "stringval4" }, { "selected", Model.stringval4 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-수료여부;1:수료;0:미수료" }, { "name", "stringval4" }, { "selected", Model.stringval4 } })
|
||||
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":-수료처리여부;1:수료 처리;0:수료 미처리" }, { "name", "stringval6" }, { "selected", Model.stringval6 } })
|
||||
@Html.Partial("./Partial/Text", Model.stringval5, Helpers.DicText(new NP.Model.TextDic() { Name = "stringval5", Value = Model.stringval5, PH = "강좌명을 입력하세요.", CssClass = "ff" }))
|
||||
@Html.Partial("./Partial/Button", new NP.Model.Button() { Special = "search" })
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -129,6 +129,8 @@
|
|||
group by b.cmno
|
||||
<isNotNull property="nocomplete">having sum(d.iscomplete) < 1</isNotNull>
|
||||
<isNotNull property="hascomplete">having sum(d.iscomplete) > 0</isNotNull>
|
||||
<isNotNull property="result">having sum(case when d.iscomplete is not null then 1 else 0 end) > 0</isNotNull>
|
||||
<isNotNull property="noresult">having sum(case when d.iscomplete is null then 1 else 0 end) > 0</isNotNull>
|
||||
) a
|
||||
<include refid="sql.pagedynamic"></include>
|
||||
) a
|
||||
|
|
|
|||
Loading…
Reference in New Issue