Commit b17265b6 authored by neo's avatar neo

[dev] add balance import for children balance impl

parent 83f6950b
package pwc.taxtech.atms.dto.vatdto;
import java.math.BigDecimal;
public class BalanceAccountDto {
public String BalanceId ;
public Integer PeriodId ;
public String AcctCode ;
public String CustomerCode ;
public BigDecimal BegDebitBal ;
public BigDecimal BegCreditBal ;
public BigDecimal BegBal ;
public BigDecimal EndBal ;
public BigDecimal EndDebitBal ;
public BigDecimal EndCreditBal ;
public BigDecimal DebitBal ;
public BigDecimal CreditBal ;
public Integer MonthId ;
public String ParentCode ;
public Integer AcctLevel ;
public String StdCode ;
public String AccountName ;
public Integer Direction ;
public Integer IsDummy ;
public String getAcctCode() {
return AcctCode;
}
public Integer getAcctLevel() {
return AcctLevel;
}
}
...@@ -23,4 +23,8 @@ public interface DataImportServiceMapper extends MyVatMapper { ...@@ -23,4 +23,8 @@ public interface DataImportServiceMapper extends MyVatMapper {
" AND v.AcctCode = e.AcctCode " + " AND v.AcctCode = e.AcctCode " +
"GROUP BY AcctCode") "GROUP BY AcctCode")
public List<DataImportServiceImpl.ImportBalanceCount> resultBalance(@Param("period") int period, @Param("code") int code); public List<DataImportServiceImpl.ImportBalanceCount> resultBalance(@Param("period") int period, @Param("code") int code);
@Select(" select max(PeriodId) from balance")
Integer maxBalancePeriod();
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment