|
@@ -120,7 +120,7 @@
|
120
|
120
|
<if test="deptApproveTime != null "> and t1.dept_approve_time = #{deptApproveTime}</if>
|
121
|
121
|
<if test="specialityDepartmentReviewerId != null "> and t1.speciality_department_reviewer_id = #{specialityDepartmentReviewerId}</if>
|
122
|
122
|
<if test="specialityDepartmentReviewTime != null "> and t1.speciality_department_review_time = #{specialityDepartmentReviewTime}</if>
|
123
|
|
- <if test="problemLevel != null and problemLevel != ''"> and t1.problem_level = #{problemLevel}</if>
|
|
123
|
+ <if test="problemLevel != null"> and t1.problem_level = #{problemLevel}</if>
|
124
|
124
|
<if test="problemAttribute != null"> and t1.problem_attribute = #{problemAttribute}</if>
|
125
|
125
|
<if test="problemCategory != null"> and t1.problem_category = #{problemCategory}</if>
|
126
|
126
|
<if test="description != null and description != ''"> and t1.description = #{description}</if>
|
|
@@ -158,7 +158,7 @@
|
158
|
158
|
|
159
|
159
|
<select id="selectPostCheckedProblemById" parameterType="Long" resultMap="PostCheckedProblemResult">
|
160
|
160
|
<include refid="selectPostCheckedProblemVo"/>
|
161
|
|
- where id = #{id}
|
|
161
|
+ where t1.id = #{id}
|
162
|
162
|
</select>
|
163
|
163
|
|
164
|
164
|
<insert id="insertPostCheckedProblem" parameterType="PostCheckedProblem">
|
|
@@ -174,7 +174,7 @@
|
174
|
174
|
<if test="deptApproveTime != null">dept_approve_time,</if>
|
175
|
175
|
<if test="specialityDepartmentReviewerId != null">speciality_department_reviewer_id,</if>
|
176
|
176
|
<if test="specialityDepartmentReviewTime != null">speciality_department_review_time,</if>
|
177
|
|
- <if test="problemLevel != null and problemLevel != ''">problem_level,</if>
|
|
177
|
+ <if test="problemLevel != null">problem_level,</if>
|
178
|
178
|
<if test="problemAttribute != null">problem_attribute,</if>
|
179
|
179
|
<if test="problemCategory != null">problem_category,</if>
|
180
|
180
|
<if test="description != null">description,</if>
|
|
@@ -213,9 +213,9 @@
|
213
|
213
|
<if test="deptApproveTime != null">#{deptApproveTime},</if>
|
214
|
214
|
<if test="specialityDepartmentReviewerId != null">#{specialityDepartmentReviewerId},</if>
|
215
|
215
|
<if test="specialityDepartmentReviewTime != null">#{specialityDepartmentReviewTime},</if>
|
216
|
|
- <if test="problemLevel != null and problemLevel != ''">#{problemLevel},</if>
|
|
216
|
+ <if test="problemLevel != null">#{problemLevel},</if>
|
217
|
217
|
<if test="problemAttribute != null">#{problemAttribute},</if>
|
218
|
|
- <if test="problemCategory != null and problemCategory != ''">#{problemCategory},</if>
|
|
218
|
+ <if test="problemCategory != null">#{problemCategory},</if>
|
219
|
219
|
<if test="description != null">#{description},</if>
|
220
|
220
|
<if test="problemCause != null">#{problemCause},</if>
|
221
|
221
|
<if test="isImmediatelyCorrected != null">#{isImmediatelyCorrected},</if>
|
|
@@ -255,7 +255,7 @@
|
255
|
255
|
<if test="deptApproveTime != null">dept_approve_time = #{deptApproveTime},</if>
|
256
|
256
|
<if test="specialityDepartmentReviewerId != null">speciality_department_reviewer_id = #{specialityDepartmentReviewerId},</if>
|
257
|
257
|
<if test="specialityDepartmentReviewTime != null">speciality_department_review_time = #{specialityDepartmentReviewTime},</if>
|
258
|
|
- <if test="problemLevel != null and problemLevel != ''">problem_level = #{problemLevel},</if>
|
|
258
|
+ <if test="problemLevel != null">problem_level = #{problemLevel},</if>
|
259
|
259
|
<if test="problemAttribute != null">problem_attribute = #{problemAttribute},</if>
|
260
|
260
|
<if test="problemCategory != null">problem_category = #{problemCategory},</if>
|
261
|
261
|
<if test="description != null">description = #{description},</if>
|