|
|
@ -102,7 +102,7 @@ |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="parameter != null and parameter != ''"> |
|
|
|
<if test="parameter != null and parameter != ''"> |
|
|
|
<if test="dataType == 0 and type == '' and type == null"> |
|
|
|
<if test="dataType == 0 and (type == null or type == '')"> |
|
|
|
AND concat_ws(',',tcc.spbm,tcc.spmc,tcc.spjc,tcc.zzstsgl) LIKE |
|
|
|
AND concat_ws(',',tcc.spbm,tcc.spmc,tcc.spjc,tcc.zzstsgl) LIKE |
|
|
|
CONCAT(CONCAT('%',#{parameter}),'%') |
|
|
|
CONCAT(CONCAT('%',#{parameter}),'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
@ -111,7 +111,7 @@ |
|
|
|
CONCAT(CONCAT('%',#{parameter}),'%') |
|
|
|
CONCAT(CONCAT('%',#{parameter}),'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test="dataType == 0 and type != '' and type != null"> |
|
|
|
<if test="dataType == 0 and (type != null and type != '')"> |
|
|
|
AND concat_ws(',',tcc.spbm,tcc.spmc,tcc.spjc,tcc.zzstsgl,tcc.sm) |
|
|
|
AND concat_ws(',',tcc.spbm,tcc.spmc,tcc.spjc,tcc.zzstsgl,tcc.sm) |
|
|
|
LIKE CONCAT(CONCAT('%',#{parameter}),'%') |
|
|
|
LIKE CONCAT(CONCAT('%',#{parameter}),'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|