yumeng 2 years ago
parent
commit
cdf4964090

+ 1 - 1
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 as 'companyId',company_name as 'companyName'
+        select company_id as 'companyId',company_name as 'companyName'
         from `jeecg-boot`.user_company
         where user_id = #{userId}
     </select>