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