Explorar el Código

数据库字段修改

wanghui hace 7 años
padre
commit
f97738a92b
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 3 - 3
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -1035,7 +1035,7 @@
 	
 	<select id="selectBusinessList" resultType="com.goafanti.customer.bo.BusinessListBo">
 	  select
-		c.name as businessName,
+		c.bname as businessName,
 		b.identify_name as identifyName,
 		a.id as businessId,
 		a.create_time as createTime,
@@ -1045,7 +1045,7 @@
 		d.name as adminName
 	from
 		user_business a inner join user b on
-		a.uid = b.id left join business_glossory c on
+		a.uid = b.id left join business_project c on
 		a.business_project_id = c.id left join admin d on
 		a.aid = d.id
 	where 1 = 1
@@ -1087,7 +1087,7 @@
   		count(0)
   	from
 		user_business a inner join user b on
-		a.uid = b.id left join business_glossory c on
+		a.uid = b.id left join business_project c on
 		a.business_project_id = c.id left join admin d on
 		a.aid = d.id
 	where 1 = 1