| | |
| | | where batt_index = #{item.battIndex} and mon_num = #{item.monNum} |
| | | </foreach> |
| | | </update> |
| | | <update id="updateBatchInRsAlarm"> |
| | | <foreach collection="list" item="item" separator=";"> |
| | | update db_ckpwrdev_data_rt.tb_ckpowerdev_batt_rtdata_set |
| | | <set> |
| | | <if test="item.monRestCapFake !=null"> |
| | | mon_restcap_fake = #{item.monRestCapFake}, |
| | | </if> |
| | | <if test="item.monRestCapSt !=null"> |
| | | mon_restcap_st = #{item.monRestCapSt}, |
| | | </if> |
| | | <if test="item.testMonVolFake !=null"> |
| | | test_mon_vol_fake = #{item.testMonVolFake}, |
| | | </if> |
| | | <if test="item.testMonVolSt !=null"> |
| | | test_mon_vol_st = #{item.testMonVolSt}, |
| | | </if> |
| | | <if test="item.testMonTmpFake !=null"> |
| | | test_mon_tmp_fake = #{item.testMonTmpFake}, |
| | | </if> |
| | | <if test="item.testMonTmpSt !=null"> |
| | | test_mon_tmp_st = #{item.testMonTmpSt}, |
| | | </if> |
| | | </set> |
| | | where batt_index = 0 and mon_num = #{item.monNum} |
| | | </foreach> |
| | | </update> |
| | | </mapper> |