|
@@ -52,7 +52,7 @@
|
|
<where>
|
|
<where>
|
|
|
|
|
|
<if test="params.productId !=null">
|
|
<if test="params.productId !=null">
|
|
- and i.product_id =#{params.productId}
|
|
|
|
|
|
+ and i.product_id =#{params.productId}
|
|
</if>
|
|
</if>
|
|
<if test="params.applicationName !=null and params.applicationName !='' ">
|
|
<if test="params.applicationName !=null and params.applicationName !='' ">
|
|
and c.name REGEXP #{params.applicationName}
|
|
and c.name REGEXP #{params.applicationName}
|
|
@@ -82,7 +82,7 @@
|
|
and a.`name` like concat("%", #{params.patentName}, "%")
|
|
and a.`name` like concat("%", #{params.patentName}, "%")
|
|
</if>
|
|
</if>
|
|
<if test="params.structureId !=null and params.structureId !=''">
|
|
<if test="params.structureId !=null and params.structureId !=''">
|
|
- and t.structure_id = #{params.structureId}
|
|
|
|
|
|
+ and find_in_set(#{params.structureId}, t.path)
|
|
</if>
|
|
</if>
|
|
<if test="params.orderItem!=null and params.orderItem!='SysOrder'">
|
|
<if test="params.orderItem!=null and params.orderItem!='SysOrder'">
|
|
order by #{params.orderItem}
|
|
order by #{params.orderItem}
|
|
@@ -143,7 +143,7 @@
|
|
and h.code like concat("%", #{params.numberUpc}, "%")
|
|
and h.code like concat("%", #{params.numberUpc}, "%")
|
|
</if>
|
|
</if>
|
|
<if test="params.patentNo !=null and params.patentNo !=''">
|
|
<if test="params.patentNo !=null and params.patentNo !=''">
|
|
- and a.patentNo REGEXP #{params.patentNo}
|
|
|
|
|
|
+ and a.patentNo REGEXP #{params.patentNo}
|
|
</if>
|
|
</if>
|
|
<if test="params.applicationNo !=null and params.applicationNo !=''">
|
|
<if test="params.applicationNo !=null and params.applicationNo !=''">
|
|
and a.applicationNo like concat("%", #{params.applicationNo}, "%")
|
|
and a.applicationNo like concat("%", #{params.applicationNo}, "%")
|