diff --git a/lzbi-module/src/main/resources/mapper/DcBaseAssetInfoMapper.xml b/lzbi-module/src/main/resources/mapper/DcBaseAssetInfoMapper.xml new file mode 100644 index 0000000..b9783b7 --- /dev/null +++ b/lzbi-module/src/main/resources/mapper/DcBaseAssetInfoMapper.xml @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select + TENANT_ID, + REVISION, + CREATED_BY, + CREATED_TIME, + UPDATED_BY, + UPDATED_TIME, + DELETE_BY, + DELETE_TIME, + id, + asset_name, + asset_code, + asset_class, + flag_validate_dept, + flag_validate_role, + flag_validate_user, + status_asset, + comany_id, + dept_id, + work_type, + from dc_base_asset_info + + + + insert into dc_base_asset_info + + TENANT_ID, + REVISION, + CREATED_BY, + CREATED_TIME, + UPDATED_BY, + UPDATED_TIME, + DELETE_BY, + DELETE_TIME, + asset_id, + asset_name, + asset_code, + asset_class, + flag_validate_dept, + flag_validate_role, + flag_validate_user, + status_asset, + comany_id, + dept_id, + work_type, + + + #{tenantId}, + #{revision}, + #{createdBy}, + #{createdTime}, + #{updatedBy}, + #{updatedTime}, + #{deleteBy}, + #{deleteTime}, + #{assetId}, + #{assetName}, + #{assetCode}, + #{assetClass}, + #{flagValidateDept}, + #{flagValidateRole}, + #{flagValidateUser}, + #{statusAsset}, + #{comanyId}, + #{deptId}, + #{workType}, + + + + \ No newline at end of file diff --git a/lzbi-module/src/main/resources/mapper/DcBusiTargetAdjustMapper.xml b/lzbi-module/src/main/resources/mapper/DcBusiTargetAdjustMapper.xml new file mode 100644 index 0000000..8738288 --- /dev/null +++ b/lzbi-module/src/main/resources/mapper/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, + id, + date_adjust, + hour_adjust, + date_adjust_str, + + + #{tenantId}, + #{revision}, + #{createdBy}, + #{createdTime}, + #{updatedBy}, + #{updatedTime}, + #{deleteBy}, + #{deleteTime}, + #{billSerial}, + #{biilType}, + #{targetCode}, + #{assetId}, + #{valOrginal}, + #{valAdjust}, + #{valResult}, + #{id}, + #{dateAdjust}, + #{hourAdjust}, + #{dateAdjustStr}, + + + + \ No newline at end of file diff --git a/lzbi-module/src/main/resources/mapper/DcBusiTargetDraftMapper.xml b/lzbi-module/src/main/resources/mapper/DcBusiTargetDraftMapper.xml new file mode 100644 index 0000000..494e566 --- /dev/null +++ b/lzbi-module/src/main/resources/mapper/DcBusiTargetDraftMapper.xml @@ -0,0 +1,327 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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, + 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, + + + #{tenantId}, + #{revision}, + #{createdBy}, + #{createdTime}, + #{updatedBy}, + #{updatedTime}, + #{deleteBy}, + #{deleteTime}, + #{id}, + #{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}, + + + + \ No newline at end of file