diff --git a/lzbi-module/src/main/java/com/lzbi/bi/service/IDcBusiTargetAdjustService.java b/lzbi-module/src/main/java/com/lzbi/bi/service/IDcBusiTargetAdjustService.java new file mode 100644 index 0000000..1c9e326 --- /dev/null +++ b/lzbi-module/src/main/java/com/lzbi/bi/service/IDcBusiTargetAdjustService.java @@ -0,0 +1,61 @@ +package com.lzbi.bi.service; + +import java.util.List; +import com.lzbi.bi.domain.DcBusiTargetAdjust; + +/** + * 资产指标调整单Service接口 + * + * @author zhousq + * @date 2023-11-23 + */ +public interface IDcBusiTargetAdjustService +{ + /** + * 查询资产指标调整单 + * + * @param id 资产指标调整单主键 + * @return 资产指标调整单 + */ + public DcBusiTargetAdjust selectDcBusiTargetAdjustById(Long id); + + /** + * 查询资产指标调整单列表 + * + * @param dcBusiTargetAdjust 资产指标调整单 + * @return 资产指标调整单集合 + */ + public List selectDcBusiTargetAdjustList(DcBusiTargetAdjust dcBusiTargetAdjust); + + /** + * 新增资产指标调整单 + * + * @param dcBusiTargetAdjust 资产指标调整单 + * @return 结果 + */ + public int insertDcBusiTargetAdjust(DcBusiTargetAdjust dcBusiTargetAdjust); + + /** + * 修改资产指标调整单 + * + * @param dcBusiTargetAdjust 资产指标调整单 + * @return 结果 + */ + public int updateDcBusiTargetAdjust(DcBusiTargetAdjust dcBusiTargetAdjust); + + /** + * 批量删除资产指标调整单 + * + * @param ids 需要删除的资产指标调整单主键集合 + * @return 结果 + */ + public int deleteDcBusiTargetAdjustByIds(Long[] ids); + + /** + * 删除资产指标调整单信息 + * + * @param id 资产指标调整单主键 + * @return 结果 + */ + public int deleteDcBusiTargetAdjustById(Long id); +} diff --git a/lzbi-module/src/main/java/com/lzbi/bi/service/IDcBusiTargetDraftService.java b/lzbi-module/src/main/java/com/lzbi/bi/service/IDcBusiTargetDraftService.java new file mode 100644 index 0000000..e6d2d30 --- /dev/null +++ b/lzbi-module/src/main/java/com/lzbi/bi/service/IDcBusiTargetDraftService.java @@ -0,0 +1,61 @@ +package com.lzbi.bi.service; + +import java.util.List; +import com.lzbi.bi.domain.DcBusiTargetDraft; + +/** + * 指标数据底稿Service接口 + * + * @author zhousq + * @date 2023-11-23 + */ +public interface IDcBusiTargetDraftService +{ + /** + * 查询指标数据底稿 + * + * @param id 指标数据底稿主键 + * @return 指标数据底稿 + */ + public DcBusiTargetDraft selectDcBusiTargetDraftById(Long id); + + /** + * 查询指标数据底稿列表 + * + * @param dcBusiTargetDraft 指标数据底稿 + * @return 指标数据底稿集合 + */ + public List selectDcBusiTargetDraftList(DcBusiTargetDraft dcBusiTargetDraft); + + /** + * 新增指标数据底稿 + * + * @param dcBusiTargetDraft 指标数据底稿 + * @return 结果 + */ + public int insertDcBusiTargetDraft(DcBusiTargetDraft dcBusiTargetDraft); + + /** + * 修改指标数据底稿 + * + * @param dcBusiTargetDraft 指标数据底稿 + * @return 结果 + */ + public int updateDcBusiTargetDraft(DcBusiTargetDraft dcBusiTargetDraft); + + /** + * 批量删除指标数据底稿 + * + * @param ids 需要删除的指标数据底稿主键集合 + * @return 结果 + */ + public int deleteDcBusiTargetDraftByIds(Long[] ids); + + /** + * 删除指标数据底稿信息 + * + * @param id 指标数据底稿主键 + * @return 结果 + */ + public int deleteDcBusiTargetDraftById(Long id); +} diff --git a/lzbi-module/src/main/java/com/lzbi/bi/service/impl/DcBusiTargetAdjustServiceImpl.java b/lzbi-module/src/main/java/com/lzbi/bi/service/impl/DcBusiTargetAdjustServiceImpl.java new file mode 100644 index 0000000..09f2882 --- /dev/null +++ b/lzbi-module/src/main/java/com/lzbi/bi/service/impl/DcBusiTargetAdjustServiceImpl.java @@ -0,0 +1,93 @@ +package com.lzbi.bi.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.lzbi.bi.mapper.DcBusiTargetAdjustMapper; +import com.lzbi.bi.domain.DcBusiTargetAdjust; +import com.lzbi.bi.service.IDcBusiTargetAdjustService; + +/** + * 资产指标调整单Service业务层处理 + * + * @author zhousq + * @date 2023-11-23 + */ +@Service +public class DcBusiTargetAdjustServiceImpl implements IDcBusiTargetAdjustService +{ + @Autowired + private DcBusiTargetAdjustMapper dcBusiTargetAdjustMapper; + + /** + * 查询资产指标调整单 + * + * @param id 资产指标调整单主键 + * @return 资产指标调整单 + */ + @Override + public DcBusiTargetAdjust selectDcBusiTargetAdjustById(Long id) + { + return dcBusiTargetAdjustMapper.selectDcBusiTargetAdjustById(id); + } + + /** + * 查询资产指标调整单列表 + * + * @param dcBusiTargetAdjust 资产指标调整单 + * @return 资产指标调整单 + */ + @Override + public List selectDcBusiTargetAdjustList(DcBusiTargetAdjust dcBusiTargetAdjust) + { + return dcBusiTargetAdjustMapper.selectDcBusiTargetAdjustList(dcBusiTargetAdjust); + } + + /** + * 新增资产指标调整单 + * + * @param dcBusiTargetAdjust 资产指标调整单 + * @return 结果 + */ + @Override + public int insertDcBusiTargetAdjust(DcBusiTargetAdjust dcBusiTargetAdjust) + { + return dcBusiTargetAdjustMapper.insertDcBusiTargetAdjust(dcBusiTargetAdjust); + } + + /** + * 修改资产指标调整单 + * + * @param dcBusiTargetAdjust 资产指标调整单 + * @return 结果 + */ + @Override + public int updateDcBusiTargetAdjust(DcBusiTargetAdjust dcBusiTargetAdjust) + { + return dcBusiTargetAdjustMapper.updateDcBusiTargetAdjust(dcBusiTargetAdjust); + } + + /** + * 批量删除资产指标调整单 + * + * @param ids 需要删除的资产指标调整单主键 + * @return 结果 + */ + @Override + public int deleteDcBusiTargetAdjustByIds(Long[] ids) + { + return dcBusiTargetAdjustMapper.deleteDcBusiTargetAdjustByIds(ids); + } + + /** + * 删除资产指标调整单信息 + * + * @param id 资产指标调整单主键 + * @return 结果 + */ + @Override + public int deleteDcBusiTargetAdjustById(Long id) + { + return dcBusiTargetAdjustMapper.deleteDcBusiTargetAdjustById(id); + } +} diff --git a/lzbi-module/src/main/java/com/lzbi/bi/service/impl/DcBusiTargetDraftServiceImpl.java b/lzbi-module/src/main/java/com/lzbi/bi/service/impl/DcBusiTargetDraftServiceImpl.java new file mode 100644 index 0000000..51d6229 --- /dev/null +++ b/lzbi-module/src/main/java/com/lzbi/bi/service/impl/DcBusiTargetDraftServiceImpl.java @@ -0,0 +1,93 @@ +package com.lzbi.bi.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.lzbi.bi.mapper.DcBusiTargetDraftMapper; +import com.lzbi.bi.domain.DcBusiTargetDraft; +import com.lzbi.bi.service.IDcBusiTargetDraftService; + +/** + * 指标数据底稿Service业务层处理 + * + * @author zhousq + * @date 2023-11-23 + */ +@Service +public class DcBusiTargetDraftServiceImpl implements IDcBusiTargetDraftService +{ + @Autowired + private DcBusiTargetDraftMapper dcBusiTargetDraftMapper; + + /** + * 查询指标数据底稿 + * + * @param id 指标数据底稿主键 + * @return 指标数据底稿 + */ + @Override + public DcBusiTargetDraft selectDcBusiTargetDraftById(Long id) + { + return dcBusiTargetDraftMapper.selectDcBusiTargetDraftById(id); + } + + /** + * 查询指标数据底稿列表 + * + * @param dcBusiTargetDraft 指标数据底稿 + * @return 指标数据底稿 + */ + @Override + public List selectDcBusiTargetDraftList(DcBusiTargetDraft dcBusiTargetDraft) + { + return dcBusiTargetDraftMapper.selectDcBusiTargetDraftList(dcBusiTargetDraft); + } + + /** + * 新增指标数据底稿 + * + * @param dcBusiTargetDraft 指标数据底稿 + * @return 结果 + */ + @Override + public int insertDcBusiTargetDraft(DcBusiTargetDraft dcBusiTargetDraft) + { + return dcBusiTargetDraftMapper.insertDcBusiTargetDraft(dcBusiTargetDraft); + } + + /** + * 修改指标数据底稿 + * + * @param dcBusiTargetDraft 指标数据底稿 + * @return 结果 + */ + @Override + public int updateDcBusiTargetDraft(DcBusiTargetDraft dcBusiTargetDraft) + { + return dcBusiTargetDraftMapper.updateDcBusiTargetDraft(dcBusiTargetDraft); + } + + /** + * 批量删除指标数据底稿 + * + * @param ids 需要删除的指标数据底稿主键 + * @return 结果 + */ + @Override + public int deleteDcBusiTargetDraftByIds(Long[] ids) + { + return dcBusiTargetDraftMapper.deleteDcBusiTargetDraftByIds(ids); + } + + /** + * 删除指标数据底稿信息 + * + * @param id 指标数据底稿主键 + * @return 结果 + */ + @Override + public int deleteDcBusiTargetDraftById(Long id) + { + return dcBusiTargetDraftMapper.deleteDcBusiTargetDraftById(id); + } +} diff --git a/lzbi-module/src/main/resources/mapper/assetData/DcBusiTargetAdjustMapper.xml b/lzbi-module/src/main/resources/mapper/assetData/DcBusiTargetAdjustMapper.xml new file mode 100644 index 0000000..00e3818 --- /dev/null +++ b/lzbi-module/src/main/resources/mapper/assetData/DcBusiTargetAdjustMapper.xml @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + select TENANT_ID, REVISION, CREATED_BY, CREATED_TIME, UPDATED_BY, UPDATED_TIME, DELETE_BY, DELETE_TIME, bill_serial, biil_type, target_code, asset_id, val_orginal, val_adjust, val_result, id, date_adjust, hour_adjust, date_adjust_str from dc_busi_target_adjust + + + + + + + + insert into dc_busi_target_adjust + + TENANT_ID, + REVISION, + CREATED_BY, + CREATED_TIME, + UPDATED_BY, + UPDATED_TIME, + DELETE_BY, + DELETE_TIME, + bill_serial, + biil_type, + target_code, + asset_id, + val_orginal, + val_adjust, + val_result, + date_adjust, + hour_adjust, + date_adjust_str, + + + #{tenantId}, + #{REVISION}, + #{createdBy}, + #{createdTime}, + #{updatedBy}, + #{updatedTime}, + #{deleteBy}, + #{deleteTime}, + #{billSerial}, + #{biilType}, + #{targetCode}, + #{assetId}, + #{valOrginal}, + #{valAdjust}, + #{valResult}, + #{dateAdjust}, + #{hourAdjust}, + #{dateAdjustStr}, + + + + + update dc_busi_target_adjust + + TENANT_ID = #{tenantId}, + REVISION = #{REVISION}, + CREATED_BY = #{createdBy}, + CREATED_TIME = #{createdTime}, + UPDATED_BY = #{updatedBy}, + UPDATED_TIME = #{updatedTime}, + DELETE_BY = #{deleteBy}, + DELETE_TIME = #{deleteTime}, + bill_serial = #{billSerial}, + biil_type = #{biilType}, + target_code = #{targetCode}, + asset_id = #{assetId}, + val_orginal = #{valOrginal}, + val_adjust = #{valAdjust}, + val_result = #{valResult}, + date_adjust = #{dateAdjust}, + hour_adjust = #{hourAdjust}, + date_adjust_str = #{dateAdjustStr}, + + where id = #{id} + + + + delete from dc_busi_target_adjust where id = #{id} + + + + delete from dc_busi_target_adjust where id in + + #{id} + + + \ No newline at end of file diff --git a/lzbi-module/src/main/resources/mapper/assetData/DcBusiTargetDraftMapper.xml b/lzbi-module/src/main/resources/mapper/assetData/DcBusiTargetDraftMapper.xml new file mode 100644 index 0000000..6a94c13 --- /dev/null +++ b/lzbi-module/src/main/resources/mapper/assetData/DcBusiTargetDraftMapper.xml @@ -0,0 +1,296 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select TENANT_ID, REVISION, CREATED_BY, CREATED_TIME, UPDATED_BY, UPDATED_TIME, DELETE_BY, DELETE_TIME, id, target_id, target_code, count_year, count_month, count_day, val01, val02, val03, val04, val05, val06, val07, val08, val09, val10, val11, val12, val13, val14, val15, val16, val17, val18, val19, val20, val21, val22, val23, val24, company_code, company_name, org_code, org_name, work_type, count_unit_name, asset_id, val_up_limit, val_down_limit, val_avg, val_total, val_compute from dc_busi_target_draft + + + + + + + + insert into dc_busi_target_draft + + TENANT_ID, + REVISION, + CREATED_BY, + CREATED_TIME, + UPDATED_BY, + UPDATED_TIME, + DELETE_BY, + DELETE_TIME, + target_id, + target_code, + count_year, + count_month, + count_day, + val01, + val02, + val03, + val04, + val05, + val06, + val07, + val08, + val09, + val10, + val11, + val12, + val13, + val14, + val15, + val16, + val17, + val18, + val19, + val20, + val21, + val22, + val23, + val24, + company_code, + company_name, + org_code, + org_name, + work_type, + count_unit_name, + asset_id, + val_up_limit, + val_down_limit, + val_avg, + val_total, + val_compute, + + + #{tenantId}, + #{REVISION}, + #{createdBy}, + #{createdTime}, + #{updatedBy}, + #{updatedTime}, + #{deleteBy}, + #{deleteTime}, + #{targetId}, + #{targetCode}, + #{countYear}, + #{countMonth}, + #{countDay}, + #{val01}, + #{val02}, + #{val03}, + #{val04}, + #{val05}, + #{val06}, + #{val07}, + #{val08}, + #{val09}, + #{val10}, + #{val11}, + #{val12}, + #{val13}, + #{val14}, + #{val15}, + #{val16}, + #{val17}, + #{val18}, + #{val19}, + #{val20}, + #{val21}, + #{val22}, + #{val23}, + #{val24}, + #{companyCode}, + #{companyName}, + #{orgCode}, + #{orgName}, + #{workType}, + #{countUnitName}, + #{assetId}, + #{valUpLimit}, + #{valDownLimit}, + #{valAvg}, + #{valTotal}, + #{valCompute}, + + + + + update dc_busi_target_draft + + TENANT_ID = #{tenantId}, + REVISION = #{REVISION}, + CREATED_BY = #{createdBy}, + CREATED_TIME = #{createdTime}, + UPDATED_BY = #{updatedBy}, + UPDATED_TIME = #{updatedTime}, + DELETE_BY = #{deleteBy}, + DELETE_TIME = #{deleteTime}, + target_id = #{targetId}, + target_code = #{targetCode}, + count_year = #{countYear}, + count_month = #{countMonth}, + count_day = #{countDay}, + val01 = #{val01}, + val02 = #{val02}, + val03 = #{val03}, + val04 = #{val04}, + val05 = #{val05}, + val06 = #{val06}, + val07 = #{val07}, + val08 = #{val08}, + val09 = #{val09}, + val10 = #{val10}, + val11 = #{val11}, + val12 = #{val12}, + val13 = #{val13}, + val14 = #{val14}, + val15 = #{val15}, + val16 = #{val16}, + val17 = #{val17}, + val18 = #{val18}, + val19 = #{val19}, + val20 = #{val20}, + val21 = #{val21}, + val22 = #{val22}, + val23 = #{val23}, + val24 = #{val24}, + company_code = #{companyCode}, + company_name = #{companyName}, + org_code = #{orgCode}, + org_name = #{orgName}, + work_type = #{workType}, + count_unit_name = #{countUnitName}, + asset_id = #{assetId}, + val_up_limit = #{valUpLimit}, + val_down_limit = #{valDownLimit}, + val_avg = #{valAvg}, + val_total = #{valTotal}, + val_compute = #{valCompute}, + + where id = #{id} + + + + delete from dc_busi_target_draft where id = #{id} + + + + delete from dc_busi_target_draft where id in + + #{id} + + + \ No newline at end of file diff --git a/ojdbc14.jar b/ojdbc14.jar new file mode 100644 index 0000000..05adfef Binary files /dev/null and b/ojdbc14.jar differ