|
@@ -65,8 +65,9 @@
|
|
WHERE a.project_report_id = #{projectReportId}
|
|
WHERE a.project_report_id = #{projectReportId}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
- <insert id="insert">
|
|
|
|
|
|
+ <insert id="insertByList" parameterType="java.util.List">
|
|
insert into project_report_signature_info(
|
|
insert into project_report_signature_info(
|
|
|
|
+ id,
|
|
project_report_id,
|
|
project_report_id,
|
|
submit_fee,
|
|
submit_fee,
|
|
authorize_fee,
|
|
authorize_fee,
|
|
@@ -119,72 +120,74 @@
|
|
water_and_electricity_fees_handle_situation,
|
|
water_and_electricity_fees_handle_situation,
|
|
construction_quality_warranty_deposit,
|
|
construction_quality_warranty_deposit,
|
|
tax_difference_calculation_and_processing
|
|
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}
|
|
|
|
- )
|
|
|
|
|
|
+ )values
|
|
|
|
+ <foreach collection="list" item="item" separator=",">
|
|
|
|
+ (
|
|
|
|
+ #{item.id},
|
|
|
|
+ #{item.projectReportId},
|
|
|
|
+ #{item.submitFee},
|
|
|
|
+ #{item.authorizeFee},
|
|
|
|
+ #{item.constructionUnitAssessmentFee},
|
|
|
|
+ #{item.authorizeFeeDeductAssessmentFee},
|
|
|
|
+ #{item.constructionUnit},
|
|
|
|
+ #{item.descriptionOfDeduction},
|
|
|
|
+ #{item.descriptionOfExceedingTheContractAmount},
|
|
|
|
+ #{item.descriptionOfSpecialMatters},
|
|
|
|
+ #{item.stampDate},
|
|
|
|
+ #{item.printQuantity},
|
|
|
|
+ #{item.reportPreparationDate},
|
|
|
|
+ #{item.agreedStartDate},
|
|
|
|
+ #{item.agreedEndDate},
|
|
|
|
+ #{item.consultant},
|
|
|
|
+ #{item.selfCalibrationOpinion},
|
|
|
|
+ #{item.reviewOpinion},
|
|
|
|
+ #{item.reviewDate},
|
|
|
|
+ #{item.dateOfConsultationReport},
|
|
|
|
+ #{item.startDateOfConsultingOperation},
|
|
|
|
+ #{item.endDateOfConsultation},
|
|
|
|
+ #{item.startAuditDate},
|
|
|
|
+ #{item.projectScaleContentScope},
|
|
|
|
+ #{item.mainContentsOfProject},
|
|
|
|
+ #{item.totalContractPrice},
|
|
|
|
+ #{item.contractStartDate},
|
|
|
|
+ #{item.contractEndDate},
|
|
|
|
+ #{item.actualStartDate},
|
|
|
|
+ #{item.actualEndDate},
|
|
|
|
+ #{item.completionAcceptanceDate},
|
|
|
|
+ #{item.designUnit},
|
|
|
|
+ #{item.constructionControlUnit},
|
|
|
|
+ #{item.followUpAuditUnit},
|
|
|
|
+ #{item.engineeringDesignChangeOrder},
|
|
|
|
+ #{item.confirmationSheetOfQuantities},
|
|
|
|
+ #{item.projectVisa},
|
|
|
|
+ #{item.qualityPriceConfirmationOfEngineeringMaterials},
|
|
|
|
+ #{item.listmaterialsEquipmentByA},
|
|
|
|
+ #{item.projectRewardAndDamages},
|
|
|
|
+ #{item.charge},
|
|
|
|
+ #{item.taxes},
|
|
|
|
+ #{item.durationDifferenceCausesAndResponsibilities},
|
|
|
|
+ #{item.qualityDifferenceCausesAndResponsibilities},
|
|
|
|
+ #{item.otherContentsAndExpenses},
|
|
|
|
+ #{item.projectCostConsultingContract},
|
|
|
|
+ #{item.settlementPricingBasisDocument},
|
|
|
|
+ #{item.materialsAndEquipmentByA},
|
|
|
|
+ #{item.aMaterialsByB},
|
|
|
|
+ #{item.rewardAndPunishmentFees},
|
|
|
|
+ #{item.waterAndElectricityFeesHandleSituation},
|
|
|
|
+ #{item.constructionQualityWarrantyDeposit},
|
|
|
|
+ #{item.taxDifferenceCalculationAndProcessing}
|
|
|
|
+ )
|
|
|
|
+ </foreach>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
- <select id="getAchivesIdByName" resultType="String">
|
|
|
|
- select user_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 id="getConsultantIdByName" resultType="String">
|
|
|
|
+ select b.user_id from work_staff_certificate a,work_staff_achives b
|
|
|
|
+ <where>
|
|
|
|
+ a.staff_id in
|
|
|
|
+ (select id from work_staff_achives b where b.name=#{name})
|
|
|
|
+ and a.staff_id=b.id
|
|
|
|
+ </where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="getProjectReportCountByReportId" resultType="java.lang.Integer">
|
|
<select id="getProjectReportCountByReportId" resultType="java.lang.Integer">
|