mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 21:32:07 +08:00
新增组织申请开票、开票记录查询接口
This commit is contained in:
+9
@@ -15,4 +15,13 @@
|
||||
from purchase_record
|
||||
where organ_id = #{organId}
|
||||
</select>
|
||||
|
||||
<select id="getInvoicableAmount" resultType="java.math.BigDecimal">
|
||||
select sum(account_balance_spent) from purchase_record
|
||||
where organ_id = #{organId} and is_invocing = '${@com.cf.imes.module.system.enums.pay.InvoiceStatusEnum@INVOICABLE.status}'
|
||||
and id in
|
||||
<foreach collection="ids" item="id" open="(" close=")" separator=",">
|
||||
#{id}
|
||||
</foreach>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user