فهرست منبع

申报要素判断

zengtx 1 سال پیش
والد
کامیت
c87123a8b1

+ 6 - 6
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/shippingDetails/controller/SyShippingDetailsController.java

@@ -652,12 +652,12 @@ public class SyShippingDetailsController extends JeecgController<SyShippingDetai
 				  return result;
 			  }
 			  for(SyShippingDetailsVo li:pageList.getRecords()){
-//				  if(oConvertUtils.isEmpty(li.getElementsId())){
-//					  result.setSuccess(false);
-//					  result.setMessage("报关要素未维护,不允许导出!");
-//					  return result;
-//
-//				  }
+				  if(oConvertUtils.isEmpty(li.getElementsId())){
+					  result.setSuccess(false);
+					  result.setMessage("报关要素未维护,不允许导出!");
+					  return result;
+
+				  }
 				  String pre = sf.format(li.getPreDeliveryDate());
 				  //用到货日期代替一下预发货日期
 				  li.setArrivalDate(pre);