|
|
@ -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); |
|
|
|