From 119baa8e4d47b8af6117dd0bbe35fd1755504ee1 Mon Sep 17 00:00:00 2001 From: zhoushihao <zsh19950802@163.com> Date: 星期一, 23 十二月 2024 22:20:03 +0800 Subject: [PATCH] 1、卧理不同界面报破损功能优化 2、大理片笼新增按照钢化版图查询笼内玻璃信息 --- hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageDetailsController.java | 27 +++++++++++++++++---------- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageDetailsController.java b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageDetailsController.java index dc4d3d4..d174f6c 100644 --- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageDetailsController.java +++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstorage/controller/BigStorageCageDetailsController.java @@ -71,7 +71,7 @@ return Result.build(200, "鍒犻櫎鎴愬姛", bigStorageCageService.querybigStorageCageDetail()); } - @ApiOperation("鐞嗙墖绗间换鍔$牬鎹�0/鎷胯蛋1") + @ApiOperation("鐞嗙墖绗肩鍐呯幓鐠冪牬鎹�0/鎷胯蛋1") @PostMapping("/damageBigStorageCageDetails") public Result damageBigStorageCageDetails(@RequestBody BigStorageCageDetails bigStorageCageDetails, int status) { bigStorageCageDetailsService.damageBigStorageCageDetails(bigStorageCageDetails.getGlassId(), status); @@ -104,12 +104,28 @@ } } + @ApiOperation("鎸囧畾閽㈠寲宸ョ▼") + @PostMapping("/appointTemperingEngineerId") + public Result appointTemperingEngineerId(@RequestBody BigStorageCageDetails bigStorageCageDetails) { + boolean result = bigStorageCageDetailsService.appointTemperingEngineerId(bigStorageCageDetails.getEngineerId()); + if (result == true) { + return Result.build(200, "鎸囧畾閽㈠寲鎴愬姛", 1); + } else { + return Result.build(200, "宸插瓨鍦ㄩ挗鍖栦换鍔★紝璇风瓑寰呴挗鍖栧畬鎴愬啀鎸囧畾閽㈠寲", 1); + } + } + @ApiOperation("閽㈠寲/闈為挗鍖栨煡璇細0 闈為挗鍖� 1锛氶挗鍖�") @PostMapping("/selectTemperingGlass") public Result<List<TemperingGlassCountDTO>> selectTemperingGlass(int isTempering) { return Result.build(200, "鏌ヨ鎴愬姛", bigStorageCageDetailsService.selectTemperingGlass(isTempering)); } + @ApiOperation("绗煎唴瀹為檯鏁伴噺鏌ヨ") + @PostMapping("/queryRealGlassInfo") + public Result<List<BigStorageCageDetails>> queryRealGlassInfo(@RequestBody BigStorageQueryVO bigStorageQueryVO) { + return Result.build(200, "鏌ヨ鎴愬姛", bigStorageCageDetailsService.queryRealGlassInfo(bigStorageQueryVO)); + } @ApiOperation("缂虹墖鏁伴噺鏌ヨ") @PostMapping("/queryLackGlassInfo") public Result<List<GlassInfoLackDTO>> queryLackGlassInfo(@RequestBody BigStorageQueryVO bigStorageQueryVO) { @@ -163,17 +179,8 @@ return Result.build(200, "鎸囧畾娴佺▼鍗℃垚鍔�", 1); } } - - @ApiOperation("鎸囧畾宸ョ▼") - @PostMapping("/appointEngineerId") - public Result appointEngineerId(@RequestBody BigStorageCageDetails bigStorageCageDetails) { - bigStorageCageDetailsService.appointEngineerId(bigStorageCageDetails.getEngineerId()); - return Result.build(200, "淇敼鎴愬姛", 1); - } - @ApiOperation("澶х悊鐗囩鎶ョ牬鎹�") @PostMapping("/bigStorageGlassDamageByGlassId") - public Result<String> bigStorageGlassDamageByGlassId(@RequestBody Map<String, String> map) { String glassId=map.get("glassId"); return Result.build(200, "鎶ョ牬鎹熸垚鍔�", bigStorageCageDetailsService.bigStorageGlassDamageByGlassId(glassId)); -- Gitblit v1.8.0