Commit 7e9cc035fcf82694d7244812775fb1c82526b263
1 parent
6cfd292a8d
Exists in
master
and in
4 other branches
查询报错
Showing 2 changed files with 2 additions and 91 deletions
platform-biz-service/src/main/java/com/lyms/platform/permission/dao/master/BabyAutismPrimaryScreeningMapper.java
View file @
7e9cc03
platform-biz-service/src/main/resources/mainOrm/master/BabyAutismPrimaryScreeningMapper.xml
View file @
7e9cc03
... | ... | @@ -246,96 +246,7 @@ |
246 | 246 | id, created, modified, yn, operater_id, hospital_id, baby_id, baby_build_date, baby_name, baby_sex, baby_m_name, baby_f_name, baby_m_phone, baby_f_phone, baby_m_cert_no, baby_f_cert_no, pid, check_month_age, check_month_id, birth, check_time, next_check_time, check_doctor, doctor_sign, patient_sign, guidance_opinions, handle_opinions, warning_signs, language_social, preliminary_screening_results |
247 | 247 | from baby_autism_primary_screening |
248 | 248 | <where> |
249 | - <if test="id != null and id != ''"> | |
250 | - and id = #{id} | |
251 | - </if> | |
252 | - <if test="created != null and created != ''"> | |
253 | - and created = #{created} | |
254 | - </if> | |
255 | - <if test="modified != null and modified != ''"> | |
256 | - and modified = #{modified} | |
257 | - </if> | |
258 | - <if test="yn != null"> | |
259 | - and yn = #{yn} | |
260 | - </if> | |
261 | - <if test="operaterId != null and operaterId != ''"> | |
262 | - and operater_id = #{operaterId} | |
263 | - </if> | |
264 | - <if test="hospitalId != null and hospitalId != ''"> | |
265 | - and hospital_id = #{hospitalId} | |
266 | - </if> | |
267 | - <if test="babyId != null and babyId != ''"> | |
268 | - and baby_id = #{babyId} | |
269 | - </if> | |
270 | - <if test="babyBuildDate != null and babyBuildDate != ''"> | |
271 | - and baby_build_date = #{babyBuildDate} | |
272 | - </if> | |
273 | - <if test="babyName != null and babyName != ''"> | |
274 | - and baby_name = #{babyName} | |
275 | - </if> | |
276 | - <if test="babySex != null"> | |
277 | - and baby_sex = #{babySex} | |
278 | - </if> | |
279 | - <if test="babyMName != null and babyMName != ''"> | |
280 | - and baby_m_name = #{babyMName} | |
281 | - </if> | |
282 | - <if test="babyFName != null and babyFName != ''"> | |
283 | - and baby_f_name = #{babyFName} | |
284 | - </if> | |
285 | - <if test="babyMPhone != null and babyMPhone != ''"> | |
286 | - and baby_m_phone = #{babyMPhone} | |
287 | - </if> | |
288 | - <if test="babyFPhone != null and babyFPhone != ''"> | |
289 | - and baby_f_phone = #{babyFPhone} | |
290 | - </if> | |
291 | - <if test="babyMCertNo != null and babyMCertNo != ''"> | |
292 | - and baby_m_cert_no = #{babyMCertNo} | |
293 | - </if> | |
294 | - <if test="babyFCertNo != null and babyFCertNo != ''"> | |
295 | - and baby_f_cert_no = #{babyFCertNo} | |
296 | - </if> | |
297 | - <if test="pid != null and pid != ''"> | |
298 | - and pid = #{pid} | |
299 | - </if> | |
300 | - <if test="checkMonthAge != null and checkMonthAge != ''"> | |
301 | - and check_month_age = #{checkMonthAge} | |
302 | - </if> | |
303 | - <if test="checkMonthId != null and checkMonthId != ''"> | |
304 | - and check_month_id = #{checkMonthId} | |
305 | - </if> | |
306 | - <if test="birth != null and birth != ''"> | |
307 | - and birth = #{birth} | |
308 | - </if> | |
309 | - <if test="checkTime != null and checkTime != ''"> | |
310 | - and check_time = #{checkTime} | |
311 | - </if> | |
312 | - <if test="nextCheckTime != null and nextCheckTime != ''"> | |
313 | - and next_check_time = #{nextCheckTime} | |
314 | - </if> | |
315 | - <if test="checkDoctor != null and checkDoctor != ''"> | |
316 | - and check_doctor = #{checkDoctor} | |
317 | - </if> | |
318 | - <if test="doctorSign != null and doctorSign != ''"> | |
319 | - and doctor_sign = #{doctorSign} | |
320 | - </if> | |
321 | - <if test="patientSign != null and patientSign != ''"> | |
322 | - and patient_sign = #{patientSign} | |
323 | - </if> | |
324 | - <if test="guidanceOpinions != null and guidanceOpinions != ''"> | |
325 | - and guidance_opinions = #{guidanceOpinions} | |
326 | - </if> | |
327 | - <if test="handleOpinions != null and handleOpinions != ''"> | |
328 | - and handle_opinions = #{handleOpinions} | |
329 | - </if> | |
330 | - <if test="warningSigns != null and warningSigns != ''"> | |
331 | - and warning_signs = #{warningSigns} | |
332 | - </if> | |
333 | - <if test="languageSocial != null and languageSocial != ''"> | |
334 | - and language_social = #{languageSocial} | |
335 | - </if> | |
336 | - <if test="preliminaryScreeningResults != null and preliminaryScreeningResults != ''"> | |
337 | - and preliminary_screening_results = #{preliminaryScreeningResults} | |
338 | - </if> | |
249 | + and baby_id = #{id} | |
339 | 250 | </where> |
340 | 251 | order by check_time |
341 | 252 | </select> |