|
@@ -358,16 +358,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
and a.unit_id = #{p.unitId}
|
|
and a.unit_id = #{p.unitId}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginType != null and p.enginType != ''">
|
|
<if test="p.enginType != null and p.enginType != ''">
|
|
- and engin_type = #{p.enginType}
|
|
|
|
|
|
+ and a.engin_type = #{p.enginType}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginClassification != null and p.enginClassification != ''">
|
|
<if test="p.enginClassification != null and p.enginClassification != ''">
|
|
- and engin_classification = #{p.enginClassification}
|
|
|
|
|
|
+ and a.engin_classification = #{p.enginClassification}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginCycle != null and p.enginCycle != ''">
|
|
<if test="p.enginCycle != null and p.enginCycle != ''">
|
|
- and engin_cycle = 0
|
|
|
|
|
|
+ and a.engin_cycle = 0
|
|
</if>
|
|
</if>
|
|
<if test="p.beginTime != null and p.beginTime != ''">
|
|
<if test="p.beginTime != null and p.beginTime != ''">
|
|
- and update_info_time between #{beginTime[0]} and #{beginTime[1]}
|
|
|
|
|
|
+ and c.update_info_time between #{beginTime[0]} and #{beginTime[1]}
|
|
</if>
|
|
</if>
|
|
<if test="p.createBy != null and p.createBy != ''">
|
|
<if test="p.createBy != null and p.createBy != ''">
|
|
and c.create_by like CONCAT(#{p.createBy},'%')
|
|
and c.create_by like CONCAT(#{p.createBy},'%')
|
|
@@ -437,16 +437,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
and a.unit_id = #{p.unitId}
|
|
and a.unit_id = #{p.unitId}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginType != null and p.enginType != ''">
|
|
<if test="p.enginType != null and p.enginType != ''">
|
|
- and engin_type = #{p.enginType}
|
|
|
|
|
|
+ and a.engin_type = #{p.enginType}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginClassification != null and p.enginClassification != ''">
|
|
<if test="p.enginClassification != null and p.enginClassification != ''">
|
|
- and engin_classification = #{p.enginClassification}
|
|
|
|
|
|
+ and a.engin_classification = #{p.enginClassification}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginCycle != null and p.enginCycle != ''">
|
|
<if test="p.enginCycle != null and p.enginCycle != ''">
|
|
- and engin_cycle = 0
|
|
|
|
|
|
+ and a.engin_cycle = 0
|
|
</if>
|
|
</if>
|
|
<if test="p.beginTime != null and p.beginTime != ''">
|
|
<if test="p.beginTime != null and p.beginTime != ''">
|
|
- and update_info_time between #{beginTime[0]} and #{beginTime[1]}
|
|
|
|
|
|
+ and c.update_info_time between #{beginTime[0]} and #{beginTime[1]}
|
|
</if>
|
|
</if>
|
|
<if test="p.createBy != null and p.createBy != ''">
|
|
<if test="p.createBy != null and p.createBy != ''">
|
|
and c.create_by like CONCAT(#{p.createBy},'%')
|
|
and c.create_by like CONCAT(#{p.createBy},'%')
|
|
@@ -477,16 +477,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
and a.unit_id = #{p.unitId}
|
|
and a.unit_id = #{p.unitId}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginType != null and p.enginType != ''">
|
|
<if test="p.enginType != null and p.enginType != ''">
|
|
- and engin_type = #{p.enginType}
|
|
|
|
|
|
+ and a.engin_type = #{p.enginType}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginClassification != null and p.enginClassification != ''">
|
|
<if test="p.enginClassification != null and p.enginClassification != ''">
|
|
- and engin_classification = #{p.enginClassification}
|
|
|
|
|
|
+ and a.engin_classification = #{p.enginClassification}
|
|
</if>
|
|
</if>
|
|
<if test="p.enginCycle != null and p.enginCycle != ''">
|
|
<if test="p.enginCycle != null and p.enginCycle != ''">
|
|
- and engin_cycle = 0
|
|
|
|
|
|
+ and a.engin_cycle = 0
|
|
</if>
|
|
</if>
|
|
<if test="p.beginTime != null and p.beginTime != ''">
|
|
<if test="p.beginTime != null and p.beginTime != ''">
|
|
- and update_info_time between #{beginTime[0]} and #{beginTime[1]}
|
|
|
|
|
|
+ and c.update_info_time between #{beginTime[0]} and #{beginTime[1]}
|
|
</if>
|
|
</if>
|
|
<if test="p.type != null and p.type != ''">
|
|
<if test="p.type != null and p.type != ''">
|
|
and b.type =#{p.type}
|
|
and b.type =#{p.type}
|