소스 검색

市场导入

guomengjiao 1 주 전
부모
커밋
9306c1e888
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      modules/report/src/main/resources/mappings/modules/report/ResearchReportDao.xml

+ 2 - 2
modules/report/src/main/resources/mappings/modules/report/ResearchReportDao.xml

@@ -295,14 +295,14 @@
 	<update id="updateMarketScale">
 		UPDATE research_report
 		SET market_scale = #{researchReport.marketScale}
-		WHERE report_code = #{researchReport.reportCode}
+		WHERE status = '0' and report_code = #{researchReport.reportCode}
 		  AND report_region = #{researchReport.reportRegion}
 	</update>
 
 	<update id="updateMarketDriven">
 		UPDATE research_report
 		SET market_driven = #{researchReport.marketDriven}
-		WHERE report_code = #{researchReport.reportCode}
+		WHERE status = '0' and report_code = #{researchReport.reportCode}
 		  AND report_region = #{researchReport.reportRegion}
 	</update>
 </mapper>