물건현황 검색 API 수정

This commit is contained in:
LAPTOP-L3VE7KK2\USER 2025-01-07 11:18:31 +09:00
parent d3c57a6019
commit 09a9ccb7b3
2 changed files with 6 additions and 0 deletions

View File

@ -158,6 +158,9 @@ public class ObjectRequest {
@Schema(description = "검색 - 정렬순서")
private String schSortType;
@Schema(description = "검색 - 임시저장여부")
private String schTempFlg;
@Schema(description = "복사 물건번호")
private String copyObjectNo;

View File

@ -265,6 +265,9 @@
AND O.CREATE_DATETIME BETWEEN CONVERT(DATETIME, CONVERT(VARCHAR(10), PARSE(#{schFromDt} AS DATE USING 'en-US')) + ' 00:00:00') AND CONVERT(DATETIME, CONVERT(VARCHAR(10), PARSE(#{schToDt} AS DATE USING 'en-US')) + ' 23:59:59')
</when>
</choose>
<if test='schTempFlg != null and schTempFlg != ""'>
AND O.TEMP_FLG = #{schTempFlg}
</if>
) TT
<if test='startRow != null and startRow != "" and endRow != null and endRow != ""'>
WHERE TT.ROW_NUMBER BETWEEN #{startRow} AND #{endRow}