Commit eb2367f9 by 王力

Merge branch 'dev_bussiness_layer0726' into 'develop'

修改

See merge request !284
2 parents 50f0d228 24c7182a
package com.dituhui.pea.order.dao;
import com.dituhui.pea.order.entity.OrderInfo;
import com.dituhui.pea.order.entity.OrgGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.time.LocalDate;
import java.util.List;
@Mapper
......@@ -17,7 +19,7 @@ public interface OrgGroupMPDao extends BaseMapper<OrgGroup> {
@Select("select * from org_group where group_id = #{groupId}")
List<OrgGroup> selectByGroupId(String groupId);
@Select("select * from org_group where group_id in " +
@Select("<script> select * from org_group where group_id in " +
"<foreach item='groupId' index='index' collection='groupIds' open='(' separator=',' close=')'>#{groupId}</foreach></script>")
List<OrgGroup> selectByGroupIds(@Param("groupIds") List<String> groupIds);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!