Ver Fonte

用户预发机列表返回仓库名称

mac há 2 anos atrás
pai
commit
be3cbfe978

+ 6 - 0
kxs-store/kxs-store-api/src/main/java/com/kxs/store/api/vo/kxsapp/userAdvance/UserAdvanceListVO.java

@@ -34,6 +34,12 @@ public class UserAdvanceListVO implements Serializable {
     @Schema(description = "品牌名称")
     private String brandName;
 
+    /**
+     * 仓库名称
+     */
+    @Schema(description = "仓库名称")
+    private String warehouseName;
+
     /**
      * 品牌ID
      */

+ 2 - 1
kxs-store/kxs-store-biz/src/main/resources/mapper/KxsMachineAdvanceMapper.xml

@@ -112,7 +112,8 @@
                b.create_time,
                b.is_use_amount,
                b.is_advance,
-               b.machine_id
+               b.machine_id,
+               a.warehouse_name
         from kxs_machine_advance a
         left join kxs_machine_advance_info b on a.id = b.order_id
         where a.del_flag = 0