Commit 87efb589 authored by lanbaoming's avatar lanbaoming

2024-07-03-2提交

parent 48369ff8
...@@ -4,7 +4,7 @@ import lombok.AllArgsConstructor; ...@@ -4,7 +4,7 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
/* /*
lanbm 2024-05-07 添加公海捞取是计算客户类型 添加公海捞取是计算客户类型
*/ */
@Data @Data
public class CalculateCustomerTypeEvent { public class CalculateCustomerTypeEvent {
......
...@@ -3,7 +3,6 @@ package cn.iocoder.yudao.framework.apollo.core.event.Customer; ...@@ -3,7 +3,6 @@ package cn.iocoder.yudao.framework.apollo.core.event.Customer;
import lombok.Data; import lombok.Data;
/* /*
发货人代码的客户去向处理逻辑 发货人代码的客户去向处理逻辑
lanbm 2024-05-27 add
*/ */
@Data @Data
public class CustomerGoEvent { public class CustomerGoEvent {
......
...@@ -122,7 +122,6 @@ public class CustomerReportControl { ...@@ -122,7 +122,6 @@ public class CustomerReportControl {
/* /*
计算百分比 计算百分比
lanbm 2024-04-10 add
*/ */
private String getPercentage(BigDecimal part, BigDecimal total) { private String getPercentage(BigDecimal part, BigDecimal total) {
BigDecimal percentage = part.divide(total, 2, BigDecimal percentage = part.divide(total, 2,
......
...@@ -189,7 +189,7 @@ public class EcwReportPermissionController { ...@@ -189,7 +189,7 @@ public class EcwReportPermissionController {
public CommonResult<PageResult<EcwReportPermissionResp>> getListPage(@Valid EcwReportPermissionPageReq PageReq) { public CommonResult<PageResult<EcwReportPermissionResp>> getListPage(@Valid EcwReportPermissionPageReq PageReq) {
//myBatisPlus分页 //myBatisPlus分页
//return success(this.ecwReportPermissionService.getListPage(PageReq)); //return success(this.ecwReportPermissionService.getListPage(PageReq));
//通过自定义SQL语句分页 lanbm 2024-04-15 add //通过自定义SQL语句分页
redisHelper.set("123","测试"); redisHelper.set("123","测试");
List<String>l=new ArrayList<>(); List<String>l=new ArrayList<>();
l.add("112"); l.add("112");
......
...@@ -20,7 +20,7 @@ import io.swagger.v3.oas.annotations.Operation; ...@@ -20,7 +20,7 @@ import io.swagger.v3.oas.annotations.Operation;
/** /**
* (Employee)表控制层 * (Employee)表控制层
* *
* @author lanbm * @author
* @since 2024-03-27 21:25:55 * @since 2024-03-27 21:25:55
*/ */
@RestController @RestController
......
...@@ -63,7 +63,7 @@ public class SalesAnalysisControl { ...@@ -63,7 +63,7 @@ public class SalesAnalysisControl {
/* /*
客户分析列表 lanbm 2024-04-02 add 客户分析列表
*/ */
@GetMapping("/getListPage") @GetMapping("/getListPage")
public CommonResult<PageResult<SalesAnalysisResp>> public CommonResult<PageResult<SalesAnalysisResp>>
......
...@@ -98,7 +98,7 @@ public class EcwReportPermissionServiceImpl extends ServiceImpl<EcwReportPermiss ...@@ -98,7 +98,7 @@ public class EcwReportPermissionServiceImpl extends ServiceImpl<EcwReportPermiss
} }
/* /*
自定义的分页函数 lanbm 2024-04-15 add 自定义的分页函数
*/ */
public PageResult<EcwReportPermissionResp> getListPageCustom(EcwReportPermissionPageReq page) { public PageResult<EcwReportPermissionResp> getListPageCustom(EcwReportPermissionPageReq page) {
......
...@@ -2231,7 +2231,7 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI ...@@ -2231,7 +2231,7 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
} }
/* /*
发送入仓短信提醒 lanbm 2024-05-04 发送入仓短信提醒
处理异常添加注释 处理异常添加注释
*/ */
public void warehouseInSendSms(OrderDO orderDO, boolean isAppend, Date appendInTime) { public void warehouseInSendSms(OrderDO orderDO, boolean isAppend, Date appendInTime) {
......
...@@ -16,7 +16,7 @@ import cn.iocoder.yudao.framework.common.pojo.PageResult; ...@@ -16,7 +16,7 @@ import cn.iocoder.yudao.framework.common.pojo.PageResult;
public interface MakeBillOfLadingService extends IService<MakeBillOfLadingDO> { public interface MakeBillOfLadingService extends IService<MakeBillOfLadingDO> {
/* /*
获取提单审批状态 lanbm 2024-06-04 add 获取提单审批状态
*/ */
String getBpmStatus(String process_instance_id); String getBpmStatus(String process_instance_id);
......
...@@ -174,7 +174,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin ...@@ -174,7 +174,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
private CurrencyApi currencyApi; private CurrencyApi currencyApi;
/* /*
获取提单审批状态 lanbm 2024-06-04 add 获取提单审批状态
*/ */
public String getBpmStatus(String process_instance_id) { public String getBpmStatus(String process_instance_id) {
return makeBillOfLadingMapper.getBpmStatus(process_instance_id); return makeBillOfLadingMapper.getBpmStatus(process_instance_id);
...@@ -264,7 +264,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin ...@@ -264,7 +264,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
orderService.selectOne(OrderDO::getOrderId, orderService.selectOne(OrderDO::getOrderId,
createReqVO.getOrderId()); createReqVO.getOrderId());
//lanbm 2024-06-13 取消流程的创建 //取消流程的创建
/* /*
String bpmProcessId = String bpmProcessId =
bpmCreateServiceFactory.createBmp( bpmCreateServiceFactory.createBmp(
...@@ -275,7 +275,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin ...@@ -275,7 +275,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
createReqVO.getCopyUserId()); createReqVO.getCopyUserId());
makeBillOfLading.setBpmProcessId(bpmProcessId); makeBillOfLading.setBpmProcessId(bpmProcessId);
*/ */
//lanbm 2024-05-24 修改为自动审批通过 //修改为自动审批通过
//ecw_make_bill_of_lading //ecw_make_bill_of_lading
/* /*
PROCESS(1, "处理中"), PROCESS(1, "处理中"),
...@@ -298,9 +298,9 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin ...@@ -298,9 +298,9 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
// 更新 // 更新
MakeBillOfLadingDO updateObj = MakeBillOfLadingDO updateObj =
MakeBillOfLadingConvert.INSTANCE.convert(updateReqVO); MakeBillOfLadingConvert.INSTANCE.convert(updateReqVO);
//lanbm 2024-05-24 提单直接审批通过 // 提单直接审批通过
updateObj.setStatus(2); updateObj.setStatus(2);
//end lanbm 2024-05-24 提单直接审批通过 //end 提单直接审批通过
makeBillOfLadingMapper.updateById(updateObj); makeBillOfLadingMapper.updateById(updateObj);
OrderBackVO order = orderQueryService.getOrder(Long.valueOf(makeBillOfLadingMapper.selectById(updateReqVO.getId()).getOrderId())); OrderBackVO order = orderQueryService.getOrder(Long.valueOf(makeBillOfLadingMapper.selectById(updateReqVO.getId()).getOrderId()));
...@@ -494,7 +494,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin ...@@ -494,7 +494,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
if (item.getClearanceFreightCurrency() == null || if (item.getClearanceFreightCurrency() == null ||
item.getClearanceFreightCurrency() == 0 || item.getClearanceFreightCurrency() == 0 ||
currencyMap.get(item.getClearanceFreightCurrency()) == null) { currencyMap.get(item.getClearanceFreightCurrency()) == null) {
//lanbm 2024-05-07 调整逻辑判断,是币种字段为空则显示0 // 调整逻辑判断,是币种字段为空则显示0
//item.getClearanceFreightCurrency() 币种项在数据字典中不存在 //item.getClearanceFreightCurrency() 币种项在数据字典中不存在
paramMap.put("clearanceFreight", "0"); paramMap.put("clearanceFreight", "0");
} else { } else {
...@@ -684,7 +684,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin ...@@ -684,7 +684,7 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
return stringBuffer.toString(); return stringBuffer.toString();
} }
/* lanbm 2024-05-24 添加注释 /* 添加注释
PROCESS(1, "处理中"), PROCESS(1, "处理中"),
APPROVE(2, "通过"), APPROVE(2, "通过"),
REJECT(3, "不通过"), REJECT(3, "不通过"),
......
...@@ -49,7 +49,6 @@ public class BoxCostBackVO { ...@@ -49,7 +49,6 @@ public class BoxCostBackVO {
private Long priceUnit; private Long priceUnit;
/* /*
lanbm 2024-05-16 add
*/ */
@ExcelProperty("币种") @ExcelProperty("币种")
@ApiModelProperty(value = "币种") @ApiModelProperty(value = "币种")
......
...@@ -43,7 +43,7 @@ public class BoxCostBaseVO { ...@@ -43,7 +43,7 @@ public class BoxCostBaseVO {
private String remarks; private String remarks;
/* /*
费用产生时间 lanbm 2024-05-17 add 费用产生时间
*/ */
@ApiModelProperty(value = "费用产生日期") @ApiModelProperty(value = "费用产生日期")
@NotNull(message = "费用产生日期不能为空") @NotNull(message = "费用产生日期不能为空")
......
...@@ -54,7 +54,7 @@ public class BoxApprovalController { ...@@ -54,7 +54,7 @@ public class BoxApprovalController {
private OrderApprovalService orderApprovalService; private OrderApprovalService orderApprovalService;
/* /*
创建出货审批流程 lanbm 2024-06-11 添加注释 创建出货审批流程
*/ */
@PostMapping("/create") @PostMapping("/create")
@ApiOperation("创建出货审核, use this") @ApiOperation("创建出货审核, use this")
......
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