add:统计证书
This commit is contained in:
+12
-1
@@ -56,6 +56,17 @@
|
||||
AND tmsub.id = #{projectId}
|
||||
</if>
|
||||
</where>
|
||||
<!-- 标协会员证书项目-->
|
||||
UNION ALL
|
||||
select tmps.id,tmember.project_name,tmps.charge_use,tmember.director_id,su.realname,tmps.liaison_man_id,tmps.liaison_man,tmps.company_name,tmps.amount_receivable,tmps.paid_amount,tmps.invoice_requirements,tmps.pack,tmps.in_account,tmps.make_invoice,tmps.mail,tmps.create_time,5,'','','','',tmps.company_id,tmps.payment_method,'','','',tmember.year,''
|
||||
from tb_member_project tmember
|
||||
left join sys_user su on tmember.director_id = su.id
|
||||
inner join tb_certificate_payment tmps on tmember.id=tmps.project_id
|
||||
<where>
|
||||
<if test="projectId != null and projectId != ''">
|
||||
AND tmps.id = #{projectId}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="queryProjectList" resultType="com.jero.project.entity.PayCommonProject">
|
||||
<!-- 普通项目-->
|
||||
@@ -205,4 +216,4 @@
|
||||
select count(*) as num from pay_member_project_subitem msub where DATE_FORMAT(create_time,'%Y-%m') = #{time}
|
||||
) a
|
||||
</select>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user