BUG优化

dev
xiepeng 2024-04-11 18:57:14 +08:00
parent bce5400d80
commit da3bde1492
1 changed files with 7 additions and 0 deletions

View File

@ -104,6 +104,10 @@ public class TrafficSecurityWaybillRegistrationController extends BaseController
pd.put("CREATETIME", DateUtil.date2Str(new Date())); // 添加时间
pd.put("ISDELETE", "0");
if("".equals(pd.getString("TRUCKCART")) || "undefinedpd".equals(pd.getString("TRUCKCART")) || StringUtils.isEmpty(pd.getString("TRUCKCART"))) {
pd.put("TRUCKCART","");
}
Date shippingDate = DateUtil.fomatDate(pd.getString("SHIPPINGDATE"));
if (shippingDate != null && shippingDate.after(new Date())) {
pd.put("WAYBILLSTATUS", "1");
@ -177,6 +181,9 @@ public class TrafficSecurityWaybillRegistrationController extends BaseController
PageData pd = new PageData();
pd = this.getPageData();
pd = trafficSecurityWaybillRegistrationService.findById(pd);//根据ID读
if("".equals(pd.getString("TRUCKCART")) || "undefined".equals(pd.getString("TRUCKCART")) || StringUtils.isEmpty(pd.getString("TRUCKCART"))) {
pd.put("TRUCKCART","");
}
String[] dispatchers = pd.getString("DISPATCHER").split(",");
List<PageData> names = new ArrayList<>();
for (String dispatcher : dispatchers) {