Commit 4a6a32db authored by 季圣华's avatar 季圣华
Browse files

给单据详情接口增加时间的判断

parent 234f58bf
...@@ -395,7 +395,9 @@ public class AccountHeadService { ...@@ -395,7 +395,9 @@ public class AccountHeadService {
if(ah.getTotalPrice() != null) { if(ah.getTotalPrice() != null) {
ah.setTotalPrice(ah.getTotalPrice().abs()); ah.setTotalPrice(ah.getTotalPrice().abs());
} }
if(ah.getBillTime() !=null) {
ah.setBillTimeStr(getCenternTime(ah.getBillTime())); ah.setBillTimeStr(getCenternTime(ah.getBillTime()));
}
resList.add(ah); resList.add(ah);
} }
} }
......
...@@ -811,7 +811,9 @@ public class DepotHeadService { ...@@ -811,7 +811,9 @@ public class DepotHeadService {
if(StringUtil.isNotEmpty(dh.getSalesMan())) { if(StringUtil.isNotEmpty(dh.getSalesMan())) {
dh.setSalesManStr(personService.getPersonByMapAndIds(personMap,dh.getSalesMan())); dh.setSalesManStr(personService.getPersonByMapAndIds(personMap,dh.getSalesMan()));
} }
if(dh.getOperTime() != null) {
dh.setOperTimeStr(getCenternTime(dh.getOperTime())); dh.setOperTimeStr(getCenternTime(dh.getOperTime()));
}
//商品信息简述 //商品信息简述
if(materialsListMap!=null) { if(materialsListMap!=null) {
dh.setMaterialsList(materialsListMap.get(dh.getId())); dh.setMaterialsList(materialsListMap.get(dh.getId()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment