From 143216de73ba783a26d30ec40a03eb9b4fc1b862 Mon Sep 17 00:00:00 2001 From: xd <844539747@qq.com> Date: Tue, 21 May 2024 17:01:09 +0800 Subject: [PATCH] '123' --- ABAP_AS_WITH_POOL.jcoDestination | 4 ++-- .../web/controller/quot/QuotController.java | 24 +++++++++---------- .../java/com/ruoyi/redBook/domain/OAQuot.java | 6 +++++ .../mapper/redBook/OARedBookMapper.xml | 2 +- ruoyi-ui/src/views/quot/quot/index.vue | 4 ++-- ruoyi-ui/src/views/redBook/quots.vue | 17 ++++++++++++- 6 files changed, 39 insertions(+), 18 deletions(-) diff --git a/ABAP_AS_WITH_POOL.jcoDestination b/ABAP_AS_WITH_POOL.jcoDestination index c7a3327..c0082bc 100644 --- a/ABAP_AS_WITH_POOL.jcoDestination +++ b/ABAP_AS_WITH_POOL.jcoDestination @@ -1,5 +1,5 @@ #for tests only ! -#Mon May 20 13:09:39 CST 2024 +#Tue May 21 16:05:10 CST 2024 jco.destination.pool_capacity=10 jco.client.lang=ZH jco.client.ashost=172.19.0.120 @@ -7,5 +7,5 @@ jco.client.saprouter= jco.client.user=RFC jco.client.sysnr=00 jco.destination.peak_limit=10 -jco.client.passwd=dZ:kRfA{dgU`sub#+3T]H6aOCHVj9d94]yQ__F^^y$n+#PX/ +jco.client.passwd=u]!Z{M|^ps7|OTDYVR9FX@#VvMHD7~y@=V7NzYJz?LvRTx~H jco.client.client=300 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java index c293a54..5de8281 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/quot/QuotController.java @@ -295,7 +295,7 @@ public class QuotController extends BaseController } if(StringUtils.isEmpty(quotJsxzGroup)){ - return error("请先选择分组"); + return error("技术协助-请先选择分组"); }else{ QuotJsqr quotJsqr = new QuotJsqr(); String quotJsqrId = UUID.fastUUID().toString(); @@ -401,9 +401,9 @@ public class QuotController extends BaseController @PostMapping("/feedbackQuot") public AjaxResult feedbackQuot(@RequestBody Quot quot) { - String quot_id = quot.getQuotId(); + //String quot_id = quot.getQuotId(); - Quot info = quotService.selectQuotByQuotId(quot_id); + //Quot info = quotService.selectQuotByQuotId(quot_id); String quot_jsxz_approval_status = quot.getQuotJsxzApprovalStatus(); String quot_hj_approval_status = quot.getQuotHjApprovalStatus(); if("1".equals(quot_jsxz_approval_status)){ @@ -413,11 +413,11 @@ public class QuotController extends BaseController return error("核价还未完成"); } - info.setQuotQuotationDate(DateUtils.getNowDate());//报价单-报价日期设置为 当前日期 - info.setQuotApprovalStatus("2"); - info.setQuotCheckUserName(getUsername()); + quot.setQuotQuotationDate(DateUtils.getNowDate());//报价单-报价日期设置为 当前日期 + quot.setQuotApprovalStatus("2"); + quot.setQuotCheckUserName(getUsername()); - quotService.updateQuot(info); + quotService.updateQuot(quot); return success(); } @@ -429,15 +429,15 @@ public class QuotController extends BaseController @PostMapping("/rejectQuot") public AjaxResult rejectQuot(@RequestBody Quot quot) { - String quot_id = quot.getQuotId(); + //String quot_id = quot.getQuotId(); - Quot info = quotService.selectQuotByQuotId(quot_id); + //Quot info = quotService.selectQuotByQuotId(quot_id); String quot_feedback_explanation = quot.getQuotFeedbackExplanation(); if(StringUtils.isEmpty(quot_feedback_explanation)){ - return error("反馈说明不能为空"); + return error("报价信息-反馈说明不能为空"); } - info.setQuotApprovalStatus("3"); - quotService.updateQuot(info); + quot.setQuotApprovalStatus("3"); + quotService.updateQuot(quot); return success(); } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/redBook/domain/OAQuot.java b/ruoyi-system/src/main/java/com/ruoyi/redBook/domain/OAQuot.java index dacf244..7e3fdf4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/redBook/domain/OAQuot.java +++ b/ruoyi-system/src/main/java/com/ruoyi/redBook/domain/OAQuot.java @@ -16,6 +16,8 @@ public class OAQuot extends BaseEntity { private String rbDateUid;//调价版本 private String quotApprovalStatus;//提交状态 + private String createName;//创建人 + private List selectedResultData; public String getQuot_id() { return quot_id; } @@ -74,6 +76,10 @@ public class OAQuot extends BaseEntity { return selectedResultData; } + public String getCreateName() { return createName; } + + public void setCreateName(String createName) { this.createName = createName; } + public void setSelectedResultData(List selectedResultData) { this.selectedResultData = selectedResultData; } diff --git a/ruoyi-system/src/main/resources/mapper/redBook/OARedBookMapper.xml b/ruoyi-system/src/main/resources/mapper/redBook/OARedBookMapper.xml index 25f845e..3ad9fa7 100644 --- a/ruoyi-system/src/main/resources/mapper/redBook/OARedBookMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/redBook/OARedBookMapper.xml @@ -166,7 +166,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"