Selaa lähdekoodia

Merge branch 'dev' of http://101.36.160.140:21044/depot-qinghai/depot-business-qinghai into dev

ZeroLiYi 1 vuosi sitten
vanhempi
commit
d73626a508

+ 2 - 3
src/main/java/com/chinaitop/depot/rp/mapper/BusinessRpBiweeklyReportGrainStockMapper.xml

@@ -265,7 +265,7 @@
265 265
 	crk_qh.data_crkyw_ckcmz_default m2
266 266
 	INNER JOIN crk_qh.data_crkyw_ckrmdj_default m3 ON m3.bizno = m2.bizno
267 267
 	INNER JOIN crk_qh.data_crkyw_tzdxx_default m4 on m3.tzdbh = m4.tzdbh
268
-	where m4.jhdID = #{rpReportId} and m4.lspz = #{grainVarietyid} and m2.jmsj BETWEEN #{startDate} and #{endDate}   -- 计划id+粮食品种+ 指定时间
268
+	where m4.jhdID = #{rpReportId} and m4.lspz = #{grainVarietyId} and m2.jmsj BETWEEN #{startDate} and #{endDate}   -- 计划id+粮食品种+ 指定时间
269 269
   </insert>
270 270
     <insert id="insertRk"  >
271 271
      INSERT INTO depot_qh.business_rp_biweekly_report_grain_stock (
@@ -280,12 +280,11 @@
280 280
 	NOW(),
281 281
 	2,
282 282
 	#{rpBiweeklyReportGrainId},
283
-m2.cpzsj,
284 283
 	m3.DataID
285 284
         FROM
286 285
         crk_qh.data_crkyw_cpz_default m2
287 286
         INNER JOIN crk_qh.data_crkyw_rmdj_default m3 ON m3.bizno = m2.bizno
288 287
         INNER JOIN crk_qh.data_crkyw_tzdxx_default m4 on m3.tzdbh = m4.tzdbh
289
-             where m4.jhdID = #{rpReportId} and m4.lspz = #{grainVarietyid} and m2.cpzsj BETWEEN #{startDate} and #{endDate}   -- 计划id+粮食品种+ 指定时间
288
+             where m4.jhdID = #{rpReportId} and m4.lspz = #{grainVarietyId} and m2.cpzsj BETWEEN #{startDate} and #{endDate}   -- 计划id+粮食品种+ 指定时间
290 289
   </insert>
291 290
 </mapper>