|
@@ -168,8 +168,7 @@
|
|
|
<!-- 近月统计单数和费用 -->
|
|
|
<select id="getWorkplaceRepairSumData" parameterType="com.platform.dao.dto.repair.RepairApplicationFormDTO"
|
|
|
resultType="com.platform.dao.vo.repair.RepairApplicationFormVO">
|
|
|
- select count(1) as tempTotalNum,sum(fee.fee) as tempTotalFee from t_repair_application_form rf
|
|
|
- join t_repair_fee fee on fee.repair_id = rf.id
|
|
|
+ select count(1) as tempTotalNum from t_repair_application_form rf
|
|
|
<where>
|
|
|
<if test="repairUserId != null">
|
|
|
and rf.repair_user_id = #{repairUserId}
|