2021
10-20
10-20
mybatis insert foreach循环插入方式
mybatisinsertforeach循环插入@Insert("<script>"+"insertintodriver_account_appeal_photo(appeal_id,appeal_photo_path)values\n"+"<foreachcollection=\"photoList\"item=\"item\"index=\"index\"separator=\",\">\n"+"\t(#{appealId},#{item})\n"+"</foreach>"+"</script>")//@Insert("insertintodriver_account_appeal_photo(appeal_id,appea...
继续阅读 >