瀏覽代碼

platform_bill表查询时的排序条件改为day_id

codingliang 1 年之前
父節點
當前提交
40e112f2c9
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/main/resources/mapper/reconciliation/PlatformBillMapper.xml

+ 6 - 6
src/main/resources/mapper/reconciliation/PlatformBillMapper.xml

@@ -24,7 +24,7 @@
                 and tu.user_name like concat('%',#{params.riderName},'%')
             </if>
         </where>
-        order by pb.dayId desc
+        order by pb.day_id desc
     </select>
 
     <select id="shopBill" resultType="com.sqx.modules.reconciliation.model.ShopBillVo">
@@ -46,7 +46,7 @@
                 and gs.shop_name like concat('%',#{params.shopName},'%')
             </if>
         </where>
-        order by pb.dayId desc
+        order by pb.day_id desc
     </select>
     <select id="platformBill" resultType="com.sqx.modules.reconciliation.model.PlatformBill">
         select pb.*
@@ -60,7 +60,7 @@
                 and pb.day_id <![CDATA[ <= ]]> #{params.endDate}
             </if>
         </where>
-        order by pb.dayId desc
+        order by pb.day_id desc
     </select>
 
     <select id="excelRiderBillList" resultType="com.sqx.modules.reconciliation.model.RiderBillVo">
@@ -85,7 +85,7 @@
                 and tu.user_name like concat('%',#{params.riderName},'%')
             </if>
         </where>
-        order by pb.dayId desc
+        order by pb.day_id desc
     </select>
 
     <select id="excelShopBillList" resultType="com.sqx.modules.reconciliation.model.ShopBillVo">
@@ -107,7 +107,7 @@
                 and gs.shop_name like concat('%',#{params.shopName},'%')
             </if>
         </where>
-        order by pb.dayId desc
+        order by pb.day_id desc
     </select>
 
     <select id="excelPlatformBillList" resultType="com.sqx.modules.reconciliation.model.PlatformBill">
@@ -122,7 +122,7 @@
                 and pb.day_id <![CDATA[ <= ]]> #{params.endDate}
             </if>
         </where>
-        order by pb.dayId desc
+        order by pb.day_id desc
     </select>
 
     <update id="updatePlatFormStartMoney">