tangsong vor 4 Monaten
Ursprung
Commit
5799ed0136

+ 4 - 2
src/main/resources/mapper/business/kcgl/DataKcglQckcDefaultMapper.xml

@@ -46,8 +46,8 @@
46 46
         DATA_KCGL_QCKC_DEFAULT.pz AS "pz",
47 47
         b_3.enumName AS "pz_value",
48 48
         DATA_KCGL_QCKC_DEFAULT.wjh AS "wjh",
49
-        DATA_KCGL_QCKC_DEFAULT.hwmc AS "hwmc",
50
-        DATA_KCGL_QCKC_DEFAULT.cfmc AS "cfmc",
49
+        c.warehouse_name AS "hwmc",
50
+        b.storehouse_name AS "cfmc",
51 51
         DATA_KCGL_QCKC_DEFAULT.dj AS "dj",
52 52
         b_7.enumName AS "dj_value",
53 53
         DATA_KCGL_QCKC_DEFAULT.kcsl AS "kcsl",
@@ -60,6 +60,8 @@
60 60
         LEFT JOIN basic_enum b_3 ON DATA_KCGL_QCKC_DEFAULT.pz = b_3.enumId
61 61
         LEFT JOIN basic_enum b_7 ON DATA_KCGL_QCKC_DEFAULT.dj = b_7.enumId
62 62
         LEFT JOIN basic_enum b_9 ON DATA_KCGL_QCKC_DEFAULT.hwxz = b_9.enumId
63
+        LEFT JOIN basic_storehouse b  on DATA_KCGL_QCKC_DEFAULT.ch = b.storehouse_id
64
+        LEFT JOIN basic_warehouse c  on DATA_KCGL_QCKC_DEFAULT.hwh = c.warehouse_id
63 65
         WHERE
64 66
         ifnull(
65 67
         DATA_KCGL_QCKC_DEFAULT.SytelInfoID,