|
@@ -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);
|