曲树通 2 years ago
parent
commit
a5732972bb
  1. 4
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectSatisfactionDetailServiceImpl.java

4
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectSatisfactionDetailServiceImpl.java

@ -365,7 +365,9 @@ public class ProjectSatisfactionDetailServiceImpl extends BaseServiceImpl<Projec
//评价表新增数据
ProjectSatisfactionDetailEntity entity = new ProjectSatisfactionDetailEntity();
entity.setProjectId(projectId);
entity.setComment(("perfect".equals(satisfaction) ? "非常满意" : ("good".equals(satisfaction) ? "基本满意" : ("bad".equals(satisfaction) ? "不满意" : ""))));
// entity.setComment(("perfect".equals(satisfaction) ? "非常满意" : ("good".equals(satisfaction) ? "基本满意" : ("bad".equals(satisfaction) ? "不满意" : ""))));
entity.setComment(("5".equals(satisfaction) ? "非常满意" : ("0".equals(satisfaction) ? "不满意" : "基本满意" )));
entity.setSatisfaction(satisfaction);
entity.setCustomerId(customerId);
baseDao.insert(entity);

Loading…
Cancel
Save