From ad6bf67d113e1bd610f73884cb393fc492a0243d Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Thu, 20 Nov 2025 16:23:28 +0800 Subject: [PATCH 01/10] =?UTF-8?q?demand:=20=20=20TMS=E7=B3=BB=E7=BB=9F=20-?= =?UTF-8?q?=20=E6=88=90=E6=9C=AC=E5=88=97=E8=A1=A8=20-=20=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E8=BF=90=E8=BE=93=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=20=E6=8F=90=E7=A4=BA=E6=97=A0=E6=95=B0=E6=8D=AE=20=20?= =?UTF-8?q?tms-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5=E5=8F=A3=20=20tms?= =?UTF-8?q?-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=20tms-=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E3=80=81=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=96=B0=E3=80=81=E6=9F=A5=E8=AF=A2=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E3=80=81=E5=BF=AB=E4=BB=B6=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?-=E6=9F=A5=E8=AF=A2=E8=BF=94=E5=9B=9E=E9=94=80=E5=94=AE?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EmisSalesCommissionRatioController.java | 21 ++++- .../erp/emis/domain/EmisWaybillOther.java | 51 +++++++++++ .../emis/mapper/EmisWaybillOtherMapper.java | 80 +++++++++++++++++ .../service/impl/EmisWaybillServiceImpl.java | 42 +++++++++ .../resources/mapper/EmisTmsCostFeeMapper.xml | 4 +- .../resources/mapper/EmisWaybillMapper.xml | 9 +- .../mapper/EmisWaybillOtherMapper.xml | 89 +++++++++++++++++++ 7 files changed, 290 insertions(+), 6 deletions(-) create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisWaybillOther.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisWaybillOtherMapper.java create mode 100644 emis-biz/src/main/resources/mapper/EmisWaybillOtherMapper.xml diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSalesCommissionRatioController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSalesCommissionRatioController.java index c4b78a96f..7ea5563f8 100644 --- a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSalesCommissionRatioController.java +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSalesCommissionRatioController.java @@ -43,6 +43,25 @@ public class EmisSalesCommissionRatioController extends BaseController { return getDataTable(list); } + /** + * 查询销售计提比例配置列表 + */ + @GetMapping("/listSimple") + public TableDataInfo listSimple(EmisSalesCommissionRatio query) { + if ("2".equals(query.getStatus())) { + // status=2: 启用且已过期,修改为查询启用状态且结束日期早于当前日期 + query.setStatus("1"); + query.getParams().put("endDateBeforeNow", true); + } else if ("3".equals(query.getStatus())) { + // status=3: 启用且未过期,修改为查询启用状态且结束日期晚于等于当前日期 + query.setStatus("1"); + query.getParams().put("endDateAfterNow", true); + } + startPage(); + List list = emisSalesCommissionRatioService.selectEmisSalesCommissionRatioList(query); + return getDataTable(list); + } + /** * 根据ID获取配置 */ @@ -101,4 +120,4 @@ public class EmisSalesCommissionRatioController extends BaseController { ExcelUtil util = new ExcelUtil<>(EmisSalesCommissionRatio.class); util.exportExcel(response, list, "销售计提比例配置数据"); } -} \ No newline at end of file +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisWaybillOther.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisWaybillOther.java new file mode 100644 index 000000000..291b72b36 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisWaybillOther.java @@ -0,0 +1,51 @@ +/** + * @Project: emis + * @Title: EmisWaybillOther.java + * @author system + * @date 2025-01-XX + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

运单其他信息副表 实体类

+ */ + +package com.xdadan.erp.emis.domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.xdadan.erp.common.annotation.audit.DataAuditField; +import com.xdadan.erp.common.annotation.audit.DataAuditTable; +import com.xdadan.erp.common.core.domain.BaseEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; + +/** + * @ClassName EmisWaybillOther + * @Description 运单其他信息副表 + * @author system + * @date 2025-01-XX + */ +@Data +@EqualsAndHashCode(callSuper = false) +@TableName("emis_waybill_other") +@DataAuditTable(tableName = "emis_waybill_other", tableComment = "运单其他信息副表") +public class EmisWaybillOther extends BaseEntity { + private static final long serialVersionUID = 1L; + + /* id */ + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + /* 运单id */ + @DataAuditField(fieldComment = "运单ID") + private Long waybillId; + + /* 运单号 */ + @DataAuditField(fieldComment = "运单号") + private String billCode; + + /* 销售支持 */ + @DataAuditField(fieldComment = "销售支持") + private String salesSupport; +} + diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisWaybillOtherMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisWaybillOtherMapper.java new file mode 100644 index 000000000..d8be31ddf --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisWaybillOtherMapper.java @@ -0,0 +1,80 @@ +/** + * @Project: emis + * @Title: EmisWaybillOtherMapper.java + * @author system + * @date 2025-01-XX + * @Copyright: ShangHai Doitinfo 2022 All rights reserved. + * @version v1.0 + * @Description:

运单其他信息副表 Mapper 接口

+ */ +package com.xdadan.erp.emis.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xdadan.erp.emis.domain.EmisWaybillOther; +import org.apache.ibatis.annotations.Param; + +/** + * @ClassName EmisWaybillOtherMapper + * @Description

运单其他信息副表 Mapper 接口

+ * @author system + * @date 2025-01-XX + */ +public interface EmisWaybillOtherMapper extends BaseMapper { + + /** + * 主键查询 + * @param id + * @return + */ + public EmisWaybillOther selectEmisWaybillOtherById(Long id); + + /** + * 根据运单ID查询 + * @param waybillId + * @return + */ + public EmisWaybillOther selectEmisWaybillOtherByWaybillId(@Param("waybillId") Long waybillId); + + /** + * 根据运单号查询 + * @param billCode + * @return + */ + public EmisWaybillOther selectEmisWaybillOtherByBillCode(@Param("billCode") String billCode); + + /** + * 新增 + * @param emisWaybillOther + * @return + */ + public int insertEmisWaybillOther(EmisWaybillOther emisWaybillOther); + + /** + * 修改 + * @param emisWaybillOther + * @return + */ + public int updateEmisWaybillOther(EmisWaybillOther emisWaybillOther); + + /** + * 删除 + * @param id 主键 + * @return 结果 + */ + public int deleteEmisWaybillOtherById(Long id); + + /** + * 根据运单ID删除 + * @param waybillId + * @return + */ + public int deleteEmisWaybillOtherByWaybillId(@Param("waybillId") Long waybillId); + + /** + * 根据运单号删除 + * @param billCode + * @return + */ + public int deleteEmisWaybillOtherByBillCode(@Param("billCode") String billCode); +} + diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java index 62b933ce8..a8e69e9d1 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java @@ -149,6 +149,42 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb @Autowired private EmisTmsCostFeeMapper emisTmsCostFeeMapper; + @Autowired + private EmisWaybillOtherMapper emisWaybillOtherMapper; + + /** + * 保存或更新运单其他信息副表 + * @param emisWaybillSave + */ + private void saveOrUpdateWaybillOther(EmisWaybill emisWaybillSave) { + if (emisWaybillSave == null || emisWaybillSave.getId() == null) { + return; + } + + String salesSupport = emisWaybillSave.getSalesSupport(); + String billCode = emisWaybillSave.getBillCode(); + Long waybillId = emisWaybillSave.getId(); + + // 查询是否已存在 + EmisWaybillOther existing = emisWaybillOtherMapper.selectEmisWaybillOtherByWaybillId(waybillId); + + if (existing != null) { + // 更新 + existing.setSalesSupport(salesSupport); + existing.setBillCode(billCode); + existing.preUpdate(); + emisWaybillOtherMapper.updateEmisWaybillOther(existing); + } else { + // 新增 + EmisWaybillOther waybillOtherEntity = new EmisWaybillOther(); + waybillOtherEntity.setWaybillId(waybillId); + waybillOtherEntity.setBillCode(billCode); + waybillOtherEntity.setSalesSupport(salesSupport); + waybillOtherEntity.preInsert(); + emisWaybillOtherMapper.insertEmisWaybillOther(waybillOtherEntity); + } + } + /** * 获取稽核数据 * @param id @@ -3278,6 +3314,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb //插入新单 emisWaybillMapper.insertEmisWaybill(emisWaybillSave); + // 保存或更新运单其他信息副表 + saveOrUpdateWaybillOther(emisWaybillSave); + // 运单日志记录 recordWaybillOperLog( emisWaybillSave.getBillCode(), @@ -3793,6 +3832,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb // 基础信息更新 emisWaybillMapper.updateEmisWaybill(emisWaybillSave); + // 保存或更新运单其他信息副表 + saveOrUpdateWaybillOther(emisWaybillSave); + // 运单日志记录 recordWaybillOperLog( emisWaybillSave.getBillCode(), diff --git a/emis-biz/src/main/resources/mapper/EmisTmsCostFeeMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsCostFeeMapper.xml index a6c57eb95..86d453ee0 100644 --- a/emis-biz/src/main/resources/mapper/EmisTmsCostFeeMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisTmsCostFeeMapper.xml @@ -205,7 +205,7 @@ and fee_type = #{feeType} and split_type = #{splitType} and trans_type=#{transType} - and FIND_IN_SET(trans_sign_no,#{transSignNo}) + and trans_sign_no like concat('%', #{transSignNo}, '%') and supplier_code=#{supplierCode} and supplier_name like concat('%', #{supplierName}, '%') and send_place=#{sendPlace} @@ -453,4 +453,4 @@ #{id} - \ No newline at end of file + diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml index a656e54f1..cfe190b5f 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -341,6 +341,7 @@ a3.phone as customer_phone, a3.nick_name as customer_nick_name, a3.avatar as customer_avatar, + COALESCE(wss.sales_support, a4.sales_support) as sales_support, p.emp_name as dispatch_man_name,q.site_name as print_site_name, r.emp_name as print_man_name, @@ -392,6 +393,7 @@ left join emis_site start on a.start_site_code=start.site_code and start.del_flag='0' left join emis_customer_user a3 on a.customer_code=a3.customer_code and a3.del_flag='0' left join emis_customer_user a4 on a.cust_no=a4.monthly_pay_code and a4.del_flag='0' + left join emis_waybill_other wss on a.id=wss.waybill_id and wss.del_flag='0' left join emis_site seaway1 on a.departure_port=seaway1.site_code and seaway1.del_flag='0' left join emis_site seaway2 on a.destination_port=seaway2.site_code and seaway2.del_flag='0' @@ -443,7 +445,7 @@ a3.phone as customer_phone, a3.nick_name as customer_nick_name, a3.avatar as customer_avatar, - a3.sales_support , + COALESCE(wss.sales_support, a4.sales_support) as sales_support , a3.sales_executive , a3.customer_type as customer_type, a3.main_user_id , @@ -497,6 +499,7 @@ left join emis_site a1 on a.send_center_code=a1.site_code and a1.del_flag='0' left join emis_site a2 on a.destination_center_code=a2.site_code and a2.del_flag='0' left join emis_customer_user a3 on a.customer_code=a3.customer_code and a3.del_flag='0' + left join emis_waybill_other wss on a.id=wss.waybill_id and wss.del_flag='0' left join emis_site seaway1 on a.departure_port=seaway1.site_code and seaway1.del_flag='0' left join emis_site seaway2 on a.destination_port=seaway2.site_code and seaway2.del_flag='0' left join emis_site start on a.start_site_code=start.site_code and start.del_flag='0' @@ -508,7 +511,7 @@ @@ -527,7 +530,7 @@ diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillOtherMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillOtherMapper.xml new file mode 100644 index 000000000..a93013296 --- /dev/null +++ b/emis-biz/src/main/resources/mapper/EmisWaybillOtherMapper.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + select id, waybill_id, bill_code, sales_support, del_flag, create_by, create_time, update_by, update_time, remark + from emis_waybill_other + + + + + + + + + + insert into emis_waybill_other + + waybill_id, + bill_code, + sales_support, + del_flag, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{waybillId}, + #{billCode}, + #{salesSupport}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update emis_waybill_other + + waybill_id = #{waybillId}, + bill_code = #{billCode}, + sales_support = #{salesSupport}, + del_flag = #{delFlag}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + update emis_waybill_other set del_flag = '1' where id = #{id} + + + + update emis_waybill_other set del_flag = '1' where waybill_id = #{waybillId} + + + + update emis_waybill_other set del_flag = '1' where bill_code = #{billCode} + + + + From 6bc2867a2253ef25604b0476f40106234435fa36 Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Thu, 20 Nov 2025 16:47:09 +0800 Subject: [PATCH 02/10] =?UTF-8?q?demand:=20=20=20TMS=E7=B3=BB=E7=BB=9F=20-?= =?UTF-8?q?=20=E6=88=90=E6=9C=AC=E5=88=97=E8=A1=A8=20-=20=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E8=BF=90=E8=BE=93=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=20=E6=8F=90=E7=A4=BA=E6=97=A0=E6=95=B0=E6=8D=AE=20=20?= =?UTF-8?q?tms-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5=E5=8F=A3=20=20tms?= =?UTF-8?q?-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=20tms-=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E3=80=81=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=96=B0=E3=80=81=E6=9F=A5=E8=AF=A2=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E3=80=81=E5=BF=AB=E4=BB=B6=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?-=E6=9F=A5=E8=AF=A2=E8=BF=94=E5=9B=9E=E9=94=80=E5=94=AE?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml index cfe190b5f..f8271ef79 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -499,6 +499,7 @@ left join emis_site a1 on a.send_center_code=a1.site_code and a1.del_flag='0' left join emis_site a2 on a.destination_center_code=a2.site_code and a2.del_flag='0' left join emis_customer_user a3 on a.customer_code=a3.customer_code and a3.del_flag='0' + left join emis_customer_user a4 on a.cust_no=a4.monthly_pay_code and a4.del_flag='0' left join emis_waybill_other wss on a.id=wss.waybill_id and wss.del_flag='0' left join emis_site seaway1 on a.departure_port=seaway1.site_code and seaway1.del_flag='0' left join emis_site seaway2 on a.destination_port=seaway2.site_code and seaway2.del_flag='0' From 040392ac0ffcc5b8cf2b538078eed572f0cb89ad Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Thu, 20 Nov 2025 16:53:56 +0800 Subject: [PATCH 03/10] =?UTF-8?q?demand:=20=20=20TMS=E7=B3=BB=E7=BB=9F=20-?= =?UTF-8?q?=20=E6=88=90=E6=9C=AC=E5=88=97=E8=A1=A8=20-=20=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E8=BF=90=E8=BE=93=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=20=E6=8F=90=E7=A4=BA=E6=97=A0=E6=95=B0=E6=8D=AE=20=20?= =?UTF-8?q?tms-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5=E5=8F=A3=20=20tms?= =?UTF-8?q?-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=20tms-=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E3=80=81=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=96=B0=E3=80=81=E6=9F=A5=E8=AF=A2=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E3=80=81=E5=BF=AB=E4=BB=B6=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?-=E6=9F=A5=E8=AF=A2=E8=BF=94=E5=9B=9E=E9=94=80=E5=94=AE?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xdadan/erp/emis/domain/vo/WaybillOrder.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/vo/WaybillOrder.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/vo/WaybillOrder.java index 0cf79b80c..cb7e43564 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/vo/WaybillOrder.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/vo/WaybillOrder.java @@ -251,6 +251,8 @@ public class WaybillOrder implements Serializable { private String payee; /* 销售联系人 */ private String salesmen; + /* 销售支持 */ + private String salesSupport; /* 操作员代码 */ private String operateEmployeeCode; @@ -670,6 +672,8 @@ public class WaybillOrder implements Serializable { voItem.setMarketManCode(dbWaybill.getMarketManCode()); voItem.setPayee(dbWaybill.getPayee()); voItem.setSalesmen(dbWaybill.getSalesmen()); + voItem.setSalesSupport(dbWaybill.getSalesSupport()); + voItem.setOperateEmployeeCode(dbWaybill.getOperateEmployeeCode()); voItem.setBlIsQuestion(dbWaybill.getBlIsQuestion()); @@ -916,6 +920,7 @@ public class WaybillOrder implements Serializable { dbWaybill.setMarketManCode(this.getMarketManCode()); dbWaybill.setPayee(this.getPayee()); dbWaybill.setSalesmen(this.getSalesmen()); + dbWaybill.setSalesSupport(this.getSalesSupport()); dbWaybill.setOperateEmployeeCode(this.getOperateEmployeeCode()); // dbWaybill.setBlIsQuestion(this.getBlIsQuestion()); // dbWaybill.setProblemCause(this.getProblemCause()); From 0a522ee35c2ef5e810b4a7e9181799f1e7aea972 Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Fri, 21 Nov 2025 15:39:34 +0800 Subject: [PATCH 04/10] =?UTF-8?q?demand:=20=20=20=20=20tms-=E8=BF=90?= =?UTF-8?q?=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/=E8=BF=90?= =?UTF-8?q?=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8=E7=94=B3?= =?UTF-8?q?=E8=AF=B7-=E6=9F=A5=E8=AF=A2=E6=9C=88=E7=BB=93=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E6=8E=A5=E5=8F=A3=E8=BF=94=E5=9B=9E=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xdadan/erp/web/emis/EmisMonthpayAccountController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisMonthpayAccountController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisMonthpayAccountController.java index 349379fdc..54f9575fb 100644 --- a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisMonthpayAccountController.java +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisMonthpayAccountController.java @@ -93,7 +93,7 @@ public class EmisMonthpayAccountController extends EmisBaseController * @param emisCustomerUser * @return */ - @JacksonFilter(include= {"customerCode","custNo","custName","payee","salesmen","payeeName","salesmenName","enterpriseName","enterpriseTaxId"},value= EmisCustomerUser.class,type= JacksonFilter.JscksonFilterType.RESPONSE) + @JacksonFilter(include= {"customerCode","custNo","custName","payee","salesmen","payeeName","salesmenName","enterpriseName","enterpriseTaxId","salesSupport","salesExecutive"},value= EmisCustomerUser.class,type= JacksonFilter.JscksonFilterType.RESPONSE) @GetMapping("/listSimple") public TableDataInfo listSimple(EmisCustomerUser emisCustomerUser) { From 617674c2f9ecf414596f08bd0c9bdd3574c523ae Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Fri, 21 Nov 2025 16:34:00 +0800 Subject: [PATCH 05/10] =?UTF-8?q?demand:=20=20=20TMS=E7=B3=BB=E7=BB=9F=20-?= =?UTF-8?q?=20=E6=88=90=E6=9C=AC=E5=88=97=E8=A1=A8=20-=20=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E8=BF=90=E8=BE=93=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=20=E6=8F=90=E7=A4=BA=E6=97=A0=E6=95=B0=E6=8D=AE=20=20?= =?UTF-8?q?tms-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5=E5=8F=A3=20=20tms?= =?UTF-8?q?-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=20tms-=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E3=80=81=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=96=B0=E3=80=81=E6=9F=A5=E8=AF=A2=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E3=80=81=E5=BF=AB=E4=BB=B6=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?-=E6=9F=A5=E8=AF=A2=E8=BF=94=E5=9B=9E=E9=94=80=E5=94=AE?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/EmisWaybillMapper.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml index f8271ef79..0b5338e52 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -507,6 +507,13 @@ + + + + AND COALESCE(wss.sales_support, a4.sales_support) LIKE CONCAT('%', #{salesSupport}, '%') + + + @@ -3991,6 +4006,7 @@ and p.del_flag = '0' ) + order by a.order_date desc From c50d1cc7052a552b2ba95d22c6f4c8141ee15ba0 Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Fri, 21 Nov 2025 16:44:25 +0800 Subject: [PATCH 06/10] =?UTF-8?q?demand:=20=20=20TMS=E7=B3=BB=E7=BB=9F=20-?= =?UTF-8?q?=20=E6=88=90=E6=9C=AC=E5=88=97=E8=A1=A8=20-=20=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E8=BF=90=E8=BE=93=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=20=E6=8F=90=E7=A4=BA=E6=97=A0=E6=95=B0=E6=8D=AE=20=20?= =?UTF-8?q?tms-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5=E5=8F=A3=20=20tms?= =?UTF-8?q?-=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/?= =?UTF-8?q?=E8=BF=90=E5=8D=95=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9/=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7-=E5=A2=9E=E5=8A=A0=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=94=80=E5=94=AE=E8=81=94=E7=B3=BB=E4=BA=BA=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=20tms-=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E3=80=81=E5=AF=84=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=96=B0=E3=80=81=E6=9F=A5=E8=AF=A2=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E3=80=81=E5=BF=AB=E4=BB=B6=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?-=E6=9F=A5=E8=AF=A2=E8=BF=94=E5=9B=9E=E9=94=80=E5=94=AE?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/EmisWaybillMapper.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml index 0b5338e52..5446dc83d 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -583,7 +583,7 @@ ORDER BY FIELD - + #{item} @@ -890,7 +890,7 @@ ORDER BY FIELD - + #{item} @@ -1191,7 +1191,7 @@ ORDER BY FIELD - + #{item} @@ -1556,7 +1556,7 @@ ORDER BY FIELD - + #{item} @@ -1958,7 +1958,7 @@ ORDER BY FIELD - + #{item} @@ -2625,7 +2625,7 @@ ORDER BY FIELD - + #{item} From 647db381d484026d855d4306c6878b98424bd650 Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Sat, 22 Nov 2025 09:42:21 +0800 Subject: [PATCH 07/10] =?UTF-8?q?demand:=20=20=20=20tms-=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95=E4=BF=AE=E6=94=B9/?= =?UTF-8?q?=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8=E7=94=B3=E8=AF=B7-?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=BF=87=E6=BB=A4=E6=8E=89=E5=91=98=E5=B7=A5=E8=A1=A8?= =?UTF-8?q?=E5=B7=B2=E5=81=9C=E7=94=A8=E7=9A=84=E5=91=98=E5=B7=A5=E3=80=81?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=8E=89=E8=AE=A1=E6=8F=90=E8=A1=A8=E5=B7=B2?= =?UTF-8?q?=E5=81=9C=E7=94=A8=E7=9A=84=E4=B8=94=E5=AF=84=E4=BB=B6=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E4=B8=8D=E5=9C=A8=E6=9C=89=E6=95=88=E6=9C=9F=E5=86=85?= =?UTF-8?q?=E7=9A=84=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/EmisSalesCommissionRatioMapper.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml b/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml index 748dce7b9..54409b6c3 100644 --- a/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml @@ -42,6 +42,10 @@ and start_date <= #{params.sendDate} and end_date >= #{params.sendDate} + + and exists(select 1 from sys_user a join emis_sales_commission_ratio b on a.emp_name = b.sales_support + where a.del_flag='0' and a.bl_open=#{userStatus}) + ORDER BY id DESC @@ -149,4 +153,4 @@ AND id != #{id} - \ No newline at end of file + From 06f42e0520d0d2619737f5292ab8c35ebbca111b Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Sat, 22 Nov 2025 10:05:29 +0800 Subject: [PATCH 08/10] =?UTF-8?q?demand:=20=20=20=20tms-=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95=E4=BF=AE=E6=94=B9/?= =?UTF-8?q?=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8=E7=94=B3=E8=AF=B7-?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=BF=87=E6=BB=A4=E6=8E=89=E5=91=98=E5=B7=A5=E8=A1=A8?= =?UTF-8?q?=E5=B7=B2=E5=81=9C=E7=94=A8=E7=9A=84=E5=91=98=E5=B7=A5=E3=80=81?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=8E=89=E8=AE=A1=E6=8F=90=E8=A1=A8=E5=B7=B2?= =?UTF-8?q?=E5=81=9C=E7=94=A8=E7=9A=84=E4=B8=94=E5=AF=84=E4=BB=B6=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E4=B8=8D=E5=9C=A8=E6=9C=89=E6=95=88=E6=9C=9F=E5=86=85?= =?UTF-8?q?=E7=9A=84=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/EmisSalesCommissionRatioMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml b/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml index 54409b6c3..ff329f785 100644 --- a/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml @@ -44,7 +44,7 @@ and exists(select 1 from sys_user a join emis_sales_commission_ratio b on a.emp_name = b.sales_support - where a.del_flag='0' and a.bl_open=#{userStatus}) + where a.del_flag='0' and a.bl_open=#{params.userStatus}) ORDER BY id DESC From d8d7c8b7a92fd025c3e30227e20f82149982c135 Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Sat, 22 Nov 2025 10:21:08 +0800 Subject: [PATCH 09/10] =?UTF-8?q?demand:=20=20=20=20tms-=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E6=8E=A5=E5=8D=95/=E8=BF=90=E5=8D=95?= =?UTF-8?q?=E5=BD=95=E5=85=A5/=E8=BF=90=E5=8D=95=E4=BF=AE=E6=94=B9/?= =?UTF-8?q?=E7=BD=91=E7=82=B9=E8=B4=B9=E7=94=A8=E7=94=B3=E8=AF=B7-?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=BF=87=E6=BB=A4=E6=8E=89=E5=91=98=E5=B7=A5=E8=A1=A8?= =?UTF-8?q?=E5=B7=B2=E5=81=9C=E7=94=A8=E7=9A=84=E5=91=98=E5=B7=A5=E3=80=81?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=8E=89=E8=AE=A1=E6=8F=90=E8=A1=A8=E5=B7=B2?= =?UTF-8?q?=E5=81=9C=E7=94=A8=E7=9A=84=E4=B8=94=E5=AF=84=E4=BB=B6=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E4=B8=8D=E5=9C=A8=E6=9C=89=E6=95=88=E6=9C=9F=E5=86=85?= =?UTF-8?q?=E7=9A=84=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/EmisSalesCommissionRatioMapper.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml b/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml index ff329f785..fb1f6e10b 100644 --- a/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSalesCommissionRatioMapper.xml @@ -42,9 +42,12 @@ and start_date <= #{params.sendDate} and end_date >= #{params.sendDate} + - and exists(select 1 from sys_user a join emis_sales_commission_ratio b on a.emp_name = b.sales_support - where a.del_flag='0' and a.bl_open=#{params.userStatus}) + and exists(select 1 from sys_user + where emp_name = emis_sales_commission_ratio.sales_support + and del_flag='0' + and bl_open=#{params.userStatus}) ORDER BY id DESC From 1e1d06fd71dfe059067c9e3b74576f0e1df33a55 Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Mon, 24 Nov 2025 10:57:14 +0800 Subject: [PATCH 10/10] =?UTF-8?q?demand:=20=20=E6=8E=A5=E5=8D=95=E6=97=B6?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E9=94=80=E5=94=AE=E6=94=AF=E6=8C=81=20commit?= =?UTF-8?q?ter:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java index a8e69e9d1..8827a3f1d 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisWaybillServiceImpl.java @@ -1809,6 +1809,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb // 基础信息更新 emisWaybillMapper.updateEmisWaybill(emisWaybillSave); + // 保存或更新运单其他信息副表 + saveOrUpdateWaybillOther(emisWaybillSave); + // 运单日志记录 recordWaybillOperLog( emisWaybillSave.getBillCode(),