|
|
@@ -1994,7 +1994,7 @@
|
|
|
1=1
|
|
|
and iac.id = ifa.ins_order_no
|
|
|
AND iac.orderstatus = 3
|
|
|
- AND ifa.audituser != '自动审核'
|
|
|
+
|
|
|
AND (ifa.auditstatus ='1' or ifa.auditstatus ='0')
|
|
|
<if test="taskStatisticsVo.reviewer !=null and taskStatisticsVo.reviewer !=''">
|
|
|
and su.name =#{taskStatisticsVo.reviewer}
|
|
|
@@ -2003,7 +2003,9 @@
|
|
|
<if test="taskStatisticsVo.audituser !=null and taskStatisticsVo.audituser !=''">
|
|
|
and ifa.audituser =#{taskStatisticsVo.audituser}
|
|
|
</if>
|
|
|
-
|
|
|
+ <if test="taskStatisticsVo.reviewType ==null">
|
|
|
+ AND ifa.audituser != '自动审核'
|
|
|
+ </if>
|
|
|
<if test="taskStatisticsVo.companyId !=null and taskStatisticsVo.companyId !=''">
|
|
|
and iac.company_id =#{taskStatisticsVo.companyId}
|
|
|
</if>
|
|
|
@@ -3888,6 +3890,7 @@
|
|
|
SELECT
|
|
|
ifa.audituser as "audituser",
|
|
|
su.name as "audituserName",
|
|
|
+ su.mobile as "mobile",
|
|
|
COUNT( CASE WHEN ifa.auditstatus = 1 THEN 1 END ) AS "auditstatusOrders",
|
|
|
COUNT( CASE WHEN ifa.auditstatus = 0 THEN 1 END ) AS "auditOrder",
|
|
|
COUNT( CASE WHEN ifa.auditstatus = 1 and ifa.audituser != '自动审核' THEN 1 END ) AS "persionAudit",
|
|
|
@@ -3911,6 +3914,9 @@
|
|
|
<if test="taskStatisticsVo.audittime !=null and taskStatisticsVo.audittime !=''">
|
|
|
and ifa.audittime =#{taskStatisticsVo.audittime}
|
|
|
</if>
|
|
|
+ <if test="taskStatisticsVo.audituserName !=null and taskStatisticsVo.audituserName !=''">
|
|
|
+ AND su.name like concat('%',#{taskStatisticsVo.audituserName},'%')
|
|
|
+ </if>
|
|
|
|
|
|
<if test="taskStatisticsVo.companyId !=null and taskStatisticsVo.companyId !=''">
|
|
|
and iac.company_id =#{taskStatisticsVo.companyId}
|