결제내역 : 검색어에 결제번호 검색 추가

This commit is contained in:
lch 2021-07-01 08:10:31 +00:00
parent 587ace83f9
commit 45e0b93391
2 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,7 @@
<tr> <tr>
<th>검색어</th> <th>검색어</th>
<td class="text-left"> <td class="text-left">
@Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":전체검색;username:이름;userid:ID;itemname:상품명;cname:교육과정명" }, { "name", "stringval15" }, { "selected", Model.stringval15 } }) @Html.Partial("./Partial/Select", null, new ViewDataDictionary { { "valuetext", ":전체검색;username:이름;userid:ID;itemname:상품명;cname:교육과정명;payno:결제번호" }, { "name", "stringval15" }, { "selected", Model.stringval15 } })
@Html.Partial("./Partial/Text", Model.stringval16, Helpers.DicText(new NP.Model.TextDic() { Name = "stringval16", Value = Model.stringval16, PH = "", CssClass = "ff" })) @Html.Partial("./Partial/Text", Model.stringval16, Helpers.DicText(new NP.Model.TextDic() { Name = "stringval16", Value = Model.stringval16, PH = "", CssClass = "ff" }))
@Html.Partial("./Partial/Button", new NP.Model.Button() { Special = "search", OnClick = "searchthis()" }) @Html.Partial("./Partial/Button", new NP.Model.Button() { Special = "search", OnClick = "searchthis()" })
</td> </td>

View File

@ -818,6 +818,7 @@
<isNotNull property="usernameiditemname">and (u.username=#usernameiditemname# or u.userid=#usernameiditemname# or cm.cname like concat('%',#usernameiditemname#,'%') or bk.bkname like concat('%',#usernameiditemname#,'%') or ex.exname like concat('%',#usernameiditemname#,'%') or cm2.cname like concat('%',#usernameiditemname#,'%'))</isNotNull> <isNotNull property="usernameiditemname">and (u.username=#usernameiditemname# or u.userid=#usernameiditemname# or cm.cname like concat('%',#usernameiditemname#,'%') or bk.bkname like concat('%',#usernameiditemname#,'%') or ex.exname like concat('%',#usernameiditemname#,'%') or cm2.cname like concat('%',#usernameiditemname#,'%'))</isNotNull>
<isNotNull property="isgroup">and p.isgroup=1</isNotNull> <isNotNull property="isgroup">and p.isgroup=1</isNotNull>
<isNotNull property="isunpay">and p.isunpay=#isunpay#</isNotNull> <isNotNull property="isunpay">and p.isunpay=#isunpay#</isNotNull>
<isNotNull property="payno">and p.payno=#payno#</isNotNull>
group by p.payno group by p.payno
union all union all
select 1 isexamready,a.exno payno,a.userno pi1,a.userno pi2,1 ccount select 1 isexamready,a.exno payno,a.userno pi1,a.userno pi2,1 ccount