瀏覽代碼

采购单优化

guarantee-lsq 3 年之前
父節點
當前提交
6ccdff16f4
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      platform-dao/src/main/resources/mapper/repair/RepairApplicationFormMapper.xml

+ 1 - 2
platform-dao/src/main/resources/mapper/repair/RepairApplicationFormMapper.xml

@@ -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}