diff --git a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherMonthSettlement.java b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherMonthSettlement.java index fa7117e69..309581605 100644 --- a/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherMonthSettlement.java +++ b/src_core/com/tenwa/voucher/CreateVoucherProcess/CreateVoucherMonthSettlement.java @@ -53,14 +53,14 @@ public class CreateVoucherMonthSettlement{ if("PZ2018072100000055".equals(voucherNo)){ sql="SELECT LRP.INTEREST-ROUND(LRP.INTEREST/1.06,2) AS MONEY," - + "DATE_FORMAT(SYSDATE(),'%Y/%M/%D') AS ACCOUNT_DATE,DATE_FORMAT" - + "(SYSDATE(),'%Y/%M/%D') AS FACT_DATE,LCI.ID,LCI.CONTRACT_NUMBER," + + "DATE_FORMAT(SYSDATE(),'%Y/%m/%d') AS ACCOUNT_DATE,DATE_FORMAT" + + "(SYSDATE(),'%Y/%m/%d') AS FACT_DATE,LCI.ID as CONTRACT_ID,LCI.CONTRACT_NUMBER," + "LCI.PROJECT_NAME,LCI.LEAS_FORM,LCI.DISTRIBUTOR_ID," + "DI.DISTRIBUTOR_NAME FROM LC_RENT_PLAN LRP INNER JOIN " + "LB_CONTRACT_INFO LCI ON LCI.ID=LRP.CONTRACT_ID INNER JOIN " + "DISTRIBUTOR_INFO DI ON DI.DISTRIBUTOR_NO=LCI.DISTRIBUTOR_ID " - + "WHERE DATE_FORMAT(SYSDATE(),'%Y/%M/%D')=DATE_FORMAT" - + "(STR_TO_DATE(LRP.PLAN_DATE,'%Y/%M/%D'),'%Y/%M/%D')"; + + "WHERE DATE_FORMAT(SYSDATE(),'%Y/%m/%d')=DATE_FORMAT" + + "(STR_TO_DATE(LRP.PLAN_DATE,'%Y/%m/%d'),'%Y/%m/%d')"; } List> dataList=DataOperatorUtil.getDataBySql(Sqlca, sql, map);