Commit 8d9b56c3fef113d8dc36860a7d18a0a9b1afc6c1
1 parent
9185b11347
Exists in
master
and in
6 other branches
听力诊断模块
Showing 2 changed files with 30 additions and 31 deletions
platform-biz-service/src/main/resources/mainOrm/master/BabyPatientExtendEarBirth.xml
View file @
8d9b56c
| ... | ... | @@ -56,58 +56,58 @@ |
| 56 | 56 | parameterType="com.lyms.platform.permission.model.BabyPatientExtendEarBirth"> |
| 57 | 57 | update baby_patient_extend_ear_birth |
| 58 | 58 | <set> |
| 59 | - <if test="fetuNumber != null and fetuNumber >= 0"> | |
| 59 | + <if test="fetuNumber != null"> | |
| 60 | 60 | fetu_number = #{fetuNumber,jdbcType=INTEGER}, |
| 61 | 61 | </if> |
| 62 | - <if test="productNumber != null and productNumber >= 0"> | |
| 62 | + <if test="productNumber != null"> | |
| 63 | 63 | product_number = #{productNumber,jdbcType=INTEGER}, |
| 64 | 64 | </if> |
| 65 | - <if test="birthWeight != null and birthWeight >= 0"> | |
| 65 | + <if test="birthWeight != null"> | |
| 66 | 66 | birth_weight = #{birthWeight,jdbcType=DOUBLE}, |
| 67 | 67 | </if> |
| 68 | 68 | <if test="parturitionType != null and parturitionType != ''"> |
| 69 | 69 | parturition_type = #{parturitionType,jdbcType=VARCHAR}, |
| 70 | 70 | </if> |
| 71 | - <if test="birthDefectType != null and birthDefectType >= 0"> | |
| 71 | + <if test="birthDefectType != null"> | |
| 72 | 72 | birth_defect_type = #{birthDefectType,jdbcType=INTEGER}, |
| 73 | 73 | </if> |
| 74 | 74 | <if test="birthDefectDesc != null and birthDefectDesc != ''"> |
| 75 | 75 | birth_defect_desc = #{birthDefectDesc,jdbcType=VARCHAR}, |
| 76 | 76 | </if> |
| 77 | - <if test="fetuEmbarrasType != null and fetuEmbarrasType >= 0"> | |
| 77 | + <if test="fetuEmbarrasType != null"> | |
| 78 | 78 | fetu_embarras_type = #{fetuEmbarrasType,jdbcType=INTEGER}, |
| 79 | 79 | </if> |
| 80 | - <if test="apgarScoreOne != null and apgarScoreOne >= 0"> | |
| 80 | + <if test="apgarScoreOne != null"> | |
| 81 | 81 | apgar_score_one = #{apgarScoreOne,jdbcType=DOUBLE}, |
| 82 | 82 | </if> |
| 83 | - <if test="apgarScoreFive != null and apgarScoreFive >= 0"> | |
| 83 | + <if test="apgarScoreFive != null"> | |
| 84 | 84 | apgar_score_five = #{apgarScoreFive,jdbcType=DOUBLE}, |
| 85 | 85 | </if> |
| 86 | - <if test="apgarScoreTen != null and apgarScoreTen >= 0"> | |
| 86 | + <if test="apgarScoreTen != null"> | |
| 87 | 87 | apgar_score_ten = #{apgarScoreTen,jdbcType=DOUBLE}, |
| 88 | 88 | </if> |
| 89 | - <if test="birthInjuryType != null and birthInjuryType >= 0"> | |
| 89 | + <if test="birthInjuryType != null"> | |
| 90 | 90 | birth_injury_type = #{birthInjuryType,jdbcType=INTEGER}, |
| 91 | 91 | </if> |
| 92 | 92 | <if test="birthInjuryPosition != null and birthInjuryPosition != ''"> |
| 93 | 93 | birth_injury_position = #{birthInjuryPosition,jdbcType=VARCHAR}, |
| 94 | 94 | </if> |
| 95 | - <if test="amnioticFluidType != null and amnioticFluidType >= 0"> | |
| 95 | + <if test="amnioticFluidType != null"> | |
| 96 | 96 | amniotic_fluid_type = #{amnioticFluidType,jdbcType=INTEGER}, |
| 97 | 97 | </if> |
| 98 | - <if test="abnormalParturitionType != null and abnormalParturitionType >= 0"> | |
| 98 | + <if test="abnormalParturitionType != null"> | |
| 99 | 99 | abnormal_parturition_type = #{abnormalParturitionType,jdbcType=INTEGER}, |
| 100 | 100 | </if> |
| 101 | 101 | <if test="abnormalParturitionPosition != null and abnormalParturitionPosition != ''"> |
| 102 | 102 | abnormal_parturition_position = #{abnormalParturitionPosition,jdbcType=VARCHAR}, |
| 103 | 103 | </if> |
| 104 | - <if test="deformityType != null and deformityType >= 0"> | |
| 104 | + <if test="deformityType != null"> | |
| 105 | 105 | deformity_type = #{deformityType,jdbcType=INTEGER}, |
| 106 | 106 | </if> |
| 107 | 107 | <if test="deformityPosition != null and deformityPosition != ''"> |
| 108 | 108 | deformity_position = #{deformityPosition,jdbcType=VARCHAR}, |
| 109 | 109 | </if> |
| 110 | - <if test="birthInfectionType != null and birthInfectionType >= 0"> | |
| 110 | + <if test="birthInfectionType != null"> | |
| 111 | 111 | birth_infection_type = #{birthInfectionType,jdbcType=INTEGER}, |
| 112 | 112 | </if> |
| 113 | 113 | <if test="birthInfectionCause != null and birthInfectionCause != ''"> |
| ... | ... | @@ -116,7 +116,7 @@ |
| 116 | 116 | <if test="birthCourseDisease != null and birthCourseDisease != ''"> |
| 117 | 117 | birth_course_disease = #{birthCourseDisease,jdbcType=VARCHAR}, |
| 118 | 118 | </if> |
| 119 | - <if test="birthIllType != null and birthIllType >= 0"> | |
| 119 | + <if test="birthIllType != null"> | |
| 120 | 120 | birth_ill_type = #{birthIllType,jdbcType=INTEGER}, |
| 121 | 121 | </if> |
| 122 | 122 | <if test="birthIllCause != null and birthIllCause != ''"> |
| ... | ... | @@ -125,7 +125,7 @@ |
| 125 | 125 | <if test="birthIllDisease != null and birthIllDisease != ''"> |
| 126 | 126 | birth_ill_disease = #{birthIllDisease,jdbcType=VARCHAR}, |
| 127 | 127 | </if> |
| 128 | - <if test="headTraumaHistory != null and headTraumaHistory >= 0"> | |
| 128 | + <if test="headTraumaHistory != null"> | |
| 129 | 129 | head_trauma_history = #{headTraumaHistory,jdbcType=INTEGER}, |
| 130 | 130 | </if> |
| 131 | 131 | <if test="headTraumaDesc != null and headTraumaDesc != ''"> |
| 132 | 132 | |
| 133 | 133 | |
| 134 | 134 | |
| 135 | 135 | |
| 136 | 136 | |
| 137 | 137 | |
| 138 | 138 | |
| 139 | 139 | |
| 140 | 140 | |
| 141 | 141 | |
| 142 | 142 | |
| 143 | 143 | |
| ... | ... | @@ -203,58 +203,58 @@ |
| 203 | 203 | <if test="id != null and id != ''"> |
| 204 | 204 | and id = #{id,jdbcType=VARCHAR} |
| 205 | 205 | </if> |
| 206 | - <if test="fetuNumber != null and fetuNumber >= 0"> | |
| 206 | + <if test="fetuNumber != null"> | |
| 207 | 207 | and fetu_number = #{fetuNumber,jdbcType=INTEGER} |
| 208 | 208 | </if> |
| 209 | - <if test="productNumber != null and productNumber >= 0"> | |
| 209 | + <if test="productNumber != null"> | |
| 210 | 210 | and product_number = #{productNumber,jdbcType=INTEGER} |
| 211 | 211 | </if> |
| 212 | - <if test="birthWeight != null and birthWeight >= 0"> | |
| 212 | + <if test="birthWeight != null"> | |
| 213 | 213 | and birth_weight = #{birthWeight,jdbcType=DOUBLE} |
| 214 | 214 | </if> |
| 215 | 215 | <if test="parturitionType != null and parturitionType != ''"> |
| 216 | 216 | and parturition_type = #{parturitionType,jdbcType=VARCHAR} |
| 217 | 217 | </if> |
| 218 | - <if test="birthDefectType != null and birthDefectType >= 0"> | |
| 218 | + <if test="birthDefectType != null"> | |
| 219 | 219 | and birth_defect_type = #{birthDefectType,jdbcType=INTEGER} |
| 220 | 220 | </if> |
| 221 | 221 | <if test="birthDefectDesc != null and birthDefectDesc != ''"> |
| 222 | 222 | and birth_defect_desc = #{birthDefectDesc,jdbcType=VARCHAR} |
| 223 | 223 | </if> |
| 224 | - <if test="fetuEmbarrasType != null and fetuEmbarrasType >= 0"> | |
| 224 | + <if test="fetuEmbarrasType != null"> | |
| 225 | 225 | and fetu_embarras_type = #{fetuEmbarrasType,jdbcType=INTEGER} |
| 226 | 226 | </if> |
| 227 | - <if test="apgarScoreOne != null and apgarScoreOne >= 0"> | |
| 227 | + <if test="apgarScoreOne != null"> | |
| 228 | 228 | and apgar_score_one = #{apgarScoreOne,jdbcType=DOUBLE} |
| 229 | 229 | </if> |
| 230 | - <if test="apgarScoreFive != null and apgarScoreFive >= 0"> | |
| 230 | + <if test="apgarScoreFive != null"> | |
| 231 | 231 | and apgar_score_five = #{apgarScoreFive,jdbcType=DOUBLE} |
| 232 | 232 | </if> |
| 233 | - <if test="apgarScoreTen != null and apgarScoreTen >= 0"> | |
| 233 | + <if test="apgarScoreTen != null"> | |
| 234 | 234 | and apgar_score_ten = #{apgarScoreTen,jdbcType=DOUBLE} |
| 235 | 235 | </if> |
| 236 | - <if test="birthInjuryType != null and birthInjuryType >= 0"> | |
| 236 | + <if test="birthInjuryType != null"> | |
| 237 | 237 | and birth_injury_type = #{birthInjuryType,jdbcType=INTEGER} |
| 238 | 238 | </if> |
| 239 | 239 | <if test="birthInjuryPosition != null and birthInjuryPosition != ''"> |
| 240 | 240 | and birth_injury_position = #{birthInjuryPosition,jdbcType=VARCHAR} |
| 241 | 241 | </if> |
| 242 | - <if test="amnioticFluidType != null and amnioticFluidType >= 0"> | |
| 242 | + <if test="amnioticFluidType != null"> | |
| 243 | 243 | and amniotic_fluid_type = #{amnioticFluidType,jdbcType=INTEGER} |
| 244 | 244 | </if> |
| 245 | - <if test="abnormalParturitionType != null and abnormalParturitionType >=0"> | |
| 245 | + <if test="abnormalParturitionType != null"> | |
| 246 | 246 | and abnormal_parturition_type = #{abnormalParturitionType,jdbcType=INTEGER} |
| 247 | 247 | </if> |
| 248 | 248 | <if test="abnormalParturitionPosition != null and abnormalParturitionPosition != ''"> |
| 249 | 249 | and abnormal_parturition_position = #{abnormalParturitionPosition,jdbcType=VARCHAR} |
| 250 | 250 | </if> |
| 251 | - <if test="deformityType != null and deformityType >= 0"> | |
| 251 | + <if test="deformityType != null"> | |
| 252 | 252 | and deformity_type = #{deformityType,jdbcType=INTEGER} |
| 253 | 253 | </if> |
| 254 | 254 | <if test="deformityPosition != null and deformityPosition != ''"> |
| 255 | 255 | and deformity_position = #{deformityPosition,jdbcType=VARCHAR} |
| 256 | 256 | </if> |
| 257 | - <if test="birthInfectionType != null and birthInfectionType >= 0"> | |
| 257 | + <if test="birthInfectionType != null"> | |
| 258 | 258 | and birth_infection_type = #{birthInfectionType,jdbcType=INTEGER} |
| 259 | 259 | </if> |
| 260 | 260 | <if test="birthInfectionCause != null and birthInfectionCause != ''"> |
| ... | ... | @@ -263,7 +263,7 @@ |
| 263 | 263 | <if test="birthCourseDisease != null and birthCourseDisease != ''"> |
| 264 | 264 | and birth_course_disease = #{birthCourseDisease,jdbcType=VARCHAR} |
| 265 | 265 | </if> |
| 266 | - <if test="birthIllType != null and birthIllType >= 0"> | |
| 266 | + <if test="birthIllType != null"> | |
| 267 | 267 | and birth_ill_type = #{birthIllType,jdbcType=INTEGER} |
| 268 | 268 | </if> |
| 269 | 269 | <if test="birthIllCause != null and birthIllCause != ''"> |
| ... | ... | @@ -272,7 +272,7 @@ |
| 272 | 272 | <if test="birthIllDisease != null and birthIllDisease != ''"> |
| 273 | 273 | and birth_ill_disease = #{birthIllDisease,jdbcType=VARCHAR} |
| 274 | 274 | </if> |
| 275 | - <if test="headTraumaHistory != null and headTraumaHistory >= 0"> | |
| 275 | + <if test="headTraumaHistory != null"> | |
| 276 | 276 | and head_trauma_history = #{headTraumaHistory,jdbcType=INTEGER} |
| 277 | 277 | </if> |
| 278 | 278 | <if test="headTraumaDesc != null and headTraumaDesc != ''"> |