Commit 82fa727ef9fe2a2f50095a6b9f16b70ecf3e2511

Authored by jesse.wang
1 parent e0b5c08dbf

孤独症诊断初筛套餐内容2

Showing 3 changed files with 8 additions and 1 deletions

platform-biz-service/src/main/resources/mainOrm/master/BabyAutismDiagnosisMapper.xml View file @ 82fa727
... ... @@ -249,6 +249,7 @@
249 249 and rehabilitation_advice_res = #{diagnosis.rehabilitationAdviceRes}
250 250 </if>
251 251 </where>
  252 + GROUP BY baby_id
252 253 limit #{pageable.offset}, #{pageable.limit}
253 254 </select>
254 255  
... ... @@ -393,6 +394,7 @@
393 394 and rehabilitation_advice_res = #{diagnosis.rehabilitationAdviceRes}
394 395 </if>
395 396 </where>
  397 + GROUP BY baby_id
396 398 </select>
397 399 <select id="queryListByBabyId" resultMap="BabyAutismDiagnosisMap">
398 400 select
... ... @@ -407,6 +409,7 @@
407 409 <where>
408 410 and baby_id = #{id}
409 411 </where>
  412 +
410 413 </select>
411 414  
412 415 <!--新增所有列-->
platform-biz-service/src/main/resources/mainOrm/master/BabyAutismDoubleSievingDao.xml View file @ 82fa727
... ... @@ -208,7 +208,8 @@
208 208 and rescreen_results = #{doubleSieving.rescreenResults}
209 209 </if>
210 210 </where>
211   - limit #{pageable.offset}, #{pageable.pageSize}
  211 + GROUP BY baby_id
  212 + limit #{pageable.offset}, #{pageable.limit}
212 213 </select>
213 214  
214 215 <!--统计总行数-->
... ... @@ -358,6 +359,7 @@
358 359 and rescreen_results = #{doubleSieving.rescreenResults}
359 360 </if>
360 361 </where>
  362 + GROUP BY baby_id
361 363 </select>
362 364  
363 365 <!--新增所有列-->
platform-biz-service/src/main/resources/mainOrm/master/BabyAutismPrimaryScreeningMapper.xml View file @ 82fa727
... ... @@ -172,6 +172,7 @@
172 172 and preliminary_screening_results = #{babyAutismPrimaryScreening.global}
173 173 </if>
174 174 </where>
  175 + GROUP BY baby_id
175 176 limit #{pageable.offset}, #{pageable.limit}
176 177 </select>
177 178  
... ... @@ -271,6 +272,7 @@
271 272 and preliminary_screening_results = #{babyAutismPrimaryScreening.global}
272 273 </if>
273 274 </where>
  275 + GROUP BY baby_id
274 276 </select>
275 277  
276 278 <!--新增所有列-->