1.修改空字符串问题。

This commit is contained in:
zhangbb 2019-09-26 17:46:12 +08:00
parent 93275ef890
commit 9df8cb526b

View File

@ -848,7 +848,7 @@ public class CollectAuditInfoCache {
BizObject bolrp = bc.createQuery("O.id=:id").setParameter("id", bo.getAttribute("id").toString()).getSingleResult(false);
String collectStatus = "未收款";
String collectStatusPart = "部分收款";
if(bolrp.getAttribute("COLLECT_STATUS")!=null&&!("".equals(bolrp.getAttribute("COLLECT_STATUS").toString()))){
if(bolrp.getAttribute("COLLECT_STATUS")!=null||!("".equals(bolrp.getAttribute("COLLECT_STATUS").toString()))){
collectStatus = bolrp.getAttribute("COLLECT_STATUS").toString();
collectStatusPart = bolrp.getAttribute("COLLECT_STATUS").toString();
}