Commit 2d42091a authored by lanbaoming's avatar lanbaoming

2024-05-23-4提交

parent ad6c5a96
...@@ -1326,7 +1326,6 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper, Custome ...@@ -1326,7 +1326,6 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper, Custome
@Override @Override
public PageResult<CustomerDO> getWaitToConfirmCustomerPage(CustomerPageReqVO pageReqVO) { public PageResult<CustomerDO> getWaitToConfirmCustomerPage(CustomerPageReqVO pageReqVO) {
IPage<CustomerDO> mpPage = MyBatisUtils.buildPage(pageReqVO); IPage<CustomerDO> mpPage = MyBatisUtils.buildPage(pageReqVO);
LambdaQueryWrapper<CustomerDO> customerDOLambdaQueryWrapperX = new LambdaQueryWrapperX<CustomerDO>() LambdaQueryWrapper<CustomerDO> customerDOLambdaQueryWrapperX = new LambdaQueryWrapperX<CustomerDO>()
......
...@@ -362,10 +362,11 @@ public class CustomerController { ...@@ -362,10 +362,11 @@ public class CustomerController {
@ApiOperation("获得待接收列表") @ApiOperation("获得待接收列表")
// @PreAuthorize("@ss.hasPermission('ecw:customer:query')") // @PreAuthorize("@ss.hasPermission('ecw:customer:query')")
public CommonResult<PageResult<CustomerRespVO>> getWaitConfirmList(@Valid CustomerPageReqVO customerPageReqVO) { public CommonResult<PageResult<CustomerRespVO>> getWaitConfirmList(@Valid CustomerPageReqVO customerPageReqVO) {
//lanbm 2024-05-26 添加注释
customerPageReqVO.setCustomerService(WebFrameworkUtils.getLoginUserId()); customerPageReqVO.setCustomerService(WebFrameworkUtils.getLoginUserId());
PageResult<CustomerDO> pageResult = customerService.getWaitToConfirmCustomerPage(customerPageReqVO); PageResult<CustomerDO> pageResult =
customerService.getWaitToConfirmCustomerPage(customerPageReqVO);
return success(CustomerConvert.INSTANCE.convertPage(pageResult)); return success(CustomerConvert.INSTANCE.convertPage(pageResult));
} }
...@@ -395,8 +396,9 @@ public class CustomerController { ...@@ -395,8 +396,9 @@ public class CustomerController {
@ApiOperation("获得待分配客户列表") @ApiOperation("获得待分配客户列表")
// @PreAuthorize("@ss.hasPermission('ecw:customer:query')") // @PreAuthorize("@ss.hasPermission('ecw:customer:query')")
public CommonResult<PageResult<CustomerRespVO>> getWaitForDistributionList(@Valid CustomerPageReqVO customerPageReqVO) { public CommonResult<PageResult<CustomerRespVO>> getWaitForDistributionList(@Valid CustomerPageReqVO customerPageReqVO) {
//lanbm 2024-05-26 添加注释
PageResult<CustomerDO> pageResult = customerService.getWaitToAssignedCustomerPage(customerPageReqVO); PageResult<CustomerDO> pageResult =
customerService.getWaitToAssignedCustomerPage(customerPageReqVO);
return success(CustomerConvert.INSTANCE.convertPage(pageResult)); return success(CustomerConvert.INSTANCE.convertPage(pageResult));
} }
......
...@@ -58,7 +58,7 @@ public class CalculateOrderVValueListener { ...@@ -58,7 +58,7 @@ public class CalculateOrderVValueListener {
if (orderDO.getTransportId() == 1) { if (orderDO.getTransportId() == 1) {
//海运计算V值 //海运计算V值
temp = ecwVzService.getOne(new LambdaQueryWrapperX<EcwVz>() temp = ecwVzService.getOne(new LambdaQueryWrapperX<EcwVz>()
.eqIfPresent(EcwVz::getTitleZh, "M3")); .eqIfPresent(EcwVz::getFuhao, "M3"));
if (temp == null) { if (temp == null) {
throw exception(VCONFIG_NOT_EXISTS); throw exception(VCONFIG_NOT_EXISTS);
} }
...@@ -66,7 +66,7 @@ public class CalculateOrderVValueListener { ...@@ -66,7 +66,7 @@ public class CalculateOrderVValueListener {
} else if (orderDO.getTransportId() == 3) { } else if (orderDO.getTransportId() == 3) {
//空运计算V值 //空运计算V值
temp = ecwVzService.getOne(new LambdaQueryWrapperX<EcwVz>() temp = ecwVzService.getOne(new LambdaQueryWrapperX<EcwVz>()
.eqIfPresent(EcwVz::getTitleZh, "KG")); .eqIfPresent(EcwVz::getFuhao, "KG"));
if (temp == null) { if (temp == null) {
throw exception(VCONFIG_NOT_EXISTS); throw exception(VCONFIG_NOT_EXISTS);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment