Kaynağa Gözat

日报违章添加汇总

zhaoyun 6 ay önce
ebeveyn
işleme
f41d4d343d

+ 1 - 1
ruoyi-powerdistribution/src/main/resources/mapper/powerdistribution/PdmReportIllegalDayMapper.xml

@@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 <if test="countyNum1 != null "> and county_num1 = #{countyNum1}</if>
                 <if test="countyNum2 != null "> and county_num2 = #{countyNum2}</if>
                 <if test="checkNum != null "> and check_num = #{checkNum}</if>
-            </where>) a order by id asc
+            </where> GROUP BY report_date) a order by id asc
     </select>
 
     <select id="selectPdmReportIllegalDayById" parameterType="Long" resultMap="PdmReportIllegalDayResult">