zjh
2023-12-29 beca2c01d4f104ef145bbee9fa91aac2957ef360
ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjAskHistorysMapper.java
@@ -4,6 +4,10 @@
import com.ltkj.hosp.domain.TjAdvice;
import com.ltkj.hosp.domain.TjAskHistorys;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
 * @Company: 西安路泰科技有限公司
@@ -12,4 +16,12 @@
 */
@Mapper
public interface TjAskHistorysMapper extends BaseMapper<TjAskHistorys> {
    @Select({"<script>", "select", "GROUP_CONCAT(pro_name ORDER BY pro_name) AS names", "from dict_zhengzhuang", "where id in",
            "<foreach collection='ids' item='id' open='(' separator=',' close=')'>",
            "#{id}",
            "</foreach>",
            "</script>" })
    String getZhengZhuangStr(@Param("ids")List<String> ids);
}