添加标协会员联系人接口
This commit is contained in:
+6
-1
@@ -21,6 +21,7 @@
|
||||
<result property="remark" column="remark"></result>
|
||||
<result property="projectName" column="project_name"></result>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectCommonProjectMailBillVO" resultMap="MailBillVO">
|
||||
SELECT
|
||||
pmb.id,
|
||||
@@ -49,6 +50,7 @@
|
||||
inner JOIN pay_mail_bill_project pmbp on pmb.id = pmbp.bill_id
|
||||
where pmbp.project_id=#{projectId}
|
||||
</select>
|
||||
|
||||
<select id="getMonthMailCount" resultType="java.lang.Integer">
|
||||
select count(*) from (
|
||||
select id from pay_mail_bill WHERE DATE_FORMAT(send_date,'%Y-%m') = #{time} AND post_status = '1'
|
||||
@@ -81,9 +83,12 @@
|
||||
group by pmb.id ORDER BY post_status ASC,create_time DESC
|
||||
|
||||
</select>
|
||||
|
||||
<select id="print" resultType="com.jero.company.entity.PayContactsManagement">
|
||||
select pcm.* from pay_mail_bill pmb left join pay_company_management pcm on(pmb.contact_id=pcm.id) where pmb.id=#{id}
|
||||
select pcm.* from pay_mail_bill pmb left join pay_mail_bill_project pmbp on(pmb.id=pmbp.bill_id) left join tb_member_project_subitem tmps on(pmbp.project_id=tmps.id)
|
||||
left join pay_contacts_management pcm on(tmps.liaison_man_id=pcm.id) where pmb.id=#{id}
|
||||
</select>
|
||||
|
||||
<select id="getCompanyCommonProject" resultType="java.lang.String"></select>
|
||||
|
||||
<select id="pageLists" resultType="com.jero.mail.entity.PayMailBill">
|
||||
|
||||
Reference in New Issue
Block a user