wang7241 edited a comment on issue #7489:
URL: https://github.com/apache/shardingsphere/issues/7489#issuecomment-693493773


   > 
   > 
   > > what's your original sql?
   > 
   > sorry i forget my mapper.xml as follow :
   > 
   > 
   > UPDATE oral_cw_classwork_stu SET no_assess_count = 
if(ISNULL(no_assess_count),0,no_assess_count) + 1,update_time = 
#{item.updateTime}
   > 
   > AND tea_cw_id = #{item.teaCwId}
   > AND school_id = #{item.schoolId}
   > AND class_id = #{item.classId}
   > AND stu_cw_id = #{item.stuCwId}
   > AND cw_show_status = #{item.cwShowStatus}
   > 
   > there is also a foreach tag in the uppermost layer of the SQL above,but it 
no appear when i copy to github
   > 
   > my mapper as follow:
   > void updateBatchNoAssessCountByStuCwId(@param("list") List classworkStus);
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to