|
|
@@ -345,7 +345,10 @@
|
|
|
</if>
|
|
|
<if test="syStartDate !=null and syStartDate != '' and syEndDate != null and syEndDate !=''">
|
|
|
AND DATE(a.sy_start_date) BETWEEN #{syStartDate} AND #{syEndDate}
|
|
|
+ </if>
|
|
|
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
</if>
|
|
|
|
|
|
<if test="yearStrat !=null and yearStrat != '' and yearEnd != null and yearEnd !=''">
|
|
|
@@ -531,6 +534,9 @@
|
|
|
</if>
|
|
|
|
|
|
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
|
|
|
<if test="id !=null and id !=''">
|
|
|
and a.id =#{id}
|
|
|
@@ -734,6 +740,10 @@
|
|
|
<if test="syPremium !=null and syPremium !=''">
|
|
|
and a.sy_premium =#{jqPremium}
|
|
|
</if>
|
|
|
+
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
<if test="noPremium !=null and noPremium !=''">
|
|
|
and a.no_premium =#{noPremium}
|
|
|
</if>
|
|
|
@@ -841,6 +851,10 @@
|
|
|
<if test="day !=null and day !=''">
|
|
|
AND day(a.signdate) =#{day}
|
|
|
</if>
|
|
|
+
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
@@ -878,6 +892,10 @@
|
|
|
and a.policyno =#{policyno}
|
|
|
</if>
|
|
|
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="handlingFeesStatus !=null and handlingFeesStatus !=''">
|
|
|
and a.handling_fees_status =#{handlingFeesStatus}
|
|
|
</if>
|
|
|
@@ -1032,6 +1050,10 @@
|
|
|
and DATE_FORMAT( a.create_time, '%Y-%m-%d') =#{createTimeQuery}
|
|
|
</if>
|
|
|
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="isNotCar !=null and isNotCar !=''">
|
|
|
and a.is_not_car =#{isNotCar}
|
|
|
</if>
|
|
|
@@ -1239,6 +1261,10 @@
|
|
|
and a.settlement_time =#{settlementTime}
|
|
|
</if>
|
|
|
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="userId !=null and userId !=''">
|
|
|
and a.userId =#{userId}
|
|
|
</if>
|
|
|
@@ -1296,6 +1322,9 @@
|
|
|
and eic.parent_id LIKE CONCAT(#{provincePartnerCompaniesId}, '%')
|
|
|
</if>
|
|
|
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
<if test="dockingPerson !=null and dockingPerson !=''">
|
|
|
and pa.docking_person =#{dockingPerson}
|
|
|
</if>
|
|
|
@@ -2051,6 +2080,9 @@
|
|
|
and pa.dept_id =#{deptId}
|
|
|
</if>
|
|
|
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
|
|
|
<if test="ids != null and ids != '' and ids.length > 0">
|
|
|
and a.id in
|
|
|
@@ -2249,6 +2281,10 @@
|
|
|
and pa.dept_id =#{deptId}
|
|
|
</if>
|
|
|
|
|
|
+ <if test="createTimeStart !=null and createTimeStart != '' and createTimeEnd != null and createTimeEnd !=''">
|
|
|
+ AND DATE(a.create_time) BETWEEN #{createTimeStart} AND #{createTimeEnd}
|
|
|
+ </if>
|
|
|
+
|
|
|
|
|
|
<if test="ids != null and ids != '' and ids.length > 0">
|
|
|
and a.id in
|