页面细节优化

This commit is contained in:
季圣华
2020-04-08 22:05:54 +08:00
parent b3a8282ded
commit 20ec1a0121
7 changed files with 51 additions and 58 deletions

View File

@@ -35,6 +35,8 @@ public class AccountHeadVo4ListEx {
private String accountname;
private String billTimeStr;
public Long getId() {
return id;
}
@@ -154,4 +156,12 @@ public class AccountHeadVo4ListEx {
public void setAccountname(String accountname) {
this.accountname = accountname;
}
public String getBillTimeStr() {
return billTimeStr;
}
public void setBillTimeStr(String billTimeStr) {
this.billTimeStr = billTimeStr;
}
}

View File

@@ -27,6 +27,8 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import static com.jsh.erp.utils.Tools.getCenternTime;
@Service
public class AccountHeadService {
private Logger logger = LoggerFactory.getLogger(AccountHeadService.class);
@@ -80,6 +82,7 @@ public class AccountHeadService {
if(ah.getTotalprice() != null) {
ah.setTotalprice(ah.getTotalprice().abs());
}
ah.setBillTimeStr(getCenternTime(ah.getBilltime()));
resList.add(ah);
}
}