日期判空
This commit is contained in:
parent
1a806cd574
commit
9043bf6ce1
|
|
@ -1272,8 +1272,11 @@ public class FWImpl {
|
|||
}
|
||||
|
||||
BigDecimal qhje = bill.getBigDecimal("tqq9_qhje");
|
||||
String yjdhsj = null;
|
||||
Date tqq9_qhrq = bill.getDate("tqq9_qhrq");
|
||||
String yjdhsj = sdf.format(tqq9_qhrq);
|
||||
if(tqq9_qhrq != null){
|
||||
yjdhsj = sdf.format(tqq9_qhrq);
|
||||
}
|
||||
String cc3gyxlbhyy = bill.getString("tqq9_rccsgyxlbh");
|
||||
String skgys = null;
|
||||
|
||||
|
|
@ -1304,7 +1307,9 @@ public class FWImpl {
|
|||
wlyh = e_bebank.getString("name");
|
||||
}
|
||||
Date e_expaydate = entry.getDate("e_expaydate");
|
||||
qwfkr = sdf.format(e_expaydate);
|
||||
if(e_expaydate != null){
|
||||
qwfkr = sdf.format(e_expaydate);
|
||||
}
|
||||
DynamicObject e_settlementtype = entry.getDynamicObject("e_settlementtype");
|
||||
if(e_settlementtype != null){
|
||||
String number = e_settlementtype.getString("number");
|
||||
|
|
@ -1321,7 +1326,9 @@ public class FWImpl {
|
|||
}
|
||||
}
|
||||
Date e_duedate = entry.getDate("e_duedate");
|
||||
dqr = sdf.format(e_duedate);
|
||||
if(e_duedate !=null){
|
||||
dqr = sdf.format(e_duedate);
|
||||
}
|
||||
|
||||
JSONObject e1 = new JSONObject();
|
||||
e1.put("fieldName", "cgddh");
|
||||
|
|
|
|||
Loading…
Reference in New Issue