wuxw 1 rok temu
rodzic
commit
8172710ac6

+ 1 - 1
java110-db/src/main/resources/mapper/common/MachineRecordServiceDaoImplMapper.xml

@@ -271,7 +271,7 @@
         from machine_record t
         where t.status_cd = '0'
         and t.community_id = #{communityId}
-        group by DATE_FORMAT(t.create_time,'%Y-%m-%d')
+        group by t.create_time
         order by t.create_time desc
         limit 0,7
     </select>

+ 0 - 1
java110-db/src/main/resources/mapper/store/ResourceStoreServiceDaoImplMapper.xml

@@ -611,7 +611,6 @@
             and t.stock > 0
         </if>
         group by rsts.times_id,rsts.res_code,rsts.stock,rsts.price
-        order by t.create_time desc
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>