Commit 1c4f16f268ff57f6cf6c8490d5851084f0008369
1 parent
2bf19be6df
Exists in
master
and in
4 other branches
孤独症参数格式
Showing 1 changed file with 10 additions and 10 deletions
platform-biz-service/src/main/resources/mainOrm/master/BabyAutismPrimaryScreeningMapper.xml
View file @
1c4f16f
... | ... | @@ -34,7 +34,7 @@ |
34 | 34 | <result property="handleOpinions" column="handle_opinions" jdbcType="VARCHAR"/> |
35 | 35 | <result property="warningSigns" column="warning_signs" jdbcType="VARCHAR"/> |
36 | 36 | <result property="languageSocial" column="language_social" jdbcType="VARCHAR"/> |
37 | - <result property="preliminaryScreeningResults" column="preliminary_screening_results" jdbcType="VARCHAR"/> | |
37 | + <result property="global" column="preliminary_screening_results" jdbcType="VARCHAR"/> | |
38 | 38 | </resultMap> |
39 | 39 | <!--查询单个--> |
40 | 40 | <select id="queryById" resultMap="BabyAutismPrimaryScreeningMap"> |
... | ... | @@ -137,8 +137,8 @@ |
137 | 137 | <if test="languageSocial != null and languageSocial != ''"> |
138 | 138 | and language_social = #{languageSocial} |
139 | 139 | </if> |
140 | - <if test="preliminaryScreeningResults != null and preliminaryScreeningResults != ''"> | |
141 | - and preliminary_screening_results = #{preliminaryScreeningResults} | |
140 | + <if test="global != null and global != ''"> | |
141 | + and preliminary_screening_results = #{global} | |
142 | 142 | </if> |
143 | 143 | </where> |
144 | 144 | limit #{pageable.offset}, #{pageable.pageSize} |
... | ... | @@ -236,8 +236,8 @@ |
236 | 236 | <if test="languageSocial != null and languageSocial != ''"> |
237 | 237 | and language_social = #{languageSocial} |
238 | 238 | </if> |
239 | - <if test="preliminaryScreeningResults != null and preliminaryScreeningResults != ''"> | |
240 | - and preliminary_screening_results = #{preliminaryScreeningResults} | |
239 | + <if test="global != null and global != ''"> | |
240 | + and preliminary_screening_results = #{global} | |
241 | 241 | </if> |
242 | 242 | </where> |
243 | 243 | </select> |
... | ... | @@ -255,7 +255,7 @@ |
255 | 255 | <insert id="insert" > |
256 | 256 | |
257 | 257 | insert into baby_autism_primary_screening(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) |
258 | - values (#{id},#{created}, #{modified}, #{yn}, #{operaterId}, #{hospitalId}, #{babyId}, #{babyBuildDate}, #{babyName}, #{babySex}, #{babyMName}, #{babyFName}, #{babyMPhone}, #{babyFPhone}, #{babyMCertNo}, #{babyFCertNo}, #{pid}, #{checkMonthAge}, #{checkMonthId}, #{birth}, #{checkTime}, #{nextCheckTime}, #{checkDoctor}, #{doctorSign}, #{patientSign}, #{guidanceOpinions}, #{handleOpinions}, #{warningSigns}, #{languageSocial}, #{preliminaryScreeningResults}) | |
258 | + values (#{id},#{created}, #{modified}, #{yn}, #{operaterId}, #{hospitalId}, #{babyId}, #{babyBuildDate}, #{babyName}, #{babySex}, #{babyMName}, #{babyFName}, #{babyMPhone}, #{babyFPhone}, #{babyMCertNo}, #{babyFCertNo}, #{pid}, #{checkMonthAge}, #{checkMonthId}, #{birth}, #{checkTime}, #{nextCheckTime}, #{checkDoctor}, #{doctorSign}, #{patientSign}, #{guidanceOpinions}, #{handleOpinions}, #{warningSigns}, #{languageSocial}, #{global}) | |
259 | 259 | </insert> |
260 | 260 | |
261 | 261 | <insert id="insertBatch" > |
... | ... | @@ -264,7 +264,7 @@ |
264 | 264 | insert into baby_autism_primary_screening(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) |
265 | 265 | values |
266 | 266 | <foreach collection="entities" item="entity" separator=","> |
267 | - (#{id},#{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.guidanceOpinions}, #{entity.handleOpinions}, #{entity.warningSigns}, #{entity.languageSocial}, #{entity.preliminaryScreeningResults}) | |
267 | + (#{id},#{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.guidanceOpinions}, #{entity.handleOpinions}, #{entity.warningSigns}, #{entity.languageSocial}, #{entity.global}) | |
268 | 268 | </foreach> |
269 | 269 | </insert> |
270 | 270 | |
... | ... | @@ -272,7 +272,7 @@ |
272 | 272 | insert into baby_autism_primary_screening(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) |
273 | 273 | values |
274 | 274 | <foreach collection="entities" item="entity" separator=","> |
275 | - (#{id},#{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.guidanceOpinions}, #{entity.handleOpinions}, #{entity.warningSigns}, #{entity.languageSocial}, #{entity.preliminaryScreeningResults}) | |
275 | + (#{id},#{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.guidanceOpinions}, #{entity.handleOpinions}, #{entity.warningSigns}, #{entity.languageSocial}, #{entity.global}) | |
276 | 276 | </foreach> |
277 | 277 | on duplicate key update |
278 | 278 | created = values(created), |
... | ... | @@ -394,8 +394,8 @@ |
394 | 394 | <if test="languageSocial != null and languageSocial != ''"> |
395 | 395 | language_social = #{languageSocial}, |
396 | 396 | </if> |
397 | - <if test="preliminaryScreeningResults != null and preliminaryScreeningResults != ''"> | |
398 | - preliminary_screening_results = #{preliminaryScreeningResults}, | |
397 | + <if test="global != null and global != ''"> | |
398 | + preliminary_screening_results = #{global}, | |
399 | 399 | </if> |
400 | 400 | </set> |
401 | 401 | where id = #{id} |