Quellcode durchsuchen

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

Co-authored-by: Cursor <[email protected]>
production
CANCERYS\kw093 vor 6 Stunden
Ursprung
Commit
69b36d36e6
4 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  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 Datei anzeigen

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

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")
fun findInventoryLotLineInfoByItemId(id: Long?, pageable: Pageable): Page<InventoryLotLineInfo>



+ 1
- 0
src/main/java/com/ffii/fpsms/modules/stock/service/InventoryLotLineService.kt Datei anzeigen

@@ -76,6 +76,7 @@ open class InventoryLotLineService(
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> {
val pageable = PageRequest.of(request.pageNum ?: 0, request.pageSize ?: 10);



+ 1
- 1
src/main/java/com/ffii/fpsms/modules/stock/service/InventoryService.kt Datei anzeigen

@@ -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;
* one inventory row per item (latest id). Shared getRecordByPage is unchanged.
*/


+ 1
- 1
src/main/java/com/ffii/fpsms/modules/stock/web/InventoryController.kt Datei anzeigen

@@ -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.
*/
@GetMapping("/searchLatest/getRecordByPage")


Laden…
Abbrechen
Speichern