initial stock configuration
This commit is contained in:
parent
9aafe5a95c
commit
954c9088e3
@ -172,8 +172,9 @@ object Entities {
|
||||
where entity_name = :e
|
||||
and created_at between :from and :to
|
||||
and data @> cast(:search as jsonb)
|
||||
and deleted = false
|
||||
$createdFilter
|
||||
order by sysPk
|
||||
order by sysPk desc
|
||||
""".trimIndent()
|
||||
).create()
|
||||
)
|
||||
@ -205,7 +206,7 @@ object Entities {
|
||||
.eq("entityName", entity.lowercase())
|
||||
.setFirstRow((pageNo - 1) * perPage)
|
||||
.setMaxRows(perPage)
|
||||
.orderBy("sysPk")
|
||||
.orderBy("sysPk desc")
|
||||
.findPagedList()
|
||||
|
||||
ctx.json(cnt)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user