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