增加接口:根据出入库单据id查询收付款单号
This commit is contained in:
@@ -176,4 +176,11 @@
|
||||
)
|
||||
and ifnull(delete_flag,'0') !='1'
|
||||
</select>
|
||||
|
||||
<select id="getFinancialBillNoByBillId" resultType="com.jsh.erp.datasource.entities.AccountHead">
|
||||
select ah.bill_no from jsh_account_head ah
|
||||
left join jsh_account_item ai on ah.id=ai.header_id and ifnull(ai.delete_flag,'0') !='1'
|
||||
where bill_id=#{billId}
|
||||
and ifnull(ah.delete_flag,'0') !='1'
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user