carryforward
This commit is contained in:
@ -31,4 +31,6 @@ public class SettlementCarryforwardVo extends VoucherTemplate{
|
|||||||
private static final long serialVersionUID = 4969126049394752855L;
|
private static final long serialVersionUID = 4969126049394752855L;
|
||||||
|
|
||||||
String voucherId;
|
String voucherId;
|
||||||
|
|
||||||
|
Integer yearPeriod;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,6 +7,9 @@
|
|||||||
from jbx_voucher_template jvt
|
from jbx_voucher_template jvt
|
||||||
left join jbx_settlement_carryforward jsc
|
left join jbx_settlement_carryforward jsc
|
||||||
on jvt.id = jsc.voucher_template_id and jsc.deleted = 'n'
|
on jvt.id = jsc.voucher_template_id and jsc.deleted = 'n'
|
||||||
|
<if test="dto.yearPeriod != null ">
|
||||||
|
and jsc.year_period = #{dto.yearPeriod}
|
||||||
|
</if>
|
||||||
where jvt.deleted = 'n'
|
where jvt.deleted = 'n'
|
||||||
<if test="dto.relatedId != null and dto.relatedId != ''">
|
<if test="dto.relatedId != null and dto.relatedId != ''">
|
||||||
and jvt.related_Id = #{dto.relatedId}
|
and jvt.related_Id = #{dto.relatedId}
|
||||||
|
|||||||
Reference in New Issue
Block a user