|
@@ -232,7 +232,9 @@ public class tinvoicebill extends PaoCust {
|
|
|
"inner join saorder t3 on t2.siteid=t3.siteid and t2.saorderid=t3.saorderid \n" +
|
|
"inner join saorder t3 on t2.siteid=t3.siteid and t2.saorderid=t3.saorderid \n" +
|
|
|
"where t1.tinvoicebillid='" + getUniqueIDValue() + "' \n" +
|
|
"where t1.tinvoicebillid='" + getUniqueIDValue() + "' \n" +
|
|
|
")t for xml path('')),1,1,''))");
|
|
")t for xml path('')),1,1,''))");
|
|
|
- orderObject.put("remark", rows.isEmpty() ? "" : rows.get(0).getString("fsonum"));//冲红时,在备注中注明“对应正数发票代码:XXXXXXXXX号码:YYYYYYYY”文案,其中“X”为发票代码,“Y”为发票号码,可以不填,接口会自动添加该文案;机动车发票蓝票时备注只能为空
|
|
|
|
|
|
|
+ String fnotes = getString("fnotes");
|
|
|
|
|
+ String fsonum = rows.get(0).getString("fsonum");
|
|
|
|
|
+ orderObject.put("remark", rows.isEmpty() ? fnotes : (fnotes.equals("") ? fsonum : (fnotes + ";" + fsonum)));//冲红时,在备注中注明“对应正数发票代码:XXXXXXXXX号码:YYYYYYYY”文案,其中“X”为发票代码,“Y”为发票号码,可以不填,接口会自动添加该文案;机动车发票蓝票时备注只能为空
|
|
|
|
|
|
|
|
orderObject.put("checker", tinvoiceapply.getString("finvoicechecker"));//复核人
|
|
orderObject.put("checker", tinvoiceapply.getString("finvoicechecker"));//复核人
|
|
|
orderObject.put("payee", tinvoiceapply.getString("finvoicepayee"));//收款人
|
|
orderObject.put("payee", tinvoiceapply.getString("finvoicepayee"));//收款人
|