diff --git a/nlsso-server/src/main/java/org/nl/common/base/CommonPage.java b/nlsso-server/src/main/java/org/nl/common/base/CommonPage.java index 604c50e..397a674 100644 --- a/nlsso-server/src/main/java/org/nl/common/base/CommonPage.java +++ b/nlsso-server/src/main/java/org/nl/common/base/CommonPage.java @@ -53,7 +53,7 @@ public class CommonPage { CommonPage result = new CommonPage<>(); result.setResult(pageResult); result.setCode(1); - result.setDesc("操作成功"); + result.setDesc("操作完成"); return result; } diff --git a/nlsso-server/src/main/java/org/nl/common/base/ResultCode.java b/nlsso-server/src/main/java/org/nl/common/base/ResultCode.java index ab82ef9..9372d55 100644 --- a/nlsso-server/src/main/java/org/nl/common/base/ResultCode.java +++ b/nlsso-server/src/main/java/org/nl/common/base/ResultCode.java @@ -7,7 +7,7 @@ import com.baomidou.mybatisplus.extension.api.IErrorCode; */ public enum ResultCode implements IErrorCode { // - SUCCESS(1, "操作成功"), + SUCCESS(1, "操作完成"), FAILED(0, "操作失败"), MISS_PARAMETER(400, "参数缺失"), UNAUTHORIZED(401, "暂未登录或token已经过期"), diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/AllocationBillController.java b/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/AllocationBillController.java index baf3155..9f4237d 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/AllocationBillController.java +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/AllocationBillController.java @@ -81,9 +81,9 @@ public class AllocationBillController { * * @param params 根据条件查询库存跟踪号 */ - @PostMapping("/getInventoryInfo") + @PostMapping("/queryInventoryInfo") @Log("根据条件查询库存跟踪号") - public ResponseEntity> getInventoryInfo(@RequestBody AllocationBillVO params) { + public ResponseEntity> queryInventoryInfo(@RequestBody AllocationBillVO params) { return new ResponseEntity<>(allocationBillService.getInventoryInfo(params), HttpStatus.OK); } diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/EasOutInBillController.java b/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/EasOutInBillController.java index be744c7..d5496f3 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/EasOutInBillController.java +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/controller/EasOutInBillController.java @@ -110,7 +110,7 @@ public class EasOutInBillController { /** * 获取仓库信息 */ - @PostMapping("/getUserInfo") + @PostMapping("/getWarehouseInfo") @Log("获取仓库信息") public CommonResult> getWarehouseInfo() { return RestBusinessTemplate.execute(() -> easOutInBillService.getWarehouseInfo()); diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/mapper/EasOutInBillMapper.java b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/mapper/EasOutInBillMapper.java index 6c915cf..f6a3411 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/mapper/EasOutInBillMapper.java +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/mapper/EasOutInBillMapper.java @@ -50,7 +50,7 @@ public interface EasOutInBillMapper extends BaseMapper { List getOrganizationInfo(); - @Select("SELECT * FROM EAS_NOBLE.V_UC_USERINFO") + @Select("SELECT YHBM AS CGYBM,YHMC AS CGYMC FROM EAS_NOBLE.V_UC_USERINFO") @DS("oracle_eas") List getUserInfo(); diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/AllocationBillMapper.xml b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/AllocationBillMapper.xml index 1631c9a..cf42018 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/AllocationBillMapper.xml +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/AllocationBillMapper.xml @@ -58,16 +58,7 @@