|
@@ -3,15 +3,188 @@
|
|
|
<mapper namespace="com.jeeplus.modules.ruralprojectrecords.dao.RuralProjectMessageElectronicSealDao">
|
|
|
|
|
|
<sql id="projectReportRecordColumns">
|
|
|
-
|
|
|
+ a.project_report_id,
|
|
|
+ a.submit_fee as "submit_fee",
|
|
|
+ a.authorize_fee as "authorize_fee",
|
|
|
+ a.construction_unit_assessment_fee as "construction_unit_assessment_fee",
|
|
|
+ a.authorize_fee_deduct_assessment_fee as "authorize_fee_deduct_assessment_fee",
|
|
|
+ a.construction_unit as "construction_unit",
|
|
|
+ a.description_of_deduction as "description_of_deduction",
|
|
|
+ a.description_of_exceeding_the_contract_amount as "description_of_exceeding_the_contract_amount",
|
|
|
+ a.description_of_special_matters as "description_of_special_matters",
|
|
|
+ a.stamp_date as "stamp_date",
|
|
|
+ a.print_quantity as "print_quantity",
|
|
|
+ a.report_preparation_date as "report_preparation_date",
|
|
|
+ a.agreed_start_date as "agreed_start_date",
|
|
|
+ a.agreed_end_date as "agreed_end_date",
|
|
|
+ a.consultant as "consultant",
|
|
|
+ a.self_calibration_opinion as "self_calibration_opinion",
|
|
|
+ a.review_opinion as "review_opinion",
|
|
|
+ a.review_date as "review_date",
|
|
|
+ a.date_of_consultation_report as "date_of_consultation_report",
|
|
|
+ a.start_date_of_consulting_operation as "start_date_of_consulting_operation",
|
|
|
+ a.end_date_of_consultation as "end_date_of_consultation",
|
|
|
+ a.start_audit_date as "start_audit_date",
|
|
|
+ a.project_scale_content_scope as "project_scale_content_scope",
|
|
|
+ a.main_contents_of_project as "main_contents_of_project",
|
|
|
+ a.total_contract_price as "total_contract_price",
|
|
|
+ a.contract_start_date as "contract_start_date",
|
|
|
+ a.contract_end_date as "contract_end_date",
|
|
|
+ a.actual_start_date as "actual_start_date",
|
|
|
+ a.actual_end_date as "actual_end_date",
|
|
|
+ a.completion_acceptance_date as "completion_acceptance_date",
|
|
|
+ a.design_unit as "design_unit",
|
|
|
+ a.construction_control_unit as "construction_control_unit",
|
|
|
+ a.follow_up_audit_unit as "follow_up_audit_unit",
|
|
|
+ a.engineering_design_change_order as "engineering_design_change_order",
|
|
|
+ a.confirmation_sheet_of_quantities as "confirmation_sheet_of_quantities",
|
|
|
+ a.project_visa as "project_visa",
|
|
|
+ a.quality_price_confirmation_of_engineering_materials as "quality_price_confirmation_of_engineering_materials",
|
|
|
+ a.listmaterials_equipment_by_a as "listmaterials_equipment_by_a",
|
|
|
+ a.project_reward_and_damages as "project_reward_and_damages",
|
|
|
+ a.charge as "charge",
|
|
|
+ a.taxes as "taxes",
|
|
|
+ a.duration_difference_causes_and_responsibilities as "duration_difference_causes_and_responsibilities",
|
|
|
+ a.quality_difference_causes_and_responsibilities as "quality_difference_causes_and_responsibilities",
|
|
|
+ a.other_contents_and_expenses as "other_contents_and_expenses",
|
|
|
+ a.project_cost_consulting_contract as "project_cost_consulting_contract",
|
|
|
+ a.settlement_pricing_basis_document as "settlement_pricing_basis_document",
|
|
|
+ a.materials_and_equipment_by_a as "materials_and_equipment_by_a",
|
|
|
+ a.a_materials_by_b as "a_materials_by_b",
|
|
|
+ a.reward_and_punishment_fees as "reward_and_punishment_fees",
|
|
|
+ a.water_and_electricity_fees_handle_situation as "water_and_electricity_fees_handle_situation",
|
|
|
+ a.construction_quality_warranty_deposit as "construction_quality_warranty_deposit",
|
|
|
+ a.tax_difference_calculation_and_processing as "tax_difference_calculation_and_processing"
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
<select id="get" resultType="ProjectReportSignatureInfo">
|
|
|
SELECT
|
|
|
- <include refid="projectReportRecordColumns"/>,
|
|
|
- FROM rural_project_report_record_down a
|
|
|
+ <include refid="projectReportRecordColumns"/>
|
|
|
+ FROM project_report_signature_info a
|
|
|
WHERE a.project_report_id = #{projectReportId}
|
|
|
</select>
|
|
|
|
|
|
+ <insert id="insert">
|
|
|
+ insert into project_report_signature_info(
|
|
|
+ project_report_id,
|
|
|
+ submit_fee,
|
|
|
+ authorize_fee,
|
|
|
+ construction_unit_assessment_fee,
|
|
|
+ authorize_fee_deduct_assessment_fee,
|
|
|
+ construction_unit,
|
|
|
+ description_of_deduction,
|
|
|
+ description_of_exceeding_the_contract_amount,
|
|
|
+ description_of_special_matters,
|
|
|
+ stamp_date,
|
|
|
+ print_quantity,
|
|
|
+ report_preparation_date,
|
|
|
+ agreed_start_date,
|
|
|
+ agreed_end_date,
|
|
|
+ consultant,
|
|
|
+ self_calibration_opinion,
|
|
|
+ review_opinion,
|
|
|
+ review_date,
|
|
|
+ date_of_consultation_report,
|
|
|
+ start_date_of_consulting_operation,
|
|
|
+ end_date_of_consultation,
|
|
|
+ start_audit_date,
|
|
|
+ project_scale_content_scope,
|
|
|
+ main_contents_of_project,
|
|
|
+ total_contract_price,
|
|
|
+ contract_start_date,
|
|
|
+ contract_end_date,
|
|
|
+ actual_start_date,
|
|
|
+ actual_end_date,
|
|
|
+ completion_acceptance_date,
|
|
|
+ design_unit,
|
|
|
+ construction_control_unit,
|
|
|
+ follow_up_audit_unit,
|
|
|
+ engineering_design_change_order,
|
|
|
+ confirmation_sheet_of_quantities,
|
|
|
+ project_visa,
|
|
|
+ quality_price_confirmation_of_engineering_materials,
|
|
|
+ listmaterials_equipment_by_a,
|
|
|
+ project_reward_and_damages,
|
|
|
+ charge,
|
|
|
+ taxes,
|
|
|
+ duration_difference_causes_and_responsibilities,
|
|
|
+ quality_difference_causes_and_responsibilities,
|
|
|
+ other_contents_and_expenses,
|
|
|
+ project_cost_consulting_contract,
|
|
|
+ settlement_pricing_basis_document,
|
|
|
+ materials_and_equipment_by_a,
|
|
|
+ a_materials_by_b,
|
|
|
+ reward_and_punishment_fees,
|
|
|
+ water_and_electricity_fees_handle_situation,
|
|
|
+ construction_quality_warranty_deposit,
|
|
|
+ tax_difference_calculation_and_processing
|
|
|
+ )values (
|
|
|
+ #{projectReportId},
|
|
|
+ #{submitFee},
|
|
|
+ #{authorizeFee},
|
|
|
+ #{constructionUnitAssessmentFee},
|
|
|
+ #{authorizeFeeDeductAssessmentFee},
|
|
|
+ #{constructionUnit},
|
|
|
+ #{descriptionOfDeduction},
|
|
|
+ #{descriptionOfExceedingTheContractAmount},
|
|
|
+ #{descriptionOfSpecialMatters},
|
|
|
+ #{stampDate},
|
|
|
+ #{printQuantity},
|
|
|
+ #{reportPreparationDate},
|
|
|
+ #{agreedStartDate},
|
|
|
+ #{agreedEndDate},
|
|
|
+ #{consultant},
|
|
|
+ #{selfCalibrationOpinion},
|
|
|
+ #{reviewOpinion},
|
|
|
+ #{reviewDate},
|
|
|
+ #{dateOfConsultationReport},
|
|
|
+ #{startDateOfConsultingOperation},
|
|
|
+ #{endDateOfConsultation},
|
|
|
+ #{startAuditDate},
|
|
|
+ #{projectScaleContentScope},
|
|
|
+ #{mainContentsOfProject},
|
|
|
+ #{totalContractPrice},
|
|
|
+ #{contractStartDate},
|
|
|
+ #{contractEndDate},
|
|
|
+ #{actualStartDate},
|
|
|
+ #{actualEndDate},
|
|
|
+ #{completionAcceptanceDate},
|
|
|
+ #{designUnit},
|
|
|
+ #{constructionControlUnit},
|
|
|
+ #{followUpAuditUnit},
|
|
|
+ #{engineeringDesignChangeOrder},
|
|
|
+ #{confirmationSheetOfQuantities},
|
|
|
+ #{projectVisa},
|
|
|
+ #{qualityPriceConfirmationOfEngineeringMaterials},
|
|
|
+ #{listmaterialsEquipmentByA},
|
|
|
+ #{projectRewardAndDamages},
|
|
|
+ #{charge},
|
|
|
+ #{taxes},
|
|
|
+ #{durationDifferenceCausesAndResponsibilities},
|
|
|
+ #{qualityDifferenceCausesAndResponsibilities},
|
|
|
+ #{otherContentsAndExpenses},
|
|
|
+ #{projectCostConsultingContract},
|
|
|
+ #{settlementPricingBasisDocument},
|
|
|
+ #{materialsAndEquipmentByA},
|
|
|
+ #{aMaterialsByB},
|
|
|
+ #{rewardAndPunishmentFees},
|
|
|
+ #{waterAndElectricityFeesHandleSituation},
|
|
|
+ #{constructionQualityWarrantyDeposit},
|
|
|
+ #{taxDifferenceCalculationAndProcessing}
|
|
|
+ )
|
|
|
+ </insert>
|
|
|
+
|
|
|
+ <select id="getAchivesIdByName" resultType="String">
|
|
|
+ select id from work_staff_achives where name=#{name}
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="getId" resultType="String">
|
|
|
+ select id from work_staff_certificate where staff_id=#{staffId}
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="getProjectReportId" resultType="String">
|
|
|
+ select number from project_report_data where number=#{projectReportId}
|
|
|
+ </select>
|
|
|
+
|
|
|
</mapper>
|