Commit e27cee88 by huluobin

update

parent 2cf3038d
...@@ -248,13 +248,13 @@ public class CostDomain implements Serializable { ...@@ -248,13 +248,13 @@ public class CostDomain implements Serializable {
/*字典翻译*/ /*字典翻译*/
costDto.setCostStatusDto(statusMapper.getStatusValue("cost_status", this.getCostStatus())); costDto.setCostStatusDto(statusMapper.getStatusValue("cost_status", this.getCostStatus()));
if (null != this.getIsLend() && !"null".equals(this.getIsLend())) { if (null != this.getIsLend())){
costDto.setIsLendDto(statusMapper.getStatusValue("is_lend", this.getIsLend())); costDto.setIsLendDto(statusMapper.getStatusValue("is_lend", this.getIsLend()));
} }
if (null != this.getCostForm() && !"null".equals(this.getCostForm())) { if (null != this.getCostForm())){
costDto.setCostFormDto(statusMapper.getStatusValue("cost_form", this.getCostForm())); costDto.setCostFormDto(statusMapper.getStatusValue("cost_form", this.getCostForm()));
} }
if (null != this.getLendStatus() && !"null".equals(this.getLendStatus())) { if (null != this.getLendStatus())){
costDto.setLendStatusDto(statusMapper.getStatusValue("lend_status", this.getLendStatus())); costDto.setLendStatusDto(statusMapper.getStatusValue("lend_status", this.getLendStatus()));
} }
// 获取文件名 // 获取文件名
......
Markdown is supported
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