|
|
@@ -695,6 +695,7 @@
|
|
|
a.aid as aid,
|
|
|
d.name as adminName,
|
|
|
a.information_maintainer as informationMaintainer,
|
|
|
+ c.name as informationMaintainerName,
|
|
|
a.core_technology as coreTechnology,
|
|
|
a. accomplish_situation as accomplishSituation,
|
|
|
a.intellectual_property as intellectualProperty,
|
|
|
@@ -707,6 +708,7 @@
|
|
|
from
|
|
|
user a inner join organization_identity b on a.id = b.uid
|
|
|
left join admin d on d.id = a.aid
|
|
|
+ left join admin c on c.id = a.information_maintainer
|
|
|
where
|
|
|
a.id = #{uid,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
@@ -1681,7 +1683,7 @@
|
|
|
|
|
|
<select id="selectCustomerInformationList" resultType="com.goafanti.customer.bo.CustomerListIn">
|
|
|
select a.id,a.nickname as name,c.name as province,c1.name as city,c2.name as area,b.contacts,b.contact_mobile as contactMobile,
|
|
|
- a.create_time as createTime,d.name as industry ,a.credit_rating as creditRating
|
|
|
+ date_format(a.create_time,'%Y-%m-%d %H:%i:%S') as createTime,d.name as industry,a.credit_rating as creditRating
|
|
|
from user a left join organization_identity b
|
|
|
on a.id=b.uid left join district_glossory c
|
|
|
on b.location_province=c.id left join district_glossory c1
|
|
|
@@ -1777,7 +1779,7 @@
|
|
|
|
|
|
<select id="selectDepCustomerInformationList" resultType="com.goafanti.customer.bo.CustomerListIn">
|
|
|
select a.id,a.nickname as name,c.name as province,c1.name as city,c2.name as area,b.contacts,b.contact_mobile as contactMobile,
|
|
|
- a.create_time as createTime,d.name as industry,a.credit_rating as creditRating
|
|
|
+ date_format(a.create_time,'%Y-%m-%d %H:%i:%S') as createTime,d.name as industry,a.credit_rating as creditRating
|
|
|
from user a left join organization_identity b
|
|
|
on a.id=b.uid left join district_glossory c
|
|
|
on b.location_province=c.id left join district_glossory c1
|