1.优化电子回单接口

--s
This commit is contained in:
weiyunlong 2025-03-18 09:47:44 +08:00
parent 9041161f5d
commit 550a30eddd
2 changed files with 7 additions and 7 deletions

View File

@ -67,9 +67,9 @@ public class PayreceiptQueryControler {
return handleErrorAndReturn("同步失败,费控单据编号:" + fkBillNumber + "的组织编码不存在", fkBillNumber, jsonBodyString);
}
if (kdPayBillID == null || kdPayBillID.isEmpty()) {
return handleErrorAndReturn("同步失败, kdPayBillID 为空或未设置", fkBillNumber, jsonBodyString);
}
// if (kdPayBillID == null || kdPayBillID.isEmpty()) {
// return handleErrorAndReturn("同步失败, kdPayBillID 为空或未设置", fkBillNumber, jsonBodyString);
// }
QFilter q1 = null;
try {
Long kdPayBillIDLong = Long.valueOf(kdPayBillID);

View File

@ -17,13 +17,13 @@ public class PayreceiptQueryModel {
public static class EntryBean implements Serializable {
@ApiParam(value = "公司编号", required = true, position = 1)
private String companyNum;
@ApiParam(value = "金蝶付款单ID", required = true, position = 2)
@ApiParam(value = "金蝶付款单ID", required = false, position = 2)
private String kdPayBillID;
@ApiParam(value = "费控单据主表ID", required = true, position = 3)
@ApiParam(value = "费控单据主表ID", required = false, position = 3)
private String fkBillID;
@ApiParam(value = "费控单据分录ID", required = true, position = 4)
@ApiParam(value = "费控单据分录ID", required = false, position = 4)
private String fkEntryID;
@ApiParam(value = "费控单据编号", required = true, position = 5)
@ApiParam(value = "费控单据编号", required = false, position = 5)
private String fkBillNumber;
public String getCompanyNum() {