|
@@ -48,9 +48,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectTWorkcertificateVo"/>
|
|
|
<where>
|
|
|
<if test="classes != null and classes != ''"> and classes = #{classes}</if>
|
|
|
- <if test="boiler == 'true'"> and boiler IS NOT NULL</if>
|
|
|
- <if test="hydrogenation == 'true'"> and hydrogenation IS NOT NULL</if>
|
|
|
- <if test="cracking == 'true'"> and cracking IS NOT NULL</if>
|
|
|
+ <!-- 王子文 2022年8月15日 -->
|
|
|
+ <!-- 过滤掉锅炉证、加氢工艺、裂化工艺字段中值为(一个或多个)空格的数据 -->
|
|
|
+ <if test="boiler == 'true'">and LTRIM(boiler) is not null</if>
|
|
|
+ <if test="hydrogenation == 'true'"> and LTRIM(hydrogenation) IS NOT NULL</if>
|
|
|
+ <if test="cracking == 'true'"> and LTRIM(cracking) IS NOT NULL</if>
|
|
|
and d.del_flag = 0
|
|
|
</where>
|
|
|
<!-- 数据范围过滤 -->
|