|
@@ -17,9 +17,12 @@
|
|
<if test="param.outType !=null ">
|
|
<if test="param.outType !=null ">
|
|
and d.own = #{param.outType}
|
|
and d.own = #{param.outType}
|
|
</if>
|
|
</if>
|
|
- <if test="param.type !=null ">
|
|
|
|
|
|
+ <if test="param.type !=null and param.type !=1">
|
|
and d.type = #{param.type}
|
|
and d.type = #{param.type}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="param.type !=null and param.type == 1 ">
|
|
|
|
+ and d.type in (1,3)
|
|
|
|
+ </if>
|
|
<if test="param.snCode !=null and param.snCode != '' ">
|
|
<if test="param.snCode !=null and param.snCode != '' ">
|
|
and c.sn_code like concat ('%',#{param.snCode},'%')
|
|
and c.sn_code like concat ('%',#{param.snCode},'%')
|
|
</if>
|
|
</if>
|