|
|
|
@ -170,19 +170,6 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
|
recordInvoice.setGfTaxNo(gfsbh); |
|
|
|
|
recordInvoice.setGfName(gfmc); |
|
|
|
|
recordInvoice.setCreateDate(new Date().toString()); |
|
|
|
|
// recordInvoice.setGfTaxNo(gfsbh);
|
|
|
|
|
// recordInvoice.setGfName(gfmc);
|
|
|
|
|
recordInvoice.setRzlx("5"); |
|
|
|
|
recordInvoice.setYqsqStatus("1"); |
|
|
|
|
if(current != null) { |
|
|
|
|
recordInvoice.setYqCurrentPeriod(current.getCurrentTaxPeriod()); |
|
|
|
|
}else{ |
|
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyyMM"); |
|
|
|
|
String month = format.format(new Date()); |
|
|
|
|
recordInvoice.setYqCurrentPeriod(month); |
|
|
|
|
} |
|
|
|
|
recordInvoice.setCreateDate(new Date()); |
|
|
|
|
recordInvoice.setYqsqDate(new Date()); |
|
|
|
|
recordInvoice.setSourceSystem("2"); |
|
|
|
|
recordInvoice.setInvoiceStatus("0"); |
|
|
|
|
recordInvoice.setInvoiceType(invoiceType); |
|
|
|
|