|
|
@@ -238,6 +238,7 @@
|
|
|
where id = #{id}
|
|
|
</update>
|
|
|
|
|
|
+
|
|
|
<!--通过主键删除-->
|
|
|
<delete id="deleteById">
|
|
|
delete
|
|
|
@@ -265,11 +266,11 @@
|
|
|
e.appearance_patent_count as appearancePatentCount,e.software_works_count as softwareWorksCount,
|
|
|
e.other_count as otherCount,e.create_time as createTime,e.update_time as updateTime
|
|
|
from user a left join organization_identity b on a.id =b.uid
|
|
|
- left join organization_contact_book c on a.id =c.uid and c.major =1
|
|
|
- left join user_mid d on a.id =d.uid
|
|
|
- left join user_archives e on a.id =e.uid
|
|
|
- left join admin f on a.aid =f.id
|
|
|
- left join department g on f.department_id =g.id
|
|
|
+ left join organization_contact_book c on a.id =c.uid and c.major =1
|
|
|
+ left join user_mid d on a.id =d.uid
|
|
|
+ left join user_archives e on a.id =e.uid
|
|
|
+ left join admin f on a.aid =f.id
|
|
|
+ left join department g on f.department_id =g.id
|
|
|
left join district_glossory d1 on b.location_province=d1.id
|
|
|
left join district_glossory d2 on b.location_city=d2.id
|
|
|
left join district_glossory d3 on b.location_area=d3.id
|