给单据详情接口增加时间的判断
This commit is contained in:
@@ -395,7 +395,9 @@ public class AccountHeadService {
|
||||
if(ah.getTotalPrice() != null) {
|
||||
ah.setTotalPrice(ah.getTotalPrice().abs());
|
||||
}
|
||||
ah.setBillTimeStr(getCenternTime(ah.getBillTime()));
|
||||
if(ah.getBillTime() !=null) {
|
||||
ah.setBillTimeStr(getCenternTime(ah.getBillTime()));
|
||||
}
|
||||
resList.add(ah);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user