|
|
@@ -42,19 +42,19 @@
|
|
|
AND cf.salary_withdrawal_standard_name = #{salaryWithdrawalStandardName}
|
|
|
</if>
|
|
|
<if test="salaryWithdrawalStandardName==null or salaryWithdrawalStandardName == ''">
|
|
|
- AND cf.salary_withdrawal_standard_name = ''
|
|
|
+ AND (cf.salary_withdrawal_standard_name = '' or cf.salary_withdrawal_standard_name IS NULL)
|
|
|
</if>
|
|
|
<if test="compileCategory!=null and compileCategory != ''">
|
|
|
AND cf.compile_category = #{compileCategory}
|
|
|
</if>
|
|
|
<if test="compileCategory==null or compileCategory == ''">
|
|
|
- AND cf.compile_category = ''
|
|
|
+ AND (cf.compile_category = '' or cf.compile_category IS NULL)
|
|
|
</if>
|
|
|
<if test="classType!=null and classType != ''">
|
|
|
AND cf.class_type = #{classType}
|
|
|
</if>
|
|
|
<if test="classType==null or classType == ''">
|
|
|
- AND cf.class_type IS NULL
|
|
|
+ AND (cf.class_type IS NULL or cf.class_type = '')
|
|
|
</if>
|
|
|
ORDER BY ci.salary DESC LIMIT 1
|
|
|
</select>
|
|
|
@@ -80,19 +80,19 @@
|
|
|
AND cf.salary_withdrawal_standard_name = #{salaryWithdrawalStandardName}
|
|
|
</if>
|
|
|
<if test="salaryWithdrawalStandardName==null or salaryWithdrawalStandardName == ''">
|
|
|
- AND cf.salary_withdrawal_standard_name = ''
|
|
|
+ AND (cf.salary_withdrawal_standard_name = '' or cf.salary_withdrawal_standard_name IS NULL)
|
|
|
</if>
|
|
|
<if test="compileCategory!=null and compileCategory != ''">
|
|
|
AND cf.compile_category = #{compileCategory}
|
|
|
</if>
|
|
|
<if test="compileCategory==null or compileCategory == ''">
|
|
|
- AND cf.compile_category = ''
|
|
|
+ AND (cf.compile_category = '' or cf.compile_category IS NULL)
|
|
|
</if>
|
|
|
<if test="classType!=null and classType != ''">
|
|
|
AND cf.class_type = #{classType}
|
|
|
</if>
|
|
|
<if test="classType==null or classType == ''">
|
|
|
- AND cf.class_type IS NULL
|
|
|
+ AND (cf.class_type IS NULL or cf.class_type = '')
|
|
|
</if>
|
|
|
ORDER BY ci.salary DESC LIMIT 1
|
|
|
</select>
|