견문통계 개인실적 결제처 조건 추가.

master
강석 최 2023-10-19 15:07:10 +09:00
parent a5ac7066fe
commit 423c7ddc1f
3 changed files with 14 additions and 1 deletions

View File

@ -26,6 +26,8 @@ public class TypeStatistics extends BaseModel {
@Transient
private String userNm;
@Transient
private String reportOrgan;
@Transient
private List<String> organList;
@Transient
private List<String> rating;

View File

@ -542,6 +542,9 @@
<if test='endDate != null and endDate != ""'>
and aa.wrt_dt &lt;= #{endDate}::date+1
</if>
<if test='reportOrgan != null and reportOrgan != ""'>
and aa.doc_no like '%'||#{reportOrgan}||'%'
</if>
<if test='rating != null'>
and ab.affair_rate in
<foreach collection="rating" item="item" index="index" separator="," open="(" close=")">

View File

@ -34,7 +34,15 @@
</div>
</div>
<div class="col-auto">
<input type="text" class="form-control form-control-sm" name="userNm" placeholder="보고자명" autocomplete="off">
<input type="text" class="form-control form-control-sm" name="userNm" placeholder="보고자명" autocomplete="off" th:value="${searchParams.userNm}">
</div>
<div class="col-auto">
<select class="form-select form-select-sm" name="reportOrgan">
<option value="">결제처</option>
<th:block th:each="code:${session.commonCode.get('OG')}">
<option th:value="${code.itemValue}" th:text="${code.itemValue}" th:selected="${code.itemValue eq searchParams.reportOrgan}"></option>
</th:block>
</select>
</div>
<div class="col-auto">
<label><input name="sangbo" type="checkbox" value="OGC003">경찰서상보</label>