update 发布提醒列表查询 去重
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@
|
||||
</select>
|
||||
|
||||
<select id="listTwo" resultType="com.jero.data.entity.VO.payCaseCommitteeSubitemVO">
|
||||
SELECT pm.id as id,
|
||||
SELECT distinct pm.id as id,
|
||||
pt.id as contactId,
|
||||
pt.name as contactsName,
|
||||
pm.company_name as companyName,
|
||||
|
||||
+1
-1
@@ -143,7 +143,7 @@
|
||||
</select>
|
||||
|
||||
<select id="listTwo" resultType="com.jero.data.entity.subCouncil">
|
||||
SELECT pm.id as id,
|
||||
SELECT distinct pm.id as id,
|
||||
pt.name as peopleName,
|
||||
pm.company_name as companyName,
|
||||
pt.post as post,
|
||||
|
||||
+1
-1
@@ -315,7 +315,7 @@
|
||||
</select>
|
||||
|
||||
<select id="publishReminderList" resultType="com.jero.project.entity.PayWorkingGroupSubItem">
|
||||
select pcm.id as id,pcm.name contactsTemporaryNameOne,pcm.company_name chargeCompanyTemporaryName
|
||||
select distinct pcm.id as id,pcm.name contactsTemporaryNameOne,pcm.company_name chargeCompanyTemporaryName
|
||||
,if(pmrr.id,'1','0') remind
|
||||
from pay_contacts_management pcm
|
||||
left join pay_working_group_subitem_contacts pwgsc on pcm.id = pwgsc.contacts_id
|
||||
|
||||
Reference in New Issue
Block a user