Procházet zdrojové kódy

1、运力大厅接口调整;

zk před 2 roky
rodič
revize
45edd9ebaf

+ 1 - 1
sckw-modules/sckw-fleet/src/main/java/com/sckw/fleet/dao/KwfTruckMapper.java

@@ -69,7 +69,7 @@ public interface KwfTruckMapper extends BaseMapper<KwfTruck> {
      * @param capacityAmountMax 最大合计载重
      * @return
      */
-    List<Map<String, Object>> capacityStatistics(@Param("entIds") List entIds,
+    List<Map<String, Object>> capacityStatistics(@Param("entIds") List<Long> entIds,
                                                  @Param("capacityAmountMin") Integer capacityAmountMin,
                                                  @Param("capacityAmountMax") Integer capacityAmountMax);
 

+ 1 - 1
sckw-modules/sckw-fleet/src/main/resources/mapper/KwfTruckMapper.xml

@@ -320,7 +320,7 @@
         from kwf_truck
         where del_flag = 0
         <choose>
-            <when test="truckNos != null and truckNos != '' and truckNos.size() > 0">
+            <when test="entIds != null and entIds != '' and entIds.size() > 0">
                 and ent_id in
                 <foreach collection="entIds" item="item" open="(" close=")" separator=",">
                     #{item,jdbcType=BIGINT}