yumeng 2 anni fa
parent
commit
0fbbdbf562

+ 2 - 2
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/mapper/xml/ManagerSaleValueMapper.xml

@@ -12,7 +12,7 @@
 
 
 
 
     <select id="queryUserCompany" resultType="com.alibaba.fastjson.JSONObject">
     <select id="queryUserCompany" resultType="com.alibaba.fastjson.JSONObject">
-        select company_id as 'companyId',company_name as 'companyName'
+        select id as 'companyId',company_name as 'companyName'
         from `jeecg-boot`.user_company
         from `jeecg-boot`.user_company
         where user_id = #{userId}
         where user_id = #{userId}
     </select>
     </select>
@@ -24,7 +24,7 @@
     </select>
     </select>
 
 
     <select id="queryList" resultType="com.alibaba.fastjson.JSONObject">
     <select id="queryList" resultType="com.alibaba.fastjson.JSONObject">
-        select company_id as 'companyId',company_name as 'companyName'
+        select id as 'companyId',company_name as 'companyName'
         from `jeecg-boot`.sys_manager_company
         from `jeecg-boot`.sys_manager_company
     </select>
     </select>