fix:报关对比
This commit is contained in:
parent
ab5a444a81
commit
fe1ea9a957
@ -47,7 +47,7 @@ public class DeclaredocxComparisonOp extends AbstractOperationServicePlugIn {
|
||||
@Override
|
||||
public void endOperationTransaction(EndOperationTransactionArgs e) {
|
||||
super.endOperationTransaction(e);
|
||||
QFilter filter = new QFilter("yem_billno", QCP.not_equals, "");
|
||||
QFilter filter = new QFilter("yem_entryid", QCP.equals, "431020240000222756");
|
||||
String selectfield = DynamicObjectUtil.getSelectfields("yem_ca_cusdec", false);
|
||||
String selectfields = DynamicObjectUtil.getEntrySelectfields(selectfield, "yem_ca_cusdec", "yem_ca_cddetailedentry", false);
|
||||
DynamicObject[] bos_user = BusinessDataServiceHelper.load("yem_ca_cusdec", selectfields
|
||||
@ -103,6 +103,8 @@ public class DeclaredocxComparisonOp extends AbstractOperationServicePlugIn {
|
||||
if (null != declaredocx) {
|
||||
//申报状态
|
||||
String yemDeclarationstatus = declaredocx.getString("yem_declarationstatus");
|
||||
Date yemFiedatets = user.getDate("yem_fiedatets");//出口日期
|
||||
|
||||
//单一窗口报关单id
|
||||
Long yemCustomsdocumentid = declaredocx.getLong("yem_customsdocumentid");
|
||||
if (!"结关".equals(yemDeclarationstatus)) {
|
||||
@ -115,7 +117,10 @@ public class DeclaredocxComparisonOp extends AbstractOperationServicePlugIn {
|
||||
if (dynamicObject != null) {
|
||||
yemCusdecstatusname = dynamicObject.getString("yem_cusdecstatusname");//申报状态
|
||||
declaredocx.set("yem_declarationstatus", yemCusdecstatusname);
|
||||
|
||||
declaredocx.set("yem_declarationstatus", yemCusdecstatusname);
|
||||
declaredocx.set("yem_customsnumber", yemEntryid);
|
||||
declaredocx.set("yem_exportdate", yemFiedatets);
|
||||
declaredocx.set("yem_customsdocumentid", id);
|
||||
} else {
|
||||
declaredocx.set("yem_customsdocumentid", 0);
|
||||
}
|
||||
@ -166,7 +171,6 @@ public class DeclaredocxComparisonOp extends AbstractOperationServicePlugIn {
|
||||
extracted(data, "出口报关报关单号【" + declaredocxbillno + "】,第" + seq + "行未匹配到单一窗口报关单;\n", id, declaredocxbillno, yemBillno);
|
||||
} else {
|
||||
String yemCusdecstatusname = user.getString("yem_cusdecstatusname");//申报状态
|
||||
Date yemFiedatets = user.getDate("yem_fiedatets");//出口日期
|
||||
extracted(data, "出口报关报关单号【" + declaredocxbillno + "】成功匹配单一窗口报关单;\n", id, declaredocxbillno, yemBillno);
|
||||
declaredocx.set("yem_declarationstatus", yemCusdecstatusname);
|
||||
declaredocx.set("yem_customsnumber", yemEntryid);
|
||||
|
Loading…
Reference in New Issue
Block a user