From 2a84565108b3efa793063c7bdc49faa60846c700 Mon Sep 17 00:00:00 2001 From: bobol Date: Mon, 11 Dec 2023 11:53:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E6=A0=87=E9=98=85=E8=AF=BB=E8=AE=A1?= =?UTF-8?q?=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/DcBusiPlanTargetMonthService.java | 77 +++++++++++++++++++ .../domain/DcBaseAssetTargetDao.java | 3 + .../asset/DcBusiPlanTargetMonthMapper.xml | 1 + .../DcBusiTargetAdjustDayMasterMapper.xml | 1 + .../targetFolder/DcBaseAssetTargetMapper.xml | 7 +- 5 files changed, 88 insertions(+), 1 deletion(-) diff --git a/lzbi-module/src/main/java/com/lzbi/bill/service/DcBusiPlanTargetMonthService.java b/lzbi-module/src/main/java/com/lzbi/bill/service/DcBusiPlanTargetMonthService.java index 1bbde3f..7b654a6 100644 --- a/lzbi-module/src/main/java/com/lzbi/bill/service/DcBusiPlanTargetMonthService.java +++ b/lzbi-module/src/main/java/com/lzbi/bill/service/DcBusiPlanTargetMonthService.java @@ -1,12 +1,26 @@ package com.lzbi.bill.service; import java.util.List; + +import com.lzbi.asset.domain.DcBaseAssetInfo; +import com.lzbi.asset.mapper.DcBaseAssetInfoMapper; +import com.lzbi.common.core.domain.entity.SysDept; import com.lzbi.common.utils.DateUtils; +import com.lzbi.special.domain.DcBaseWorkSpecial; +import com.lzbi.special.mapper.DcBaseWorkSpecialMapper; +import com.lzbi.system.service.impl.SysDeptServiceImpl; +import com.lzbi.targetFolder.domain.DcBaseAssetTargetDao; +import com.lzbi.targetFolder.mapper.DcBaseAssetTargetMapper; +import org.apache.commons.lang3.ObjectUtils; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.lzbi.bill.domain.DcBusiPlanTargetMonth; import com.lzbi.bill.mapper.DcBusiPlanTargetMonthMapper; import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; + +import javax.annotation.Resource; + /** * 指标月度计划Service业务层处理 * @@ -17,6 +31,18 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; public class DcBusiPlanTargetMonthService extends ServiceImpl implements IService { + @Autowired + private SysDeptServiceImpl sysDeptService; + + @Resource + private DcBaseAssetInfoMapper dcBaseAssetInfoMapper; + + @Resource + private DcBaseWorkSpecialMapper dcBaseWorkSpecialMapper; + + @Resource + private DcBaseAssetTargetMapper dcBaseAssetTargetMapper; + /** * 查询指标月度计划 * @@ -48,6 +74,32 @@ public class DcBusiPlanTargetMonthService extends ServiceImpl and count_year = #{countYear} and count_month = #{countMonth} + order by created_time desc @@ -40,6 +41,7 @@ and asset_id = #{assetId} and target_model_code = #{targetModelCode} and target_name like concat('%', #{targetName}, '%') + and target_name_alias like concat('%', #{targetNameAlias}, '%') and target_code = #{targetCode} and target_field = #{targetField} and asset_code = #{assetCode} @@ -69,6 +71,7 @@ asset_id, target_model_code, target_name, + target_name_alias, target_code, target_field, limit_up, @@ -91,6 +94,7 @@ #{assetId}, #{targetModelCode}, #{targetName}, + #{targetNameAlias}, #{targetCode}, #{targetField}, #{limitUp}, @@ -117,6 +121,7 @@ asset_id = #{assetId}, target_model_code = #{targetModelCode}, target_name = #{targetName}, + target_name_alias = #{targetNameAlias}, target_code = #{targetCode}, target_field = #{targetField}, limit_up = #{limitUp},