Selaa lähdekoodia

Update FP-MTMS checklist comments for inventory Location Search revert.

Co-authored-by: Cursor <[email protected]>
production
CANCERYS\kw093 5 tuntia sitten
vanhempi
commit
69b36d36e6
4 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. +1
    -0
      src/main/java/com/ffii/fpsms/modules/stock/entity/InventoryLotLineRepository.kt
  2. +1
    -0
      src/main/java/com/ffii/fpsms/modules/stock/service/InventoryLotLineService.kt
  3. +1
    -1
      src/main/java/com/ffii/fpsms/modules/stock/service/InventoryService.kt
  4. +1
    -1
      src/main/java/com/ffii/fpsms/modules/stock/web/InventoryController.kt

+ 1
- 0
src/main/java/com/ffii/fpsms/modules/stock/entity/InventoryLotLineRepository.kt Näytä tiedosto

@@ -56,6 +56,7 @@ WHERE ill.id = :id


fun findInventoryLotLineInfoByInventoryLotItemIdIn(ids: List<Serializable>): List<InventoryLotLineInfo> fun findInventoryLotLineInfoByInventoryLotItemIdIn(ids: List<Serializable>): List<InventoryLotLineInfo>


/** FP-MTMS Version Checklist | Functions Ref. No. 80 | v1.0.1 | 2026-09-21 */
@Query("select ill from InventoryLotLine ill where :id is null or ill.inventoryLot.item.id = :id order by ill.id desc") @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> fun findInventoryLotLineInfoByItemId(id: Long?, pageable: Pageable): Page<InventoryLotLineInfo>




+ 1
- 0
src/main/java/com/ffii/fpsms/modules/stock/service/InventoryLotLineService.kt Näytä tiedosto

@@ -76,6 +76,7 @@ open class InventoryLotLineService(
return inventoryLotLineRepository.findInventoryLotLineInfoByInventoryLotItemIdIn(itemIds) return inventoryLotLineRepository.findInventoryLotLineInfoByInventoryLotItemIdIn(itemIds)
} }


/** FP-MTMS Version Checklist | Functions Ref. No. 80 | v1.0.1 | 2026-09-21 */
open fun allInventoryLotLinesByPage(request: SearchInventoryLotLineInfoRequest): RecordsRes<InventoryLotLineInfo> { open fun allInventoryLotLinesByPage(request: SearchInventoryLotLineInfoRequest): RecordsRes<InventoryLotLineInfo> {
val pageable = PageRequest.of(request.pageNum ?: 0, request.pageSize ?: 10); val pageable = PageRequest.of(request.pageNum ?: 0, request.pageSize ?: 10);




+ 1
- 1
src/main/java/com/ffii/fpsms/modules/stock/service/InventoryService.kt Näytä tiedosto

@@ -89,7 +89,7 @@ open class InventoryService(
} }


/** /**
* FP-MTMS Version Checklist | Functions Ref. No. 19 | v1.0.0 | 2026-07-17
* FP-MTMS Version Checklist | Functions Ref. No. 19 | v1.0.2 | 2026-09-21
* Inventory search page only: no baseUnit/uomId filter; * Inventory search page only: no baseUnit/uomId filter;
* one inventory row per item (latest id). Shared getRecordByPage is unchanged. * one inventory row per item (latest id). Shared getRecordByPage is unchanged.
*/ */


+ 1
- 1
src/main/java/com/ffii/fpsms/modules/stock/web/InventoryController.kt Näytä tiedosto

@@ -22,7 +22,7 @@ class InventoryController(
} }


/** /**
* FP-MTMS Version Checklist | Functions Ref. No. 19 | v1.0.0 | 2026-07-17
* FP-MTMS Version Checklist | Functions Ref. No. 19 | v1.0.2 | 2026-09-21
* Inventory search page only: latest inventory row per item, no baseUnit/uomId filter. * Inventory search page only: latest inventory row per item, no baseUnit/uomId filter.
*/ */
@GetMapping("/searchLatest/getRecordByPage") @GetMapping("/searchLatest/getRecordByPage")


Ladataan…
Peruuta
Tallenna