Commit 48369ff8 authored by lanbaoming's avatar lanbaoming

2024-07-03-2提交

parent 09fec791
...@@ -4,7 +4,6 @@ import lombok.Data; ...@@ -4,7 +4,6 @@ import lombok.Data;
/* /*
移交,接收时计算客户的业绩类型 移交,接收时计算客户的业绩类型
lanbm 2024-05-07 add
*/ */
@Data @Data
public class ReceiveCustomerCalTypeEvent { public class ReceiveCustomerCalTypeEvent {
......
...@@ -6,7 +6,6 @@ import java.math.BigDecimal; ...@@ -6,7 +6,6 @@ import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
/* /*
lanbm 2024-05-13 add
计算订单V值 计算订单V值
*/ */
@Data @Data
......
...@@ -3,7 +3,6 @@ package cn.iocoder.yudao.framework.apollo.core.event.Order; ...@@ -3,7 +3,6 @@ package cn.iocoder.yudao.framework.apollo.core.event.Order;
import lombok.Data; import lombok.Data;
/* /*
lanbm 2024-05-13 add
在创建订单或修改订单时计算客户业绩类型 在创建订单或修改订单时计算客户业绩类型
*/ */
@Data @Data
......
...@@ -46,7 +46,7 @@ public class EcwReportPermissionController { ...@@ -46,7 +46,7 @@ public class EcwReportPermissionController {
private ErrorCode eCode; private ErrorCode eCode;
/* /*
权限校验函数 lanbm 2024-04-15 add 权限校验函数
*/ */
private boolean isRight(EcwReportPermission ecwReportPermission) { private boolean isRight(EcwReportPermission ecwReportPermission) {
//单表对象查询 //单表对象查询
......
...@@ -430,7 +430,7 @@ public class SalesReportImpl implements SalesReportService { ...@@ -430,7 +430,7 @@ public class SalesReportImpl implements SalesReportService {
} }
/* /*
获取某年某月的最后一天 lanbm 2024-04-16 add 获取某年某月的最后一天
*/ */
private int getLastDay(int year, int month) { private int getLastDay(int year, int month) {
YearMonth yearMonth = YearMonth.of(year, month); YearMonth yearMonth = YearMonth.of(year, month);
...@@ -439,7 +439,7 @@ public class SalesReportImpl implements SalesReportService { ...@@ -439,7 +439,7 @@ public class SalesReportImpl implements SalesReportService {
} }
/* /*
对查询日期做初始化处理 lanbm 2024-05-09 add 对查询日期做初始化处理
*/ */
public SalesReportReq getReq(SalesReportReq Req) throws ParseException { public SalesReportReq getReq(SalesReportReq Req) throws ParseException {
int y = getCurYear(); int y = getCurYear();
......
...@@ -9,7 +9,7 @@ import org.springframework.stereotype.Component; ...@@ -9,7 +9,7 @@ import org.springframework.stereotype.Component;
import javax.annotation.Resource; import javax.annotation.Resource;
/* /*
lanbm 2024-04-30 测试定时任务 测试定时任务
*/ */
@Component @Component
@TenantJob @TenantJob
......
...@@ -1210,7 +1210,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper, ...@@ -1210,7 +1210,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
false); false);
} }
//开始处理和此产品价格相关的异常订单 lanbm 2024-05-31 添加注释 //开始处理和此产品价格相关的异常订单
handleOrderException(Collections.singletonList(priceId), true); handleOrderException(Collections.singletonList(priceId), true);
} }
...@@ -1221,7 +1221,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper, ...@@ -1221,7 +1221,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
*/ */
private void handleOrderException(List<Long> productPriceIdList, private void handleOrderException(List<Long> productPriceIdList,
boolean sync) { boolean sync) {
//查询产品价格信息 lanbm 2024-05-31 添加注释 //查询产品价格信息
List<ProductPriceDO> priceList = List<ProductPriceDO> priceList =
getProductPriceList(productPriceIdList); getProductPriceList(productPriceIdList);
List<ProductPriceDO> needHandleList = new ArrayList<>(); List<ProductPriceDO> needHandleList = new ArrayList<>();
...@@ -1513,7 +1513,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper, ...@@ -1513,7 +1513,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
} }
/* /*
检查Redis中是否有正在修改的产品 lanbm 2024-05-29添加注释 检查Redis中是否有正在修改的产品
*/ */
private void checkUpdatingProduct(List<ProductDO> productList, private void checkUpdatingProduct(List<ProductDO> productList,
List<WarehouseLineDO> warehouseLineList) { List<WarehouseLineDO> warehouseLineList) {
......
...@@ -53,7 +53,6 @@ public class ProductPriceBaseVO extends ProductPriceReqBaseVO { ...@@ -53,7 +53,6 @@ public class ProductPriceBaseVO extends ProductPriceReqBaseVO {
/* /*
没有固定价格,每单价格都不一样 没有固定价格,每单价格都不一样
lanbm 2024-05-28 添加注释
*/ */
@ApiModelProperty(value = "是否单询,0-否,1-是") @ApiModelProperty(value = "是否单询,0-否,1-是")
private Integer needOrderInquiry; private Integer needOrderInquiry;
......
...@@ -93,7 +93,6 @@ public class ProductPriceController { ...@@ -93,7 +93,6 @@ public class ProductPriceController {
/* /*
修改空运价格,在处理价格异常时,处理和此价格关联的订单信息 修改空运价格,在处理价格异常时,处理和此价格关联的订单信息
lanbm 2024-05-31 添加注释
*/ */
@PutMapping("/updateAir") @PutMapping("/updateAir")
@ApiOperation("更新空运路线产品") @ApiOperation("更新空运路线产品")
......
...@@ -954,7 +954,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements ...@@ -954,7 +954,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
boxAirCheckoutBackVO.setOperator(getUserName(boxAirCheckoutDO.getCreator())); boxAirCheckoutBackVO.setOperator(getUserName(boxAirCheckoutDO.getCreator()));
boxBackVO.setRealNum(boxAirCheckoutDO.getRealNum()); boxBackVO.setRealNum(boxAirCheckoutDO.getRealNum());
} }
//lanbm 2024-05-22
boxBackVO.setPlanNum(getPlanNum(id)); boxBackVO.setPlanNum(getPlanNum(id));
boxBackVO.setRealNum(getRealNum(id)); boxBackVO.setRealNum(getRealNum(id));
...@@ -972,7 +972,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements ...@@ -972,7 +972,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
} }
//到港 //到港
//lanbm 2024-05-15 修改有多条记录是报错的BUG // 修改有多条记录是报错的BUG
BoxArrivalAirDO boxArrivalAirDO = BoxArrivalAirDO boxArrivalAirDO =
boxArrivalAirService.getOne( boxArrivalAirService.getOne(
new LambdaQueryWrapper<BoxArrivalAirDO>() new LambdaQueryWrapper<BoxArrivalAirDO>()
...@@ -2333,7 +2333,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements ...@@ -2333,7 +2333,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
.map(BoxBaseBackVO::getId) .map(BoxBaseBackVO::getId)
.collect(Collectors.toList()); .collect(Collectors.toList());
//ecw_box_preload_goods 预装货物 lanbm 2024-05-13 添加注释 //ecw_box_preload_goods 预装货物
Map<Long, BoxGoodsStatistics> shipmentStatisticsMap = Map<Long, BoxGoodsStatistics> shipmentStatisticsMap =
boxPreloadGoodsService.getBoxStatistics(idList); boxPreloadGoodsService.getBoxStatistics(idList);
...@@ -2344,7 +2344,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements ...@@ -2344,7 +2344,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
Map<Long, CabinetDO> cabinetMap = new HashMap<>(); Map<Long, CabinetDO> cabinetMap = new HashMap<>();
//ecw_cabinet 柜型配置 lanbm 2024-05-13 添加注释 //ecw_cabinet 柜型配置
if (CollectionUtils.isNotEmpty(cabinetIdList)) { if (CollectionUtils.isNotEmpty(cabinetIdList)) {
List<CabinetDO> cabinetDOList = cabinetService.getCabinetList(cabinetIdList); List<CabinetDO> cabinetDOList = cabinetService.getCabinetList(cabinetIdList);
cabinetMap = cabinetDOList.stream() cabinetMap = cabinetDOList.stream()
...@@ -2401,7 +2401,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements ...@@ -2401,7 +2401,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
channelDO)); channelDO));
} }
//统计信息 lanbm2024-05-13 添加注释 //统计信息
BoxGoodsStatistics boxStatistics = BoxGoodsStatistics boxStatistics =
shipmentStatisticsMap.get(shipmentId); shipmentStatisticsMap.get(shipmentId);
boxBackVO.setBoxStatistics(boxStatistics); boxBackVO.setBoxStatistics(boxStatistics);
......
...@@ -239,13 +239,13 @@ public class BoxLadingBillServiceImpl extends AbstractService<BoxLadingBillMappe ...@@ -239,13 +239,13 @@ public class BoxLadingBillServiceImpl extends AbstractService<BoxLadingBillMappe
//起运港 //起运港
if (boxLadingBillDO.getStartPortId() != null && boxLadingBillDO.getStartPortId() > 0L) { if (boxLadingBillDO.getStartPortId() != null && boxLadingBillDO.getStartPortId() > 0L) {
String s_loadingPort = ""; String s_loadingPort = "";
//lanbm 2024-05-28 添加语言判断 // 添加语言判断
s_loadingPort = dockService.getDock(boxLadingBillDO.getStartPortId()).getTitleEn(); s_loadingPort = dockService.getDock(boxLadingBillDO.getStartPortId()).getTitleEn();
headMap.put("loadingPort", s_loadingPort); headMap.put("loadingPort", s_loadingPort);
} }
//目的港 //目的港
if (boxLadingBillDO.getDestPortId() != null && boxLadingBillDO.getDestPortId() > 0L) { if (boxLadingBillDO.getDestPortId() != null && boxLadingBillDO.getDestPortId() > 0L) {
//lanbm 2024-05-28 添加语言判断 lan =0 中文 其他英语 // 添加语言判断 lan =0 中文 其他英语
String s_dischargingPort = ""; String s_dischargingPort = "";
s_dischargingPort = dockService.getDock(boxLadingBillDO.getDestPortId()).getTitleEn(); s_dischargingPort = dockService.getDock(boxLadingBillDO.getDestPortId()).getTitleEn();
headMap.put("dischargingPort", s_dischargingPort); headMap.put("dischargingPort", s_dischargingPort);
......
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