|
@@ -73,11 +73,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="enginName != '' and enginName != null ">
|
|
<if test="enginName != '' and enginName != null ">
|
|
and epj.engin_name LIKE CONCAT('%',#{enginName},'%')
|
|
and epj.engin_name LIKE CONCAT('%',#{enginName},'%')
|
|
</if>
|
|
</if>
|
|
- <if test="enginType != '' and enginType != null and szAndGy!='gy'">
|
|
|
|
|
|
+ <if test="enginType != '' and enginType != null and szAndGy!='pk'">
|
|
and epj.engin_type LIKE CONCAT('%',#{enginType},'%')
|
|
and epj.engin_type LIKE CONCAT('%',#{enginType},'%')
|
|
</if>
|
|
</if>
|
|
- <if test="enginType != '' and enginType != null and szAndGy=='gy'">
|
|
|
|
- and epj.engin_classification LIKE CONCAT('%',#{enginType},'%')
|
|
|
|
|
|
+ <if test="enginType != '' and enginType != null and szAndGy=='pk'">
|
|
|
|
+ and epj.mode_operation LIKE CONCAT('%',#{enginType},'%')
|
|
</if>
|
|
</if>
|
|
GROUP BY epj.id
|
|
GROUP BY epj.id
|
|
<foreach collection="names" item="name">
|
|
<foreach collection="names" item="name">
|
|
@@ -95,11 +95,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="enginName != '' and enginName != null ">
|
|
<if test="enginName != '' and enginName != null ">
|
|
and epj.engin_name LIKE CONCAT('%',#{enginName},'%')
|
|
and epj.engin_name LIKE CONCAT('%',#{enginName},'%')
|
|
</if>
|
|
</if>
|
|
- <if test="enginType != '' and enginType != null and szAndGy!='gy'">
|
|
|
|
|
|
+ <if test="enginType != '' and enginType != null and szAndGy!='pk'">
|
|
and epj.engin_type LIKE CONCAT('%',#{enginType},'%')
|
|
and epj.engin_type LIKE CONCAT('%',#{enginType},'%')
|
|
</if>
|
|
</if>
|
|
- <if test="enginType != '' and enginType != null and szAndGy=='gy'">
|
|
|
|
- and epj.engin_classification LIKE CONCAT('%',#{enginType},'%')
|
|
|
|
|
|
+ <if test="enginType != '' and enginType != null and szAndGy=='pk'">
|
|
|
|
+ and epj.mode_operation LIKE CONCAT('%',#{enginType},'%')
|
|
</if>
|
|
</if>
|
|
GROUP BY epj.id
|
|
GROUP BY epj.id
|
|
|
|
|