|
|
@@ -2351,16 +2351,16 @@
|
|
|
AND DATE_FORMAT( iac.signing_time, '%Y-%m-%d') BETWEEN DATE_FORMAT( #{vo.createtimeStart}, '%Y-%m-%d') AND DATE_FORMAT( #{vo.createtimeEnd}, '%Y-%m-%d')
|
|
|
</if>
|
|
|
<if test="vo.provinceId != null and vo.provinceId != '' and vo.cityId == null and vo.countyId == null and vo.houseId == null ">
|
|
|
- and io.deptid like "${vo.provinceId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.provinceId},'%')
|
|
|
</if>
|
|
|
<if test="vo.cityId != null and vo.cityId != '' and vo.countyId ==null and vo.houseId ==null">
|
|
|
- and io.deptid like "${vo.cityId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.cityId},'%')
|
|
|
</if>
|
|
|
<if test="vo.countyId != null and vo.countyId != '' and vo.houseId ==null">
|
|
|
- and io.deptid like "${vo.countyId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.countyId},'%')
|
|
|
</if>
|
|
|
<if test="vo.houseId != null and vo.houseId != ''">
|
|
|
- and io.deptid like "${vo.houseId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.houseId},'%')
|
|
|
</if>
|
|
|
<if test="vo.deptIds != null and vo.deptIds != '' and vo.deptIds.size() > 0">
|
|
|
AND io.deptid in
|
|
|
@@ -2436,16 +2436,16 @@
|
|
|
AND DATE_FORMAT( iac.signing_time, '%Y-%m-%d') BETWEEN DATE_FORMAT( #{vo.createtimeStart}, '%Y-%m-%d') AND DATE_FORMAT( #{vo.createtimeEnd}, '%Y-%m-%d')
|
|
|
</if>
|
|
|
<if test="vo.provinceId != null and vo.provinceId != '' and vo.cityId == null and vo.countyId == null and vo.houseId == null ">
|
|
|
- and io.deptid like "${vo.provinceId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.provinceId},'%')
|
|
|
</if>
|
|
|
<if test="vo.cityId != null and vo.cityId != '' and vo.countyId ==null and vo.houseId ==null">
|
|
|
- and io.deptid like "${vo.cityId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.cityId},'%')
|
|
|
</if>
|
|
|
<if test="vo.countyId != null and vo.countyId != '' and vo.houseId ==null">
|
|
|
- and io.deptid like "${vo.countyId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.countyId},'%')
|
|
|
</if>
|
|
|
<if test="vo.houseId != null and vo.houseId != ''">
|
|
|
- and io.deptid like "${vo.houseId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.houseId},'%')
|
|
|
</if>
|
|
|
<if test="vo.deptIds != null and vo.deptIds != '' and vo.deptIds.size() > 0">
|
|
|
AND io.deptid in
|
|
|
@@ -2490,16 +2490,16 @@
|
|
|
AND DATE_FORMAT( iac.signing_time, '%Y-%m-%d') BETWEEN DATE_FORMAT( #{vo.createtimeStart}, '%Y-%m-%d') AND DATE_FORMAT( #{vo.createtimeEnd}, '%Y-%m-%d')
|
|
|
</if>
|
|
|
<if test="vo.provinceId != null and vo.provinceId != '' and vo.cityId == null and vo.countyId == null and vo.houseId == null ">
|
|
|
- and io.deptid like "${vo.provinceId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.provinceId},'%')
|
|
|
</if>
|
|
|
<if test="vo.cityId != null and vo.cityId != '' and vo.countyId ==null and vo.houseId ==null">
|
|
|
- and io.deptid like "${vo.cityId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.cityId},'%')
|
|
|
</if>
|
|
|
<if test="vo.countyId != null and vo.countyId != '' and vo.houseId ==null">
|
|
|
- and io.deptid like "${vo.countyId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.countyId},'%')
|
|
|
</if>
|
|
|
<if test="vo.houseId != null and vo.houseId != ''">
|
|
|
- and io.deptid like "${vo.houseId}%"
|
|
|
+ and io.deptid like concat('%',#{vo.houseId},'%')
|
|
|
</if>
|
|
|
<if test="vo.deptIds != null and vo.deptIds != '' and vo.deptIds.size() > 0">
|
|
|
AND io.deptid in
|