Browse Source

#预览”√“字符修改

zhongwei
yang_shj 3 weeks ago
parent
commit
57c52cc280
  1. 8
      hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/accessTicket/service/impl/AccessTicketServiceImpl.java

8
hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/accessTicket/service/impl/AccessTicketServiceImpl.java

@ -361,12 +361,12 @@ public class AccessTicketServiceImpl extends ServiceImpl<AccessTicketMapper, Acc
for (Dict dict : dicts){
if(StringUtils.isNotEmpty(access.getDangerous())){
if(access.getDangerous().contains(dict.getDictKey())){
dangerous.append(" √").append(dict.getDictValue());
dangerous.append(" []").append(dict.getDictValue());
}else{
dangerous.append(" ").append(dict.getDictValue());
dangerous.append(" []").append(dict.getDictValue());
}
}else{
dangerous.append(" ").append(dict.getDictValue());
dangerous.append(" []").append(dict.getDictValue());
}
}
params.setDangerous(dangerous.toString());
@ -391,6 +391,8 @@ public class AccessTicketServiceImpl extends ServiceImpl<AccessTicketMapper, Acc
params.setStudyMembers(meberNames.toString());
}
// 检修工作票创建时间
Calendar create = Calendar.getInstance();
create.setTime(access.getCreateTime());
params.setCreate(DateUtil.format(access.getCreateTime(),DateUtil.PATTERN_DATETIME));

Loading…
Cancel
Save