Ver a proveniência

update inventory lot line query

master
cyril.tsui há 2 semanas
ascendente
cometimento
2d06b291ca
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/main/java/com/ffii/fpsms/modules/stock/entity/InventoryLotLineRepository.kt

+ 1
- 1
src/main/java/com/ffii/fpsms/modules/stock/entity/InventoryLotLineRepository.kt Ver ficheiro

@@ -13,7 +13,7 @@ import java.io.Serializable
interface InventoryLotLineRepository : AbstractRepository<InventoryLotLine, Long> {
fun findInventoryLotLineInfoByInventoryLotItemIdIn(ids: List<Serializable>): List<InventoryLotLineInfo>

@Query("select ill from InventoryLotLine ill where :id is null or ill.inventoryLot.item.id = :id")
@Query("select ill from InventoryLotLine ill where :id is null or ill.inventoryLot.item.id = :id order by ill.id desc")
fun findInventoryLotLineInfoByItemId(id: Long?, pageable: Pageable): Page<InventoryLotLineInfo>

@Query("""


Carregando…
Cancelar
Guardar