From cd4d74e2ac1664ec386265005d37a89a5277be7d Mon Sep 17 00:00:00 2001 From: "DESKTOP-369JRHT\\12997" <9> Date: Thu, 11 Jul 2024 10:00:57 +0800 Subject: [PATCH] no message --- .../src/views/convenienceStore/damage/index.vue | 1 + .../src/views/convenienceStore/returns/index.vue | 1 + .../runningWater/tab/oilDepot.vue | 2 ++ fuintAdmin_zt/src/views/system/menu/index.vue | 2 +- .../service/impl/CvsGoodsServiceImpl.java | 2 +- .../order/service/impl/AllOrderInfoServiceImpl.java | 13 ++++++++++++- .../mapper/xml/OilTankMapper.xml | 3 +++ 7 files changed, 21 insertions(+), 3 deletions(-) diff --git a/fuintAdmin/src/views/convenienceStore/damage/index.vue b/fuintAdmin/src/views/convenienceStore/damage/index.vue index a67598385..f3a8f117a 100644 --- a/fuintAdmin/src/views/convenienceStore/damage/index.vue +++ b/fuintAdmin/src/views/convenienceStore/damage/index.vue @@ -192,6 +192,7 @@ export default { // 重置 resetQuery() { this.queryParams = {} + this.handleQuery() }, // 删除 handleDel(data) { diff --git a/fuintAdmin/src/views/convenienceStore/returns/index.vue b/fuintAdmin/src/views/convenienceStore/returns/index.vue index 74f50c3b0..961845ecc 100644 --- a/fuintAdmin/src/views/convenienceStore/returns/index.vue +++ b/fuintAdmin/src/views/convenienceStore/returns/index.vue @@ -193,6 +193,7 @@ export default { // 重置 resetQuery() { this.queryParams = {} + this.handleQuery() }, // 删除 handleDel(data) { diff --git a/fuintAdmin/src/views/financialStatement/runningWater/tab/oilDepot.vue b/fuintAdmin/src/views/financialStatement/runningWater/tab/oilDepot.vue index 562aa13cf..f357463f8 100644 --- a/fuintAdmin/src/views/financialStatement/runningWater/tab/oilDepot.vue +++ b/fuintAdmin/src/views/financialStatement/runningWater/tab/oilDepot.vue @@ -262,6 +262,8 @@ import {getInstituionListApi, getRunningWaterByDataApi, exportExcelOilDeptApi, g this.queryParams = { page: 1, pageSize: 10, + deptType:"3", + } this.beginTime = "" this.endTime = "" diff --git a/fuintAdmin_zt/src/views/system/menu/index.vue b/fuintAdmin_zt/src/views/system/menu/index.vue index 4052efe23..e560ee545 100644 --- a/fuintAdmin_zt/src/views/system/menu/index.vue +++ b/fuintAdmin_zt/src/views/system/menu/index.vue @@ -77,7 +77,7 @@ - + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/service/impl/CvsGoodsServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/service/impl/CvsGoodsServiceImpl.java index d9debc7a2..67a66e3a4 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/service/impl/CvsGoodsServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/service/impl/CvsGoodsServiceImpl.java @@ -84,7 +84,7 @@ public class CvsGoodsServiceImpl extends ServiceImpl im cvsGoodsVo.setPid(goods.getPid()); cvsGoodsVo.setStatus(goods.getStatus()); cvsGoodsVo.setCode(goods.getCode()); - cvsGoodsVo.setCreateTime(new Date()); + cvsGoodsVo.setCreateTime(goods.getCreateTime()); AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo(); cvsGoodsVo.setCreateBy(nowAccountInfo.getId().toString()); cvsGoodsVo.setSorted(goods.getSorted()); diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/AllOrderInfoServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/AllOrderInfoServiceImpl.java index 5c4106e69..9e0aeacf7 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/AllOrderInfoServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/AllOrderInfoServiceImpl.java @@ -863,7 +863,18 @@ public class AllOrderInfoServiceImpl extends ServiceImpl sysDepts = sysDeptMapper.selectChildrenDeptById2( page,nowAccountInfo.getDeptId(),allOrderInfo.getDeptId(),allOrderInfo.getDeptType()); +// IPage sysDepts = sysDeptMapper.selectChildrenDeptById2( page,nowAccountInfo.getDeptId(),allOrderInfo.getDeptId(),allOrderInfo.getDeptType()); + + IPage sysDepts = new Page<>(); + + if (ObjectUtil.isEmpty(allOrderInfo.getDeptId())) { + sysDepts = sysDeptMapper.selectChildrenDeptById2( page,nowAccountInfo.getDeptId(),allOrderInfo.getDeptId(),allOrderInfo.getDeptType()); + }else { + SysDeptVo sysDept = sysDeptMapper.selectDeptByIdVo(nowAccountInfo.getDeptId()); + List ssysDept = new ArrayList<>(); + ssysDept.add(sysDept); + sysDepts.setRecords(ssysDept); + } for (SysDeptVo sysDept : sysDepts.getRecords()) { long dayNum = 0; diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilTankMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilTankMapper.xml index 22bc3bf53..0532eefa1 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilTankMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilTankMapper.xml @@ -89,6 +89,9 @@ and update_by = #{oilTank.updateBy} + + and inventory_statistics = #{oilTank.inventoryStatistics} + ORDER BY update_time DESC