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
@Override
public PageResult<CustomerDO> getWaitToConfirmCustomerPage(CustomerPageReqVO pageReqVO) {
IPage<CustomerDO> mpPage = MyBatisUtils.buildPage(pageReqVO);
LambdaQueryWrapper<CustomerDO> customerDOLambdaQueryWrapperX = new LambdaQueryWrapperX<CustomerDO>()
......
......@@ -362,10 +362,11 @@ public class CustomerController {
@ApiOperation("获得待接收列表")
// @PreAuthorize("@ss.hasPermission('ecw:customer:query')")
public CommonResult<PageResult<CustomerRespVO>> getWaitConfirmList(@Valid CustomerPageReqVO customerPageReqVO) {
//lanbm 2024-05-26 添加注释
customerPageReqVO.setCustomerService(WebFrameworkUtils.getLoginUserId());
PageResult<CustomerDO> pageResult = customerService.getWaitToConfirmCustomerPage(customerPageReqVO);
PageResult<CustomerDO> pageResult =
customerService.getWaitToConfirmCustomerPage(customerPageReqVO);
return success(CustomerConvert.INSTANCE.convertPage(pageResult));
}
......@@ -395,8 +396,9 @@ public class CustomerController {
@ApiOperation("获得待分配客户列表")
// @PreAuthorize("@ss.hasPermission('ecw:customer:query')")
public CommonResult<PageResult<CustomerRespVO>> getWaitForDistributionList(@Valid CustomerPageReqVO customerPageReqVO) {
PageResult<CustomerDO> pageResult = customerService.getWaitToAssignedCustomerPage(customerPageReqVO);
//lanbm 2024-05-26 添加注释
PageResult<CustomerDO> pageResult =
customerService.getWaitToAssignedCustomerPage(customerPageReqVO);
return success(CustomerConvert.INSTANCE.convertPage(pageResult));
}
......
......@@ -58,7 +58,7 @@ public class CalculateOrderVValueListener {
if (orderDO.getTransportId() == 1) {
//海运计算V值
temp = ecwVzService.getOne(new LambdaQueryWrapperX<EcwVz>()
.eqIfPresent(EcwVz::getTitleZh, "M3"));
.eqIfPresent(EcwVz::getFuhao, "M3"));
if (temp == null) {
throw exception(VCONFIG_NOT_EXISTS);
}
......@@ -66,7 +66,7 @@ public class CalculateOrderVValueListener {
} else if (orderDO.getTransportId() == 3) {
//空运计算V值
temp = ecwVzService.getOne(new LambdaQueryWrapperX<EcwVz>()
.eqIfPresent(EcwVz::getTitleZh, "KG"));
.eqIfPresent(EcwVz::getFuhao, "KG"));
if (temp == null) {
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