查询委托方去除组织条件;

This commit is contained in:
王奎兴
2026-08-25 10:41:58 +08:00
parent f5f792d3f8
commit 1916152775
3 changed files with 4 additions and 4 deletions
@@ -45,5 +45,5 @@ public interface BillManageMapper extends BaseMapper<BillManage>
String getOrgCodeNc(@Param("organizationId") Long organizationId);
Long getShipperId(@Param("userId") Long userId, @Param("organizationId") Long organizationId);
Long getShipperId(@Param("userId") Long userId);
}
@@ -269,7 +269,7 @@ public class BillManageImpl extends ServiceImpl<BillManageMapper, BillManage> im
throw new ServiceException("结算对象未找到!");
}
Long settlementEntityId = settlementCustomers.getSettlementEntityId();
Long shipperId = billManageMapper.getShipperId(settlementEntityId, organizationId);
Long shipperId = billManageMapper.getShipperId(settlementEntityId);
if (shipperId==null||shipperId==0){
throw new ServiceException("结算对象未找到!");
}
@@ -940,7 +940,7 @@ public class BillManageImpl extends ServiceImpl<BillManageMapper, BillManage> im
throw new ServiceException("结算对象未找到!");
}
Long settlementEntityId = settlementCustomers.getSettlementEntityId();
Long shipperId = billManageMapper.getShipperId(settlementEntityId, organizationId);
Long shipperId = billManageMapper.getShipperId(settlementEntityId);
if (shipperId==null||shipperId==0){
throw new ServiceException("结算对象未找到!");
}