瀏覽代碼

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

Co-authored-by: Cursor <[email protected]>
production
CANCERYS\kw093 4 小時之前
父節點
當前提交
69b36d36e6
共有 4 個檔案被更改,包括 4 行新增2 行删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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")


Loading…
取消
儲存