Commit fbfd270df7811e4456f553d6295ffc09c94b34dd

Authored by jesse.wang
1 parent 56f98d33fc

孤独症初筛名字

Showing 1 changed file with 0 additions and 584 deletions

platform-biz-service/src/main/resources/mapper/BabyAutismDoubleSievingDao.xml View file @ fbfd270
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3   -<mapper namespace="com.lymsh.mommybaby.earlydata.dao.BabyAutismDoubleSievingMapper">
4   -
5   - <resultMap type="com.lymsh.mommybaby.earlydata.entity.BabyAutismDoubleSieving" id="BabyAutismDoubleSievingMap">
6   - <result property="id" column="id" jdbcType="VARCHAR"/>
7   - <result property="created" column="created" jdbcType="VARCHAR"/>
8   - <result property="modified" column="modified" jdbcType="VARCHAR"/>
9   - <result property="yn" column="yn" jdbcType="INTEGER"/>
10   - <result property="operaterId" column="operater_id" jdbcType="VARCHAR"/>
11   - <result property="hospitalId" column="hospital_id" jdbcType="VARCHAR"/>
12   - <result property="babyId" column="baby_id" jdbcType="VARCHAR"/>
13   - <result property="babyBuildDate" column="baby_build_date" jdbcType="VARCHAR"/>
14   - <result property="babyName" column="baby_name" jdbcType="VARCHAR"/>
15   - <result property="babySex" column="baby_sex" jdbcType="INTEGER"/>
16   - <result property="babyMName" column="baby_m_name" jdbcType="VARCHAR"/>
17   - <result property="babyFName" column="baby_f_name" jdbcType="VARCHAR"/>
18   - <result property="babyMPhone" column="baby_m_phone" jdbcType="VARCHAR"/>
19   - <result property="babyFPhone" column="baby_f_phone" jdbcType="VARCHAR"/>
20   - <result property="babyMCertNo" column="baby_m_cert_no" jdbcType="VARCHAR"/>
21   - <result property="babyFCertNo" column="baby_f_cert_no" jdbcType="VARCHAR"/>
22   - <result property="pid" column="pid" jdbcType="VARCHAR"/>
23   - <result property="checkMonthAge" column="check_month_age" jdbcType="VARCHAR"/>
24   - <result property="checkMonthId" column="check_month_id" jdbcType="VARCHAR"/>
25   - <result property="birth" column="birth" jdbcType="VARCHAR"/>
26   - <result property="checkTime" column="check_time" jdbcType="VARCHAR"/>
27   - <result property="nextCheckTime" column="next_check_time" jdbcType="VARCHAR"/>
28   - <result property="checkDoctor" column="check_doctor" jdbcType="VARCHAR"/>
29   - <result property="doctorSign" column="doctor_sign" jdbcType="VARCHAR"/>
30   - <result property="patientSign" column="patient_sign" jdbcType="VARCHAR"/>
31   - <result property="preliminaryScreeningResults" column="preliminary_screening_results" jdbcType="VARCHAR"/>
32   - <result property="preliminaryScreeningResultsFailedProject" column="preliminary_screening_results_failed_project" jdbcType="VARCHAR"/>
33   - <result property="medicalHistory" column="medical_history" jdbcType="VARCHAR"/>
34   - <result property="medicalHistoryRemark" column="medical_history_remark" jdbcType="VARCHAR"/>
35   - <result property="developerQuotient" column="developer_quotient" jdbcType="VARCHAR"/>
36   - <result property="bigMovement" column="big_movement" jdbcType="VARCHAR"/>
37   - <result property="fineMotion" column="fine_motion" jdbcType="VARCHAR"/>
38   - <result property="adaptability" column="adaptability" jdbcType="VARCHAR"/>
39   - <result property="languageNum" column="language_num" jdbcType="VARCHAR"/>
40   - <result property="socialBehavior" column="social_behavior" jdbcType="VARCHAR"/>
41   - <result property="pediatricHeartScaleAssessMentresults" column="pediatric_heart_scale_assess_mentresults" jdbcType="VARCHAR"/>
42   - <result property="coreProjectNum" column="core_project_num" jdbcType="VARCHAR"/>
43   - <result property="positivetNum" column="positivet_num" jdbcType="VARCHAR"/>
44   - <result property="screeningScaleMentresults" column="screening_scale_mentresults" jdbcType="VARCHAR"/>
45   - <result property="behaviorRatingScaleTotal" column="behavior_rating_scale_total" jdbcType="VARCHAR"/>
46   - <result property="feelNum" column="feel_num" jdbcType="VARCHAR"/>
47   - <result property="socialInteractionNum" column="social_interaction_num" jdbcType="VARCHAR"/>
48   - <result property="bodyMovementNum" column="body_movement_num" jdbcType="VARCHAR"/>
49   - <result property="behaviorRatingLanguageNum" column="behavior_rating_language_num" jdbcType="VARCHAR"/>
50   - <result property="selfCareInDailyLifeNum" column="self_care_in_daily_life_num" jdbcType="VARCHAR"/>
51   - <result property="behaviorRatingScaleAssessMentresults" column="behavior_rating_scale_assess_mentresults" jdbcType="VARCHAR"/>
52   - <result property="rescreenResults" column="rescreen_results" jdbcType="VARCHAR"/>
53   - </resultMap>
54   -
55   - <!--查询单个-->
56   - <select id="queryById" resultMap="BabyAutismDoubleSievingMap">
57   - select
58   - 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, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results
59   - from baby_autism_double_sieving
60   - where id = #{id}
61   - </select>
62   -
63   - <!--查询指定行数据-->
64   - <select id="queryAllByLimit" resultMap="BabyAutismDoubleSievingMap">
65   - select
66   - 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, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results
67   - from baby_autism_double_sieving
68   - <where>
69   - <if test="id != null and id != ''">
70   - and id = #{id}
71   - </if>
72   - <if test="created != null and created != ''">
73   - and created = #{created}
74   - </if>
75   - <if test="modified != null and modified != ''">
76   - and modified = #{modified}
77   - </if>
78   - <if test="yn != null">
79   - and yn = #{yn}
80   - </if>
81   - <if test="operaterId != null and operaterId != ''">
82   - and operater_id = #{operaterId}
83   - </if>
84   - <if test="hospitalId != null and hospitalId != ''">
85   - and hospital_id = #{hospitalId}
86   - </if>
87   - <if test="babyId != null and babyId != ''">
88   - and baby_id = #{babyId}
89   - </if>
90   - <if test="babyBuildDate != null and babyBuildDate != ''">
91   - and baby_build_date = #{babyBuildDate}
92   - </if>
93   - <if test="babyName != null and babyName != ''">
94   - and baby_name = #{babyName}
95   - </if>
96   - <if test="babySex != null">
97   - and baby_sex = #{babySex}
98   - </if>
99   - <if test="babyMName != null and babyMName != ''">
100   - and baby_m_name = #{babyMName}
101   - </if>
102   - <if test="babyFName != null and babyFName != ''">
103   - and baby_f_name = #{babyFName}
104   - </if>
105   - <if test="babyMPhone != null and babyMPhone != ''">
106   - and baby_m_phone = #{babyMPhone}
107   - </if>
108   - <if test="babyFPhone != null and babyFPhone != ''">
109   - and baby_f_phone = #{babyFPhone}
110   - </if>
111   - <if test="babyMCertNo != null and babyMCertNo != ''">
112   - and baby_m_cert_no = #{babyMCertNo}
113   - </if>
114   - <if test="babyFCertNo != null and babyFCertNo != ''">
115   - and baby_f_cert_no = #{babyFCertNo}
116   - </if>
117   - <if test="pid != null and pid != ''">
118   - and pid = #{pid}
119   - </if>
120   - <if test="checkMonthAge != null and checkMonthAge != ''">
121   - and check_month_age = #{checkMonthAge}
122   - </if>
123   - <if test="checkMonthId != null and checkMonthId != ''">
124   - and check_month_id = #{checkMonthId}
125   - </if>
126   - <if test="birth != null and birth != ''">
127   - and birth = #{birth}
128   - </if>
129   - <if test="checkTime != null and checkTime != ''">
130   - and check_time = #{checkTime}
131   - </if>
132   - <if test="nextCheckTime != null and nextCheckTime != ''">
133   - and next_check_time = #{nextCheckTime}
134   - </if>
135   - <if test="checkDoctor != null and checkDoctor != ''">
136   - and check_doctor = #{checkDoctor}
137   - </if>
138   - <if test="doctorSign != null and doctorSign != ''">
139   - and doctor_sign = #{doctorSign}
140   - </if>
141   - <if test="patientSign != null and patientSign != ''">
142   - and patient_sign = #{patientSign}
143   - </if>
144   - <if test="preliminaryScreeningResults != null and preliminaryScreeningResults != ''">
145   - and preliminary_screening_results = #{preliminaryScreeningResults}
146   - </if>
147   - <if test="preliminaryScreeningResultsFailedProject != null and preliminaryScreeningResultsFailedProject != ''">
148   - and preliminary_screening_results_failed_project = #{preliminaryScreeningResultsFailedProject}
149   - </if>
150   - <if test="medicalHistory != null and medicalHistory != ''">
151   - and medical_history = #{medicalHistory}
152   - </if>
153   - <if test="medicalHistoryRemark != null and medicalHistoryRemark != ''">
154   - and medical_history_remark = #{medicalHistoryRemark}
155   - </if>
156   - <if test="developerQuotient != null and developerQuotient != ''">
157   - and developer_quotient = #{developerQuotient}
158   - </if>
159   - <if test="bigMovement != null and bigMovement != ''">
160   - and big_movement = #{bigMovement}
161   - </if>
162   - <if test="fineMotion != null and fineMotion != ''">
163   - and fine_motion = #{fineMotion}
164   - </if>
165   - <if test="adaptability != null and adaptability != ''">
166   - and adaptability = #{adaptability}
167   - </if>
168   - <if test="languageNum != null and languageNum != ''">
169   - and language_num = #{languageNum}
170   - </if>
171   - <if test="socialBehavior != null and socialBehavior != ''">
172   - and social_behavior = #{socialBehavior}
173   - </if>
174   - <if test="pediatricHeartScaleAssessMentresults != null and pediatricHeartScaleAssessMentresults != ''">
175   - and pediatric_heart_scale_assess_mentresults = #{pediatricHeartScaleAssessMentresults}
176   - </if>
177   - <if test="coreProjectNum != null and coreProjectNum != ''">
178   - and core_project_num = #{coreProjectNum}
179   - </if>
180   - <if test="positivetNum != null and positivetNum != ''">
181   - and positivet_num = #{positivetNum}
182   - </if>
183   - <if test="screeningScaleMentresults != null and screeningScaleMentresults != ''">
184   - and screening_scale_mentresults = #{screeningScaleMentresults}
185   - </if>
186   - <if test="behaviorRatingScaleTotal != null and behaviorRatingScaleTotal != ''">
187   - and behavior_rating_scale_total = #{behaviorRatingScaleTotal}
188   - </if>
189   - <if test="feelNum != null and feelNum != ''">
190   - and feel_num = #{feelNum}
191   - </if>
192   - <if test="socialInteractionNum != null and socialInteractionNum != ''">
193   - and social_interaction_num = #{socialInteractionNum}
194   - </if>
195   - <if test="bodyMovementNum != null and bodyMovementNum != ''">
196   - and body_movement_num = #{bodyMovementNum}
197   - </if>
198   - <if test="behaviorRatingLanguageNum != null and behaviorRatingLanguageNum != ''">
199   - and behavior_rating_language_num = #{behaviorRatingLanguageNum}
200   - </if>
201   - <if test="selfCareInDailyLifeNum != null and selfCareInDailyLifeNum != ''">
202   - and self_care_in_daily_life_num = #{selfCareInDailyLifeNum}
203   - </if>
204   - <if test="behaviorRatingScaleAssessMentresults != null and behaviorRatingScaleAssessMentresults != ''">
205   - and behavior_rating_scale_assess_mentresults = #{behaviorRatingScaleAssessMentresults}
206   - </if>
207   - <if test="rescreenResults != null and rescreenResults != ''">
208   - and rescreen_results = #{rescreenResults}
209   - </if>
210   - </where>
211   - limit #{pageable.offset}, #{pageable.pageSize}
212   - </select>
213   -
214   - <!--统计总行数-->
215   - <select id="count" resultType="java.lang.Long">
216   - select count(1)
217   - from baby_autism_double_sieving
218   - <where>
219   - <if test="id != null and id != ''">
220   - and id = #{id}
221   - </if>
222   - <if test="created != null and created != ''">
223   - and created = #{created}
224   - </if>
225   - <if test="modified != null and modified != ''">
226   - and modified = #{modified}
227   - </if>
228   - <if test="yn != null">
229   - and yn = #{yn}
230   - </if>
231   - <if test="operaterId != null and operaterId != ''">
232   - and operater_id = #{operaterId}
233   - </if>
234   - <if test="hospitalId != null and hospitalId != ''">
235   - and hospital_id = #{hospitalId}
236   - </if>
237   - <if test="babyId != null and babyId != ''">
238   - and baby_id = #{babyId}
239   - </if>
240   - <if test="babyBuildDate != null and babyBuildDate != ''">
241   - and baby_build_date = #{babyBuildDate}
242   - </if>
243   - <if test="babyName != null and babyName != ''">
244   - and baby_name = #{babyName}
245   - </if>
246   - <if test="babySex != null">
247   - and baby_sex = #{babySex}
248   - </if>
249   - <if test="babyMName != null and babyMName != ''">
250   - and baby_m_name = #{babyMName}
251   - </if>
252   - <if test="babyFName != null and babyFName != ''">
253   - and baby_f_name = #{babyFName}
254   - </if>
255   - <if test="babyMPhone != null and babyMPhone != ''">
256   - and baby_m_phone = #{babyMPhone}
257   - </if>
258   - <if test="babyFPhone != null and babyFPhone != ''">
259   - and baby_f_phone = #{babyFPhone}
260   - </if>
261   - <if test="babyMCertNo != null and babyMCertNo != ''">
262   - and baby_m_cert_no = #{babyMCertNo}
263   - </if>
264   - <if test="babyFCertNo != null and babyFCertNo != ''">
265   - and baby_f_cert_no = #{babyFCertNo}
266   - </if>
267   - <if test="pid != null and pid != ''">
268   - and pid = #{pid}
269   - </if>
270   - <if test="checkMonthAge != null and checkMonthAge != ''">
271   - and check_month_age = #{checkMonthAge}
272   - </if>
273   - <if test="checkMonthId != null and checkMonthId != ''">
274   - and check_month_id = #{checkMonthId}
275   - </if>
276   - <if test="birth != null and birth != ''">
277   - and birth = #{birth}
278   - </if>
279   - <if test="checkTime != null and checkTime != ''">
280   - and check_time = #{checkTime}
281   - </if>
282   - <if test="nextCheckTime != null and nextCheckTime != ''">
283   - and next_check_time = #{nextCheckTime}
284   - </if>
285   - <if test="checkDoctor != null and checkDoctor != ''">
286   - and check_doctor = #{checkDoctor}
287   - </if>
288   - <if test="doctorSign != null and doctorSign != ''">
289   - and doctor_sign = #{doctorSign}
290   - </if>
291   - <if test="patientSign != null and patientSign != ''">
292   - and patient_sign = #{patientSign}
293   - </if>
294   - <if test="preliminaryScreeningResults != null and preliminaryScreeningResults != ''">
295   - and preliminary_screening_results = #{preliminaryScreeningResults}
296   - </if>
297   - <if test="preliminaryScreeningResultsFailedProject != null and preliminaryScreeningResultsFailedProject != ''">
298   - and preliminary_screening_results_failed_project = #{preliminaryScreeningResultsFailedProject}
299   - </if>
300   - <if test="medicalHistory != null and medicalHistory != ''">
301   - and medical_history = #{medicalHistory}
302   - </if>
303   - <if test="medicalHistoryRemark != null and medicalHistoryRemark != ''">
304   - and medical_history_remark = #{medicalHistoryRemark}
305   - </if>
306   - <if test="developerQuotient != null and developerQuotient != ''">
307   - and developer_quotient = #{developerQuotient}
308   - </if>
309   - <if test="bigMovement != null and bigMovement != ''">
310   - and big_movement = #{bigMovement}
311   - </if>
312   - <if test="fineMotion != null and fineMotion != ''">
313   - and fine_motion = #{fineMotion}
314   - </if>
315   - <if test="adaptability != null and adaptability != ''">
316   - and adaptability = #{adaptability}
317   - </if>
318   - <if test="languageNum != null and languageNum != ''">
319   - and language_num = #{languageNum}
320   - </if>
321   - <if test="socialBehavior != null and socialBehavior != ''">
322   - and social_behavior = #{socialBehavior}
323   - </if>
324   - <if test="pediatricHeartScaleAssessMentresults != null and pediatricHeartScaleAssessMentresults != ''">
325   - and pediatric_heart_scale_assess_mentresults = #{pediatricHeartScaleAssessMentresults}
326   - </if>
327   - <if test="coreProjectNum != null and coreProjectNum != ''">
328   - and core_project_num = #{coreProjectNum}
329   - </if>
330   - <if test="positivetNum != null and positivetNum != ''">
331   - and positivet_num = #{positivetNum}
332   - </if>
333   - <if test="screeningScaleMentresults != null and screeningScaleMentresults != ''">
334   - and screening_scale_mentresults = #{screeningScaleMentresults}
335   - </if>
336   - <if test="behaviorRatingScaleTotal != null and behaviorRatingScaleTotal != ''">
337   - and behavior_rating_scale_total = #{behaviorRatingScaleTotal}
338   - </if>
339   - <if test="feelNum != null and feelNum != ''">
340   - and feel_num = #{feelNum}
341   - </if>
342   - <if test="socialInteractionNum != null and socialInteractionNum != ''">
343   - and social_interaction_num = #{socialInteractionNum}
344   - </if>
345   - <if test="bodyMovementNum != null and bodyMovementNum != ''">
346   - and body_movement_num = #{bodyMovementNum}
347   - </if>
348   - <if test="behaviorRatingLanguageNum != null and behaviorRatingLanguageNum != ''">
349   - and behavior_rating_language_num = #{behaviorRatingLanguageNum}
350   - </if>
351   - <if test="selfCareInDailyLifeNum != null and selfCareInDailyLifeNum != ''">
352   - and self_care_in_daily_life_num = #{selfCareInDailyLifeNum}
353   - </if>
354   - <if test="behaviorRatingScaleAssessMentresults != null and behaviorRatingScaleAssessMentresults != ''">
355   - and behavior_rating_scale_assess_mentresults = #{behaviorRatingScaleAssessMentresults}
356   - </if>
357   - <if test="rescreenResults != null and rescreenResults != ''">
358   - and rescreen_results = #{rescreenResults}
359   - </if>
360   - </where>
361   - </select>
362   -
363   - <!--新增所有列-->
364   - <insert id="insert" keyProperty="id" useGeneratedKeys="true">
365   - insert into baby_autism_double_sieving(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, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results)
366   - values (#{created}, #{modified}, #{yn}, #{operaterId}, #{hospitalId}, #{babyId}, #{babyBuildDate}, #{babyName}, #{babySex}, #{babyMName}, #{babyFName}, #{babyMPhone}, #{babyFPhone}, #{babyMCertNo}, #{babyFCertNo}, #{pid}, #{checkMonthAge}, #{checkMonthId}, #{birth}, #{checkTime}, #{nextCheckTime}, #{checkDoctor}, #{doctorSign}, #{patientSign}, #{preliminaryScreeningResults}, #{preliminaryScreeningResultsFailedProject}, #{medicalHistory}, #{medicalHistoryRemark}, #{developerQuotient}, #{bigMovement}, #{fineMotion}, #{adaptability}, #{languageNum}, #{socialBehavior}, #{pediatricHeartScaleAssessMentresults}, #{coreProjectNum}, #{positivetNum}, #{screeningScaleMentresults}, #{behaviorRatingScaleTotal}, #{feelNum}, #{socialInteractionNum}, #{bodyMovementNum}, #{behaviorRatingLanguageNum}, #{selfCareInDailyLifeNum}, #{behaviorRatingScaleAssessMentresults}, #{rescreenResults})
367   - </insert>
368   -
369   - <insert id="insertBatch" keyProperty="id" useGeneratedKeys="true">
370   - insert into baby_autism_double_sieving(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, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results)
371   - values
372   - <foreach collection="entities" item="entity" separator=",">
373   - (#{entity.created}, #{entity.modified}, #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, #{entity.babyName}, #{entity.babySex}, #{entity.babyMName}, #{entity.babyFName}, #{entity.babyMPhone}, #{entity.babyFPhone}, #{entity.babyMCertNo}, #{entity.babyFCertNo}, #{entity.pid}, #{entity.checkMonthAge}, #{entity.checkMonthId}, #{entity.birth}, #{entity.checkTime}, #{entity.nextCheckTime}, #{entity.checkDoctor}, #{entity.doctorSign}, #{entity.patientSign}, #{entity.preliminaryScreeningResults}, #{entity.preliminaryScreeningResultsFailedProject}, #{entity.medicalHistory}, #{entity.medicalHistoryRemark}, #{entity.developerQuotient}, #{entity.bigMovement}, #{entity.fineMotion}, #{entity.adaptability}, #{entity.languageNum}, #{entity.socialBehavior}, #{entity.pediatricHeartScaleAssessMentresults}, #{entity.coreProjectNum}, #{entity.positivetNum}, #{entity.screeningScaleMentresults}, #{entity.behaviorRatingScaleTotal}, #{entity.feelNum}, #{entity.socialInteractionNum}, #{entity.bodyMovementNum}, #{entity.behaviorRatingLanguageNum}, #{entity.selfCareInDailyLifeNum}, #{entity.behaviorRatingScaleAssessMentresults}, #{entity.rescreenResults})
374   - </foreach>
375   - </insert>
376   -
377   - <insert id="insertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
378   - insert into baby_autism_double_sieving(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, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results)
379   - values
380   - <foreach collection="entities" item="entity" separator=",">
381   - (#{entity.created}, #{entity.modified}, #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, #{entity.babyName}, #{entity.babySex}, #{entity.babyMName}, #{entity.babyFName}, #{entity.babyMPhone}, #{entity.babyFPhone}, #{entity.babyMCertNo}, #{entity.babyFCertNo}, #{entity.pid}, #{entity.checkMonthAge}, #{entity.checkMonthId}, #{entity.birth}, #{entity.checkTime}, #{entity.nextCheckTime}, #{entity.checkDoctor}, #{entity.doctorSign}, #{entity.patientSign}, #{entity.preliminaryScreeningResults}, #{entity.preliminaryScreeningResultsFailedProject}, #{entity.medicalHistory}, #{entity.medicalHistoryRemark}, #{entity.developerQuotient}, #{entity.bigMovement}, #{entity.fineMotion}, #{entity.adaptability}, #{entity.languageNum}, #{entity.socialBehavior}, #{entity.pediatricHeartScaleAssessMentresults}, #{entity.coreProjectNum}, #{entity.positivetNum}, #{entity.screeningScaleMentresults}, #{entity.behaviorRatingScaleTotal}, #{entity.feelNum}, #{entity.socialInteractionNum}, #{entity.bodyMovementNum}, #{entity.behaviorRatingLanguageNum}, #{entity.selfCareInDailyLifeNum}, #{entity.behaviorRatingScaleAssessMentresults}, #{entity.rescreenResults})
382   - </foreach>
383   - on duplicate key update
384   - created = values(created),
385   - modified = values(modified),
386   - yn = values(yn),
387   - operater_id = values(operater_id),
388   - hospital_id = values(hospital_id),
389   - baby_id = values(baby_id),
390   - baby_build_date = values(baby_build_date),
391   - baby_name = values(baby_name),
392   - baby_sex = values(baby_sex),
393   - baby_m_name = values(baby_m_name),
394   - baby_f_name = values(baby_f_name),
395   - baby_m_phone = values(baby_m_phone),
396   - baby_f_phone = values(baby_f_phone),
397   - baby_m_cert_no = values(baby_m_cert_no),
398   - baby_f_cert_no = values(baby_f_cert_no),
399   - pid = values(pid),
400   - check_month_age = values(check_month_age),
401   - check_month_id = values(check_month_id),
402   - birth = values(birth),
403   - check_time = values(check_time),
404   - next_check_time = values(next_check_time),
405   - check_doctor = values(check_doctor),
406   - doctor_sign = values(doctor_sign),
407   - patient_sign = values(patient_sign),
408   - preliminary_screening_results = values(preliminary_screening_results),
409   - preliminary_screening_results_failed_project = values(preliminary_screening_results_failed_project),
410   - medical_history = values(medical_history),
411   - medical_history_remark = values(medical_history_remark),
412   - developer_quotient = values(developer_quotient),
413   - big_movement = values(big_movement),
414   - fine_motion = values(fine_motion),
415   - adaptability = values(adaptability),
416   - language_num = values(language_num),
417   - social_behavior = values(social_behavior),
418   - pediatric_heart_scale_assess_mentresults = values(pediatric_heart_scale_assess_mentresults),
419   - core_project_num = values(core_project_num),
420   - positivet_num = values(positivet_num),
421   - screening_scale_mentresults = values(screening_scale_mentresults),
422   - behavior_rating_scale_total = values(behavior_rating_scale_total),
423   - feel_num = values(feel_num),
424   - social_interaction_num = values(social_interaction_num),
425   - body_movement_num = values(body_movement_num),
426   - behavior_rating_language_num = values(behavior_rating_language_num),
427   - self_care_in_daily_life_num = values(self_care_in_daily_life_num),
428   - behavior_rating_scale_assess_mentresults = values(behavior_rating_scale_assess_mentresults),
429   - rescreen_results = values(rescreen_results)
430   - </insert>
431   -
432   - <!--通过主键修改数据-->
433   - <update id="update">
434   - update baby_autism_double_sieving
435   - <set>
436   - <if test="created != null and created != ''">
437   - created = #{created},
438   - </if>
439   - <if test="modified != null and modified != ''">
440   - modified = #{modified},
441   - </if>
442   - <if test="yn != null">
443   - yn = #{yn},
444   - </if>
445   - <if test="operaterId != null and operaterId != ''">
446   - operater_id = #{operaterId},
447   - </if>
448   - <if test="hospitalId != null and hospitalId != ''">
449   - hospital_id = #{hospitalId},
450   - </if>
451   - <if test="babyId != null and babyId != ''">
452   - baby_id = #{babyId},
453   - </if>
454   - <if test="babyBuildDate != null and babyBuildDate != ''">
455   - baby_build_date = #{babyBuildDate},
456   - </if>
457   - <if test="babyName != null and babyName != ''">
458   - baby_name = #{babyName},
459   - </if>
460   - <if test="babySex != null">
461   - baby_sex = #{babySex},
462   - </if>
463   - <if test="babyMName != null and babyMName != ''">
464   - baby_m_name = #{babyMName},
465   - </if>
466   - <if test="babyFName != null and babyFName != ''">
467   - baby_f_name = #{babyFName},
468   - </if>
469   - <if test="babyMPhone != null and babyMPhone != ''">
470   - baby_m_phone = #{babyMPhone},
471   - </if>
472   - <if test="babyFPhone != null and babyFPhone != ''">
473   - baby_f_phone = #{babyFPhone},
474   - </if>
475   - <if test="babyMCertNo != null and babyMCertNo != ''">
476   - baby_m_cert_no = #{babyMCertNo},
477   - </if>
478   - <if test="babyFCertNo != null and babyFCertNo != ''">
479   - baby_f_cert_no = #{babyFCertNo},
480   - </if>
481   - <if test="pid != null and pid != ''">
482   - pid = #{pid},
483   - </if>
484   - <if test="checkMonthAge != null and checkMonthAge != ''">
485   - check_month_age = #{checkMonthAge},
486   - </if>
487   - <if test="checkMonthId != null and checkMonthId != ''">
488   - check_month_id = #{checkMonthId},
489   - </if>
490   - <if test="birth != null and birth != ''">
491   - birth = #{birth},
492   - </if>
493   - <if test="checkTime != null and checkTime != ''">
494   - check_time = #{checkTime},
495   - </if>
496   - <if test="nextCheckTime != null and nextCheckTime != ''">
497   - next_check_time = #{nextCheckTime},
498   - </if>
499   - <if test="checkDoctor != null and checkDoctor != ''">
500   - check_doctor = #{checkDoctor},
501   - </if>
502   - <if test="doctorSign != null and doctorSign != ''">
503   - doctor_sign = #{doctorSign},
504   - </if>
505   - <if test="patientSign != null and patientSign != ''">
506   - patient_sign = #{patientSign},
507   - </if>
508   - <if test="preliminaryScreeningResults != null and preliminaryScreeningResults != ''">
509   - preliminary_screening_results = #{preliminaryScreeningResults},
510   - </if>
511   - <if test="preliminaryScreeningResultsFailedProject != null and preliminaryScreeningResultsFailedProject != ''">
512   - preliminary_screening_results_failed_project = #{preliminaryScreeningResultsFailedProject},
513   - </if>
514   - <if test="medicalHistory != null and medicalHistory != ''">
515   - medical_history = #{medicalHistory},
516   - </if>
517   - <if test="medicalHistoryRemark != null and medicalHistoryRemark != ''">
518   - medical_history_remark = #{medicalHistoryRemark},
519   - </if>
520   - <if test="developerQuotient != null and developerQuotient != ''">
521   - developer_quotient = #{developerQuotient},
522   - </if>
523   - <if test="bigMovement != null and bigMovement != ''">
524   - big_movement = #{bigMovement},
525   - </if>
526   - <if test="fineMotion != null and fineMotion != ''">
527   - fine_motion = #{fineMotion},
528   - </if>
529   - <if test="adaptability != null and adaptability != ''">
530   - adaptability = #{adaptability},
531   - </if>
532   - <if test="languageNum != null and languageNum != ''">
533   - language_num = #{languageNum},
534   - </if>
535   - <if test="socialBehavior != null and socialBehavior != ''">
536   - social_behavior = #{socialBehavior},
537   - </if>
538   - <if test="pediatricHeartScaleAssessMentresults != null and pediatricHeartScaleAssessMentresults != ''">
539   - pediatric_heart_scale_assess_mentresults = #{pediatricHeartScaleAssessMentresults},
540   - </if>
541   - <if test="coreProjectNum != null and coreProjectNum != ''">
542   - core_project_num = #{coreProjectNum},
543   - </if>
544   - <if test="positivetNum != null and positivetNum != ''">
545   - positivet_num = #{positivetNum},
546   - </if>
547   - <if test="screeningScaleMentresults != null and screeningScaleMentresults != ''">
548   - screening_scale_mentresults = #{screeningScaleMentresults},
549   - </if>
550   - <if test="behaviorRatingScaleTotal != null and behaviorRatingScaleTotal != ''">
551   - behavior_rating_scale_total = #{behaviorRatingScaleTotal},
552   - </if>
553   - <if test="feelNum != null and feelNum != ''">
554   - feel_num = #{feelNum},
555   - </if>
556   - <if test="socialInteractionNum != null and socialInteractionNum != ''">
557   - social_interaction_num = #{socialInteractionNum},
558   - </if>
559   - <if test="bodyMovementNum != null and bodyMovementNum != ''">
560   - body_movement_num = #{bodyMovementNum},
561   - </if>
562   - <if test="behaviorRatingLanguageNum != null and behaviorRatingLanguageNum != ''">
563   - behavior_rating_language_num = #{behaviorRatingLanguageNum},
564   - </if>
565   - <if test="selfCareInDailyLifeNum != null and selfCareInDailyLifeNum != ''">
566   - self_care_in_daily_life_num = #{selfCareInDailyLifeNum},
567   - </if>
568   - <if test="behaviorRatingScaleAssessMentresults != null and behaviorRatingScaleAssessMentresults != ''">
569   - behavior_rating_scale_assess_mentresults = #{behaviorRatingScaleAssessMentresults},
570   - </if>
571   - <if test="rescreenResults != null and rescreenResults != ''">
572   - rescreen_results = #{rescreenResults},
573   - </if>
574   - </set>
575   - where id = #{id}
576   - </update>
577   -
578   - <!--通过主键删除-->
579   - <delete id="deleteById">
580   - delete from baby_autism_double_sieving where id = #{id}
581   - </delete>
582   -
583   -</mapper>