|
@@ -81,16 +81,16 @@
|
|
|
AND result.serviceUnitId = #{serviceUnitId}
|
|
|
</if>
|
|
|
<if test="province != null and province != ''">
|
|
|
- AND result.province CONCAT('%',#{province},'%')
|
|
|
+ AND result.province LIKE CONCAT('%',#{province},'%')
|
|
|
</if>
|
|
|
<if test="city != null and city != ''">
|
|
|
- AND result.city CONCAT('%',#{city},'%')
|
|
|
+ AND result.city LIKE CONCAT('%',#{city},'%')
|
|
|
</if>
|
|
|
<if test="area != null and area != ''">
|
|
|
- AND result.area CONCAT('%',#{area},'%')
|
|
|
+ AND result.area LIKE CONCAT('%',#{area},'%')
|
|
|
</if>
|
|
|
<if test="customName != null and customName != ''">
|
|
|
- AND result.customName CONCAT('%',#{customName}.'%')
|
|
|
+ AND result.customName LIKE CONCAT('%',#{customName}.'%')
|
|
|
</if>
|
|
|
<if test="gap != null">
|
|
|
AND (result.coordinatorUnDistributed + result.effectUnDistributed + result.assistantUnDistributed) <= #{gap}
|
|
@@ -190,16 +190,16 @@
|
|
|
AND result.serviceUnitId = #{serviceUnitId}
|
|
|
</if>
|
|
|
<if test="province != null and province != ''">
|
|
|
- AND result.province CONCAT('%',#{province},'%')
|
|
|
+ AND result.province LIKE CONCAT('%',#{province},'%')
|
|
|
</if>
|
|
|
<if test="city != null and city != ''">
|
|
|
- AND result.city CONCAT('%',#{city},'%')
|
|
|
+ AND result.city LIKE CONCAT('%',#{city},'%')
|
|
|
</if>
|
|
|
<if test="area != null and area != ''">
|
|
|
- AND result.area CONCAT('%',#{area},'%')
|
|
|
+ AND result.area LIKE CONCAT('%',#{area},'%')
|
|
|
</if>
|
|
|
<if test="customName != null and customName != ''">
|
|
|
- AND result.customName CONCAT('%',#{customName}.'%')
|
|
|
+ AND result.customName LIKE CONCAT('%',#{customName}.'%')
|
|
|
</if>
|
|
|
<if test="gap != null">
|
|
|
AND (result.coordinatorUnDistributed + result.effectUnDistributed + result.assistantUnDistributed) <= #{gap}
|