|
@@ -64,12 +64,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectYljg" parameterType="String" resultType="java.util.Map">
|
|
<select id="selectYljg" parameterType="String" resultType="java.util.Map">
|
|
-- 养老机构单查
|
|
-- 养老机构单查
|
|
- select * from yljg_jcxx where id = #{id}
|
|
|
|
|
|
+ select *, (select jgjs from yljg_jgjs where jg_id = #{id} limit 1) as jgjs from yljg_jcxx where id = #{id}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectYljgsq" parameterType="String" resultType="java.util.Map">
|
|
<select id="selectYljgsq" parameterType="String" resultType="java.util.Map">
|
|
-- 社区养老机构单查
|
|
-- 社区养老机构单查
|
|
- select * from yljgsq_jcxx where id = #{id}
|
|
|
|
|
|
+ select *, (select jgjs from yljg_jgjs where jg_id = #{id} limit 1) as jgjs from yljgsq_jcxx where id = #{id}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectLr" parameterType="WlfwXzqh" resultType="java.util.Map">
|
|
<select id="selectLr" parameterType="WlfwXzqh" resultType="java.util.Map">
|