|
@@ -163,6 +163,11 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getExpertNameList" resultType="java.util.Map" parameterType="java.util.List">
|
|
|
- select GROUP_CONCAT(variety_purchase) varietyPurchase, GROUP_CONCAT(expert_name) expertName from base_expert where id in #{expertList}
|
|
|
+ select GROUP_CONCAT(variety_purchase) varietyPurchase, GROUP_CONCAT(expert_name) expertName from base_expert
|
|
|
+ where id in
|
|
|
+ <foreach collection="expertList" item="id" open="(" separator="," close=")">
|
|
|
+ #{id}
|
|
|
+ </foreach>
|
|
|
+
|
|
|
</select>
|
|
|
</mapper>
|