diff --git a/bms-back/bms-system/src/main/java/com/bms/price/service/impl/PrcProfitReportServiceImpl.java b/bms-back/bms-system/src/main/java/com/bms/price/service/impl/PrcProfitReportServiceImpl.java index 2fb489a3..6e1b5cad 100644 --- a/bms-back/bms-system/src/main/java/com/bms/price/service/impl/PrcProfitReportServiceImpl.java +++ b/bms-back/bms-system/src/main/java/com/bms/price/service/impl/PrcProfitReportServiceImpl.java @@ -7,7 +7,6 @@ import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; // 提成功能暂停使用:import org.springframework.transaction.annotation.Transactional; -import com.bms.common.annotation.DataScope; import com.bms.common.exception.ServiceException; import com.bms.common.utils.SecurityUtils; // 提成功能暂停使用:import com.bms.price.domain.PrcProfitCommissionRate; @@ -35,7 +34,6 @@ public class PrcProfitReportServiceImpl implements IPrcProfitReportService */ @Override - @DataScope(deptAlias = "su", deptField = "dept_id", userAlias = "su", userField = "user_id", permission = "report:profit:list") public List selectOrderRows(PrcProfitReportQuery query) { normalizeMultiValueFilters(query); @@ -43,7 +41,6 @@ public class PrcProfitReportServiceImpl implements IPrcProfitReportService } @Override - @DataScope(deptAlias = "su", deptField = "dept_id", userAlias = "su", userField = "user_id", permission = "report:profit:list") public List selectProductRows(PrcProfitReportQuery query) { normalizeMultiValueFilters(query); @@ -51,7 +48,6 @@ public class PrcProfitReportServiceImpl implements IPrcProfitReportService } @Override - @DataScope(deptAlias = "su", deptField = "dept_id", userAlias = "su", userField = "user_id", permission = "report:profit:list") public List selectSummary(PrcProfitReportQuery query) { normalizeMultiValueFilters(query); diff --git a/bms-back/bms-system/src/main/resources/mapper/price/PrcOrderBillMapper.xml b/bms-back/bms-system/src/main/resources/mapper/price/PrcOrderBillMapper.xml index bc402bbe..24acf2dd 100644 --- a/bms-back/bms-system/src/main/resources/mapper/price/PrcOrderBillMapper.xml +++ b/bms-back/bms-system/src/main/resources/mapper/price/PrcOrderBillMapper.xml @@ -616,8 +616,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + + and p.order_status in (3, 4, 5, 6, 7, 8, 11) + + + and ( exists ( select 1 from prc_income_bill_fee f @@ -704,6 +710,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" inner join prc_income_bill_fee f on f.bill_id = p.bill_id and f.ar_bill_status = #{feeArBillStatus} where p.customer_id = #{customerId} + and p.customer_code like concat('%', #{customerCode}, '%') diff --git a/bms-back/bms-system/src/main/resources/mapper/price/PrcProfitReportMapper.xml b/bms-back/bms-system/src/main/resources/mapper/price/PrcProfitReportMapper.xml index 5904c397..6d363433 100644 --- a/bms-back/bms-system/src/main/resources/mapper/price/PrcProfitReportMapper.xml +++ b/bms-back/bms-system/src/main/resources/mapper/price/PrcProfitReportMapper.xml @@ -203,23 +203,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and (i.product_amount is null or i.redline_amount is null or i.sales_amount is null) - - and exists ( - select 1 - from sys_user su - where su.del_flag = '0' - and ( - (p.belong_saler_code is not null and p.belong_saler_code != '' - and (su.user_name = p.belong_saler_code collate utf8mb4_general_ci - or su.user_id = p.belong_saler_code + 0)) - or - (p.settlement_man_code is not null and p.settlement_man_code != '' - and (su.user_name = p.settlement_man_code collate utf8mb4_general_ci - or su.user_id = p.settlement_man_code + 0)) - ) - ${params.dataScope} - ) - diff --git a/bms-front/src/layout/components/Sidebar/Logo.vue b/bms-front/src/layout/components/Sidebar/Logo.vue index 91cf95a7..65dc2c3f 100644 --- a/bms-front/src/layout/components/Sidebar/Logo.vue +++ b/bms-front/src/layout/components/Sidebar/Logo.vue @@ -75,10 +75,11 @@ const getLogoTextColor = computed(() => { width: 100%; & .sidebar-logo { - width: 32px; - height: 32px; + width: 96px; + height: 24px; + object-fit: contain; vertical-align: middle; - margin-right: 12px; + margin-right: 10px; } & .sidebar-title { @@ -95,8 +96,10 @@ const getLogoTextColor = computed(() => { &.collapse { .sidebar-logo { + width: 32px; + height: 32px; margin-right: 0px; } } } - \ No newline at end of file + diff --git a/bms-front/src/utils/request.js b/bms-front/src/utils/request.js index 04a3dcdb..e099e582 100644 --- a/bms-front/src/utils/request.js +++ b/bms-front/src/utils/request.js @@ -17,7 +17,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: import.meta.env.VITE_APP_BASE_API, // 超时 - timeout: 10000 + timeout: 20000 }) // request拦截器 diff --git a/bms-front/src/views/report/profit/index.vue b/bms-front/src/views/report/profit/index.vue index f7eea0bc..087bc175 100644 --- a/bms-front/src/views/report/profit/index.vue +++ b/bms-front/src/views/report/profit/index.vue @@ -27,14 +27,14 @@ - + @@ -53,14 +53,14 @@ - +